-
Initialize Chart throw an error. Error: Change chartjs version to below v3 and it works. |
Beta Was this translation helpful? Give feedback.
Answered by
kurkle
May 21, 2021
Replies: 1 comment
-
Because of treeshaking support, the exports have changed. See the documentation on how to integrate: And your sandbox working with v3: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kurkle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because of treeshaking support, the exports have changed.
See the documentation on how to integrate:
https://www.chartjs.org/docs/latest/getting-started/integration.html#bundlers-webpack-rollup-etc
And your sandbox working with v3:
https://codesandbox.io/s/delicate-brook-mtnne?file=/src/MixedChart.js