I need help to create a chart automatically.

"I have a project where I need to create a chart automatically, but with different groups and labels. I don't want to configure the chart every time I create a new one, so I want it to generate the groups and labels automatically based on the topic."

Hi Julio, Please tell us the full name and version of the dashboard nodes you are using.

hi Steve my full-name is julio cesar and i using node-red-dashboard v/3.6.5

Welcome to the forum Julio.

I don't think Steve meant what is your full name (?)

If you are new to Node-red, you might be better advised to use the new dashboard @flowfuse/node-red-dashboard rather than node-red-dashboard. The original node-red-dashboard will no longer get enhancements or fixes.

Can you give a couple of examples of the sort of data you are handling, and the charts you want to display from it?

Do you want your dashboard to automatically show one more chart when a different dataset arrives, or is it one chart, not always showing the same data?


In the same MQTT protocol, the same data arrives but from different machines. Because of this, I need to use a switch to determine which machine the data is coming from before building the chart. I wanted to know if there is a way to handle this without using a switch and keeping everything in the same node.
The problem is that every time we add a new machine, we have to register it in the switch and create a new group.

I can't tell what your incoming data looks like, the kind of chart you want to display, what property of the message the switch works on or the kind of widgets in the two long columns on the right of your tiny screen capture.

Given the lack of information, all I can say is that you might find it easier with Dashboard 2 & a function node may be more appropriate than the switch node.