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

Gauge shows value of longer animated value, after shorter animation #134

Open
mainstreetmark opened this issue May 3, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@mainstreetmark
Copy link

Here's a fiddle for you.

https://jsfiddle.net/m6x9L2mk/4/

I update the Gauge on that screen so it animates up to 15, over the course of 10 seconds.

1 second into the animation, I animate it to 60, over 2 seconds. The needle swings up to 60 in 2 seconds, and jumps to 15.

@mainstreetmark
Copy link
Author

Oh, and I had to add id="canvas-id" to the to make your zero-conf gauge examples work.

@mainstreetmark
Copy link
Author

This seems to be related to my previous bug #94.

@mainstreetmark
Copy link
Author

https://jsfiddle.net/m6x9L2mk/5/

I fixed the behavior by manually deleting gauge._value before setting the new one.

@Mikhus Mikhus self-assigned this Jun 26, 2017
@Mikhus Mikhus added the bug label Jun 26, 2017
@Mikhus Mikhus added this to the 2.1.5 milestone Jun 26, 2017
@Mikhus
Copy link
Owner

Mikhus commented Jun 26, 2017

I need to investigate this first... but have a lack of time for the moment...

@ptorrent
Copy link

ptorrent commented Oct 5, 2018

Thanks @mainstreetmark it solve my problem too.

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

No branches or pull requests

3 participants