Replies: 1 comment
-
you have to update chart.js to version 3 or downgrade your other plugins/wrappers https://www.chartjs.org/chartjs-plugin-annotation/guide/#installation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi , im use "react-chartjs-2" and Type Script for create charts
when install "chartjs-plugin-annotation" and import in project i got this error
Failed to compile
./node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js
Module not found: Can't resolve 'chart.js/helpers' in
how can i fix it ?
versions :
"@types/chartjs-plugin-annotation": "^0.5.2",
"chartjs-plugin-annotation": "^1.0.2",
"chartjs-plugin-datalabels": "^1.0.0",
"chartjs-plugin-deferred": "^1.0.2",
"react-chartjs-2": "^2.11.1",
"chart.js": "^2.9.4",
Beta Was this translation helpful? Give feedback.
All reactions