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

Not compatible with Chart.js v3 #138

Closed
mrothauer opened this issue Apr 8, 2021 · 1 comment
Closed

Not compatible with Chart.js v3 #138

mrothauer opened this issue Apr 8, 2021 · 1 comment

Comments

@mrothauer
Copy link

When I upgrade Chart.js from 2.x to 3.0.2, I get:

Chart.PieceLabel.js:409 Uncaught TypeError: Cannot read property 'register' of undefined
    at Chart.PieceLabel.js:409
    at Chart.PieceLabel.js:418

It seems that the way plugins are registered has changed:
https://www.chartjs.org/docs/3.0.2/developers/plugins.html

@mrothauer
Copy link
Author

Just saw that there is already a PR
#125

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

No branches or pull requests

1 participant