Hi all,
I’m using the Node-RED Dashboard 2.0 chart node and I noticed that in the GUI I can manually pick colors for up to 9 series. For series 10 and above, the colors seem to be assigned automatically and I don’t see a way to control them.
Is there any method to dynamically assign colors to series beyond the first 9? For example, can I copy colors from the first series or set a custom color for each series via a function node or msg.options
?
I’d appreciate any suggestions or workarounds.
Thanks in advance!
data from chart:
[
{ type: "Time not sheduled", kolejnosc: 2, time: 0x5 },
{ type: "Total operations time", kolejnosc: 3, time: 23 },
{ type: "Planned downtime loses", kolejnosc: 4, time: 0 },
{ type: "RunTime", kolejnosc: 5, time: 22 },
{ type: "Downtime loses", kolejnosc: 6, time: 4 },
{ type: "Operating time", kolejnosc: 7, time: 18 },
{ type: "Speed loss", kolejnosc: 8, time: 0 },
{ type: "Net Operating Time", kolejnosc: 9, time: 18 },
{ type: "Quality loss", kolejnosc: 11, time: 0 },
{ type: "Valuable time", kolejnosc: 12, time: 18 }
]