briangann / grafana-gauge-panel

D3 Based Gauge Panel for Grafana 6.x and Higher
MIT License
57 stars 24 forks source link

Adjusting gauge degrees makes thresholds render incorrectly #109

Open pkkrusty opened 8 months ago

pkkrusty commented 8 months ago

If I keep the default degrees (60 and 300) the thresholds render correctly. If I change to 40 and 320, for example, to use the extra space for more tick area, the threshold colors get messed up.

Screen Shot 2024-03-31 at 21 50 23

becomes...

Screen Shot 2024-03-31 at 21 52 07
briangann commented 8 months ago

will take a look, it should be accounting for the range, likely overlooked in the port to react.

ThamSunc commented 7 months ago

Got Same Issue. I use it for Power Factor (Cos Phi) visualization.

D3 Gauge Thresshold label Even worst