joplin-plugin-enhancement icon indicating copy to clipboard operation
joplin-plugin-enhancement copied to clipboard

Add support for XY Chart (Mermaid)

Open Pyroseza opened this issue 5 months ago • 1 comments

Add support for XY Chart (Mermaid)

See https://mermaid.js.org/syntax/xyChart.html

Available since 10.6.0

Example from docs

xychart-beta
    title "Sales Revenue"
    x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec]
    y-axis "Revenue (in $)" 4000 --> 11000
    bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
    line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]

image

Current error as seen in Joplin image

Pyroseza avatar Jan 26 '24 13:01 Pyroseza