-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
flickering on mouseover in 2.0 #1381
Comments
This a bug. Not sure what's causing it. I think its because there are elements trying to animate from |
I have a hunch that the issue is related to the way update works. I think the elements don't have a starting value when they are updated in. |
Yeup. That's it I think. On Fri, Aug 28, 2015 at 4:29 PM Evert Timberg notifications@github.com
|
I think this line might be related, but it's only a hunch. It would trigger accidentally if the value is 0. https://github.com/nnnick/Chart.js/blob/v2.0-dev/src/core/core.element.js#L44 |
@bedenko I can't open your fiddle any more for some reason |
Strange.... Well, i made a new copy: |
Thanks! I tested against a new build of Chart.js. A lot of the flicker was fixed and was related to #1384. For some reason the 2nd point still flickers when going from 'day' to 'week'. I'll try and get an answer there soon, |
Excellent! So you will push the commit to v2.0-dev, when you find that last problem? |
I will push the fix when I find it. I have an idea where it is, but I'm not 100% sure. |
Fixed in #1653 |
http://jsbin.com/quduji/edit?html,js,output
When doing .update(), data gets loaded, but sometimes not shown. On mouseover i get flickering, and eventually on mouseout data gets displayed.
This is not happening always, so please try toggling between Day/Week/Month until data does not get shown, and afterwards try the mouse-over.
Is this a bug or PEBCAK?
The text was updated successfully, but these errors were encountered: