Beginner's question: different colors in a dashboard chart widget.
Just for (self-)educational purposes, I tied two dashboard slider widgets to one chart widget.
This works fine (even though it has no practical value: I realize that).
The reason I did this was to test the chart's ability to (according to its help info) display two different color lines, based on different received topics. (I actually had this working (two different colors in one chart) with two MQTT widgets tied to one chart, so I know the chart can handle it.).
For some reason, I can't get the 'two color' thing to work with two sliders each with a different topic: the problem I see is that while a slider has a 'Topic' field, it never seems to send a topic in its msg object (according to a debug widget): only payload, socketid, and _msgid.
I tried, in the Topic field the following: msg.series1, msg.topic.series1, and msg.topic=series1, but it never sends a msg.topic member.
And now I DO indeed get two colors ... but now the chart behaves weird, in fact I sometimes see a third color (orange)! I may have to play with the chart settings a bit. After all the debug messages look like what I think they should be!
Update: Actually, it now works fine! The weird behavior (and 3rd color) were an artifact of the chart retaining 'old' data. So the above (inserting a 'change' widget) does what I was looking for!