node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

ui-chart: additional lines rendered in gray when adding more than 9 series

Open aikitori opened this issue 1 year ago • 4 comments

Hi!

When adding more than 9 series to the chart, the additional lines are displayed in gray.

Is it possible to randomize/brighten/darken the colors, depending on the given color palett?

Anyways, thanks for the new Dashboard. I realy like it, starting to learn some vue for it :)

grafik

aikitori avatar Mar 01 '24 08:03 aikitori

Original Dashboard loops back to the original colours iirc, given we allow for control over the line colours in the Editor, I'm not sure how best to resolve this otherwise. I can introduce randomisation, but then, the user never has control over them? Maybe changes to the colour series editor are required to "add" more beyond the fixed 10 defined?

joepavitt avatar Mar 06 '24 20:03 joepavitt

Is there any known work-arounds?

cdunkel1218 avatar Sep 05 '24 21:09 cdunkel1218

I could have sworn @gayanSandamal put a fix in for this?

Update: yes, he did - https://github.com/FlowFuse/node-red-dashboard/pull/1220

Which version are you running @cdunkel1218? You may need to update

joepavitt avatar Sep 06 '24 07:09 joepavitt

I could have sworn @gayanSandamal put a fix in for this?

Update: yes, he did - #1220

Which version are you running @cdunkel1218? You may need to update

Yes, this fix https://github.com/FlowFuse/node-red-dashboard/pull/1220 should fix the above reported issue. @cdunkel1218 please let us know if it's still there in the latest version

gayanSandamal avatar Sep 06 '24 10:09 gayanSandamal