bernii / gauge.js

100% native and cool looking JavaScript gauge
MIT License
1.42k stars 391 forks source link

Updates the min or max value when set(value) is out of bounds #36

Open davinov opened 11 years ago

davinov commented 11 years ago

When the value given in "set" method is out of bounds, I encountered an error : image

I added just a few lines to update the minValue and the maxValue when it's needed.

beniwtv commented 10 years ago

+1 we are also facing this issue when using minvalue. Would be cool if this would be merged :)