Fsnotes: Pie charts not rendering in preview, mermaidjs extension

Created on 5 Nov 2019  Â·  7Comments  Â·  Source: glushchenko/fsnotes

Describe the bug
MermaidJS - PieChart not rendering

To Reproduce
Steps to reproduce the behavior:

  1. Use Sample Code from mermaidjs website
    `
pie
    "DataKey1" : Positive numeric value (upto two decimal places)
    "Calcium" : 42.96
    "Potassium" : 50.05
    "Magnesium" : 10.01
    "Iron" :  5

`

Expected behavior
A rendered Chart

Actual behavior
stays blank
Workaround
none

Desktop (please complete the following information):

  • OS: macOS catalina
  • OS version: 10.15.a
  • FSNotes version: 4.0.3 (334)

Additional context
could not figure out if its an fsnotes issue or mermaid problem; checked all issues so far on github, nothing found

bug done

Most helpful comment

Thank you. Verified and chart renders properly as expected.

All 7 comments

So, at first you should use syntax:

pie title Positive numeric value (upto two decimal places)
    "Calcium" : 42.96
    "Potassium" : 50.05
    "Magnesium" : 10.01
    "Iron" :  5

At second – upgrade to FSNotes 4.0.10

Thank you. Verified and chart renders properly as expected.

@glushchenko is the brew cask behind a build? Just upgraded and got v4.0.9.

image

@stephencweiss brew receipt updated by community, some time needed.

Got it! Thanks! Is there anything I can do to help with that?

Cheers!

Stephen Weiss | 651.233.6827

On Dec 3, 2019, at 12:08 PM, glushchenko notifications@github.com wrote:

@stephencweiss https://github.com/stephencweiss brew receipt updated by community, some time needed.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/glushchenko/fsnotes/issues/732?email_source=notifications&email_token=AJQH7B53CZTON22U6AWV33DQW2OBFA5CNFSM4JJDPVLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF2JH5Q#issuecomment-561288182, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJQH7B5HGWT25VU4N2PSVJ3QW2OBFANCNFSM4JJDPVLA.

Was this page helpful?
0 / 5 - 0 ratings