hotNipi / node-red-contrib-ui-artless-gauge

Node-RED dashboard widget, gauge with minimal design
MIT License
15 stars 4 forks source link

Differential Mode Colors #14

Closed Bono1969 closed 4 years ago

Bono1969 commented 4 years ago

Hi, your artless gauge is exactly what i searched for, with one issue. When you use the gauge in differential mode it should be possible to set the color for the max value also.

for me it should work as follows:

from 0 to "lower"seg or "higher"seg it should be green (that works) from "lower" seg to min value it should be red (that Works) from "higher"seg to max value it should be red (not possible)

maybe you can change that. Regards

Bono1969 commented 4 years ago

Update: from 0 to the lower Side it works perfekt. from 0 to the upper Side the colors do not correspond with the settings (also the Seg colors) Gauge Colors Gauge wrong Color

hotNipi commented 4 years ago

It is confusing but not impossible. It takes to think about the segments creation in linear way. From lowest to highest. I'd guess your setup should be like this

image

You don't need to declare segment for 0 unless you need to make dot on that point.

Bono1969 commented 4 years ago

the point with the Sec (0) was a try which didn't work 😊 when i arrange the colors in the way you showed it works PERFECT! Thanks allot 👍

hotNipi commented 4 years ago

Thank you :)