๐:0
Please check your "ChartsModule" Version in the package.json file and check whether it is supporting that or not. It might get updated.
If you wanted to use that code then you might need to downgrade or upgrade your version.
To update the version you can copy and paste the version number to your package.json file and run "npm i" to update it.
- How to grab and plot data from a PostgreSQL database via Chartjs
- Trying to create something from chart.js
๐:0
Try using the same version of chart.js that was used,
Put the below version in the package.json and run npm i , might help
"chart.js": "^2.9.3"