-
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
Highlight colors for Line graphs are not saved #953
Comments
Same issue with the Bargraph. As I dont know enough javascript to fix the issue, I'm working around it by adding data with .addData() and remove with .remove() (to get the nice animation), updating my data array with push and shift and redraw everything with animation: false. But it would be nice to get a fix for this as i assume it should be easy |
@d07RiV can you please create a JSBin testcase for this issue? |
http://jsbin.com/xotipotoxo/1/edit Points 1-7 (from docs sample) change their color when moused over, point #8 doesn't. The fix is to add a few lines in initialize and addData functions, but I'm not familiar with how to do pull requests. |
I am having the same problem with the highlight using a Bar Chart. Some news about this issue? |
Huzzah! The first alpha of Chart.js 2.0 has landed and should fix this issue. Check out the release and try it out! We've got a lot of momentum right now, so please help us test so we can launch 2.0 Gold by the end of the month. I'm closing this issue for now, but if you have implementation questions or find bugs, please create a jsfiddle and post the link here and we'll reopen this issue and get it fixed. |
The Line graph does not store highlight fill/stroke colors anywhere and only uses them during initialization. As a result, new points added via addData do not change their color when highlighted.
The text was updated successfully, but these errors were encountered: