# Mermaid xychart-beta support in markdown node

**URL:** https://discourse.nodered.org/t/mermaid-xychart-beta-support-in-markdown-node/91298
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [27 September 2024 08:18 UTC](https://discourse.nodered.org/t/mermaid-xychart-beta-support-in-markdown-node/91298 "2024-09-27T08:18:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [27 September 2024 08:18 UTC](https://discourse.nodered.org/t/mermaid-xychart-beta-support-in-markdown-node/91298/1 "2024-09-27T08:18:32Z")

</div>

Is mermaid support inherited from node-red or does dashboard 2 include its own mermaid library ?

mermaid changes quite often and they have added [xychart-beta](https://mermaid.js.org/syntax/xyChart.html), which makes it possible to make line/bar charts easily, would be nice if this feature could be added to dashboard 2 as well, as it is easier (for me at least) to generate charts instead of the dedicated db chart nodes.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [27 September 2024 08:22 UTC](https://discourse.nodered.org/t/mermaid-xychart-beta-support-in-markdown-node/91298/2 "2024-09-27T08:22:50Z")

</div>

> [@bakman2](#):
>
> Is mermaid support inherited from node-red or does dashboard 2 include its own mermaid library

The later (includes its own), currently the semver requested is `^10.4.0` which means any of the 10.x stream. When was this feature added to mermaid?

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [27 September 2024 08:31 UTC](https://discourse.nodered.org/t/mermaid-xychart-beta-support-in-markdown-node/91298/3 "2024-09-27T08:31:37Z")

</div>

Ok ignore me, earlier it failed to render with a default mermaid error. It is working, after restarting node-red.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [11 October 2024 08:32 UTC](https://discourse.nodered.org/t/mermaid-xychart-beta-support-in-markdown-node/91298/4 "2024-10-11T08:32:29Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
