gauge.js icon indicating copy to clipboard operation
gauge.js copied to clipboard

Using percentColors "pops" the color after animation

Open nospam2k opened this issue 5 years ago • 0 comments

adding percentColors : [[0.00, "#00b500" ], [0.65, "#e6e600"], [.70, "#ca3838"]],

When the gauge refreshes and the needle animation reaches the set value, the color "pops" into the gauge rather than gradually changing to the appropriate color. I set gauge.set(70) and gauge.maxValue = 100 and gauge.setMinValue(0). As it reaches 70 it flashes from yellow to red.

nospam2k avatar Mar 16 '19 22:03 nospam2k