black-mirror-1 / singlestat-math

Panel based on the default single stat panel with added feature to do math across metrics from multiple queries.
MIT License
14 stars 14 forks source link

Missing color in gauge with decimals = 0 #34

Open agsmf opened 5 years ago

agsmf commented 5 years ago

I recognized a bug when creating a panel with gauge. The gauge of the value shows no color, if decimals=0 (Picture 1). If i choose other decimals (e.g. auto or 1) the color is there (Picture 2). The threshold colors are shown in any case.

Picture 1 Gauge Dec 0

Picture 2 Gauge Dec 1