You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying achieve smooth needle behavior with animated radial gauge seem to be impossible at least on Firefox 96.0.3 (64-bit). If the gauge value is changed a few times before the previous animation has completed, the needle occasionally "jumps" back to some of the previous values. It looks like that a new animation is started using some old value as the starting value, not the current needle position.
The only workaround I have found out so far is to adjust animationDuration all the time so that previous animation is completed before the next value will be set. However, sometimes it is difficult to estimate when the next value will be assigned, so one has to use very quick animations so that possibility of the next value update before the animation is complete is small.
Keeping animation duration shorter than the value update interval also forces the needle to stop before every update, breaking the smoothness of slowly increasing/decreasing value. I would like to use animation duration slightly longer than the value update interval to keep the needle in motion all the time but that is just not possible with 2.1.7.
The text was updated successfully, but these errors were encountered:
Trying achieve smooth needle behavior with animated radial gauge seem to be impossible at least on Firefox 96.0.3 (64-bit). If the gauge value is changed a few times before the previous animation has completed, the needle occasionally "jumps" back to some of the previous values. It looks like that a new animation is started using some old value as the starting value, not the current needle position.
The only workaround I have found out so far is to adjust animationDuration all the time so that previous animation is completed before the next value will be set. However, sometimes it is difficult to estimate when the next value will be assigned, so one has to use very quick animations so that possibility of the next value update before the animation is complete is small.
Keeping animation duration shorter than the value update interval also forces the needle to stop before every update, breaking the smoothness of slowly increasing/decreasing value. I would like to use animation duration slightly longer than the value update interval to keep the needle in motion all the time but that is just not possible with 2.1.7.
The text was updated successfully, but these errors were encountered: