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

Improve error message with id of the canvas #10495

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

LeeLenaleee
Copy link
Collaborator

@LeeLenaleee LeeLenaleee commented Jul 20, 2022

Noticed on some stack issues people tried to call Chart.getChart('0').destroy() but that does not work since it does not return the chart instance. So added the canvas ID to hopefully make it so people don't get that error anymore.

https://codepen.io/leelenaleee/pen/oNEPGbP

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

Successfully merging this pull request may close these issues.

3 participants