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

Plugin doesn't work with Chart.js 3.x.x #25

Closed
esttenorio opened this issue Mar 10, 2021 · 1 comment · Fixed by #26
Closed

Plugin doesn't work with Chart.js 3.x.x #25

esttenorio opened this issue Mar 10, 2021 · 1 comment · Fixed by #26

Comments

@esttenorio
Copy link

Please add support for Chartjs 3.x.x or at least mention it in the README since it only says "This plugin requires Chart.js 2.5.0 or later."

Chart.js changed from Chart.defaults.global to Chart.defaults in the new version.

image
image

https://www.chartjs.org/docs/master/getting-started/v3-migration/#defaults

@MartijnVerkleij
Copy link
Contributor

Hi there, I implemented some changes in #26 that may help you in the meantime.

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

Successfully merging a pull request may close this issue.

2 participants