Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update value without moving guage #396

Open
gb160 opened this issue Nov 29, 2023 · 1 comment
Open

Update value without moving guage #396

gb160 opened this issue Nov 29, 2023 · 1 comment

Comments

@gb160
Copy link

gb160 commented Nov 29, 2023

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.

@robertsLando
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants