ashish-chopra / angular-gauge

A reusable gauge directive for Angular 1.x apps and dashboards
https://ashish-chopra.github.io/angular-gauge/
MIT License
95 stars 36 forks source link

Gauge renders incorrectly when value is updated and min value is high #57

Open omfgicbf opened 6 years ago

omfgicbf commented 6 years ago

If you set a high min value (e.g. min = 40, max = 60, value = 50), the gauge will render correctly initially, however, updating the value causes the gauge to render at 100%, even if the value falls between the min and max values.

This can be reproduced on the playground at https://ashish-chopra.github.io/angular-gauge/

image

sickermanex commented 5 years ago

Did someone review this issue?