Multiple data in Single chart


I have 2 readDP from the controller as below

How should i put this 2 data into single chart?

Can someone teach me and give example?

Thank you

Welcome to the forum.

Show us whet the debug output looks like. If each one has a value in msg.payload then you just need to add a topic value to each and pass them to the chart.

It seems, though, that you are using an unusual install of node red so that may give problems.

If you don't know how to use a Change node to set the topic then I presume you are a complete beginner so I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

yes, im completely a beginner on this. I will try to learn it but at the same time how can i use change to change this 2 input profile?

thank you

What did you try ?
add a change node to each path - and in one configure it to set msg.topic to "A" and the the other to "B" - and then feed both outputs into a chart.

I solve it by using the function to set msg.topic = “‘Temp’ and so on.

Thanks for teaching.

It is more efficient to use a Change node.

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