Ui-template -> using V1 state timeline

Hi,
I run into trouble using DashboardV2 ui template.
I used the V1 before, and using this example made a nice looking graph.
But i can't get it to work on V2.

Event Timeline Dashboard Graph (flow) - Node-RED (nodered.org)

It looks like i can't set script in header anymore...
Template ui-template | Node-RED Dashboard 2.0 (flowfuse.com)

any idea ?

Thanks !

In dashboard 2 you can use mermaid in markdown nodes, which includes gantt charts.

For example, use a markdown node with the following content:

```mermaid
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1, 20d
    section Another
    Task in sec      :2014-01-12, 12d
    another task      : 24d

it produces


dashboard markdown documentation
mermaid documentation

The content can be provided dynamically.

4 Likes

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