0👍
Chart.js v3 comes with build in typing, the @types/chart.js
are only for v2 so you will need to uninstall it
npm uninstall @types/chart.js
yarn remove @types/chart.js
- Chartjs-How can I get the label onclick event by multiple graphs?
- Chartjs-Chartjs not update using select option in laravel
0👍
Fixed this error by migrating properly from v2 to v3, using this guide https://www.chartjs.org/docs/latest/getting-started/v3-migration.html.
I can’t seem to find exactly where the bug is, but it seems to be related to chartjs-plugin-datalabels
Source:stackexchange.com