bernii / gauge.js

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

How to modify an existing gauge? #240

Closed ryangriggs closed 3 years ago

ryangriggs commented 3 years ago

Gauge.js is a great library! Thanks for your work!

I am wondering how to modify the properties of an existing gauge, such as the StaticZones? I have a guage where the user can adjust the desired "good" zone. Instead of creating a new gauge each time the good zone is adjusted, can I adjust the StaticZones on the existing gauge? If so, how?

Thank you!

ryangriggs commented 3 years ago

Nevermind, I figured it out.