I thought I had it worked out the other day when I posted a question or solution on how to set the colour on a graph if you have multiple data series going to the chart.
The first series gets the first colour, the second series gets the second colour and so on.
The colour being the 9 listed in the lower part of the edit screen of the chart.
Starting top left, going right along that row, like reading a page.
Alas there was a hic-up with my flow and when the data started coming back in the two series of data swapped who was which colour.
Not the end of the game, but a bit annoying.
How can I get it that it there is a reboot/total disruption to data received, that when it restarts, series 1 gets its foot in the door before series 2 so they get the preferred colours?
This is an EXAMPLE of the flow structure:
I didn't include the chart node only to negate the hassle of a dashboard item being "born" for no real reason.
[{"id":"123a0e1d.2b2592","type":"inject","z":"baf80d2f.6bd538","name":"Stream 1","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":240,"y":4490,"wires":[["b549cf5e.c485f"]]},{"id":"2d21d936.26809e","type":"inject","z":"baf80d2f.6bd538","name":"Stream 2","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":240,"y":4570,"wires":[["b549cf5e.c485f"]]},{"id":"b549cf5e.c485f","type":"debug","z":"baf80d2f.6bd538","name":"Chart node","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":470,"y":4530,"wires":[]}]
I want stream 1 to get the first colour and stream 2 to get the second.