bernii / gauge.js

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

update value after control is rendered #266

Open ur3an0 opened 1 year ago

ur3an0 commented 1 year ago

Hello, first of all, thanks to the creators of this excellent gauge control, it is tremendously powerful and versatile.

my problem;

Does anyone know how to update the gauge value without having to recreate it?

thank you!

image

IAmOrion commented 11 months ago

Just call

gauge.set(your_value);

again from your code when you want to update it