justgage icon indicating copy to clipboard operation
justgage copied to clipboard

Update value without moving guage

Open gb160 opened this issue 1 year ago • 1 comments

Hi apologies if this has been answered , I’ve searched and found nothing.

I update gauges dynamically and frequently and have an example where guage min max is 0-1000 Sometimes the values are only increasing/decreasing by 1 or 2. Ideally in this scenario I’d like to just update the guage value displayed, without moving the guage (without using resources for animation when the difference to the user is not noticeable.

am I worrying about nothing (ie are no resources used to update the guage a tiny amount?) or is this something that can be done ?

My page is displaying a lot of gauges, I’m trying to make it a bit less intensive on the browser.

gb160 avatar Nov 29 '23 21:11 gb160

you should change the refresh animation time before updating the gauge value in order to reducce sources

robertsLando avatar Nov 30 '23 09:11 robertsLando