bernii / gauge.js

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

dynamic updates are now broken #100

Closed ktsaou closed 7 years ago

ktsaou commented 8 years ago

Hi,

thank you for this excellent gauge library. I use it in netdata.

Commit c27b989c290a06f506b563c2bcdbdf9c2e79c1c0 breaks dynamic updates. After this commit, updating the value of the chart during runtime, animates it from the minimum value on every update, like this:

test1

It should be animating from the previous value to the new. To see the difference, just go to a netdata dashboard

For this reason, I use commit d5260c3 in netdata.

VMF214 commented 7 years ago

samething for me

kplindegaard commented 7 years ago

Should be working again now (364a42b7efaad94bc36de9196155e12c69886074). Please check it out. Unfortunately, it appears that I messed up the pointer length scaling while ensuring support for gauge larger than 180 degrees angle. Thus, you may want to adjust your pointer length if you pull the recent updates.

ktsaou commented 7 years ago

v1.3.1 works! thanks!

(ps, I have a new issue with 1.3.1 - I'll open a new issue right away).