We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now if I want to update the chart to not show the annotation buttons, it does not do anything. Can this be added?
Example of it not working with button calling chart.update(); http://jsfiddle.net/7ddsadLg/
The text was updated successfully, but these errors were encountered:
Thank you for reporting!
At this moment, chart.update() doesn't change anything in the annotations plugin. Right now you can hide manually each button:
chart.update()
chart.annotations.buttons.forEach(function (button) { button[0].hide(); });
Demo: http://jsfiddle.net/7ddsadLg/1/
Sorry, something went wrong.
Thank you for the quick response. This workaround works. However, if you start the chart with the buttons not enabled, they never show up.
Example: http://jsfiddle.net/7ddsadLg/2/
This is correct, buttons must be rendered so we can hide them. You can use chart.events.load callback to hide them on init.
chart.events.load
No branches or pull requests
Right now if I want to update the chart to not show the annotation buttons, it does not do anything. Can this be added?
Example of it not working with button calling chart.update();
http://jsfiddle.net/7ddsadLg/
The text was updated successfully, but these errors were encountered: