0👍
The react wrapper is not compatible with version 3 of chart.js please downgrade to chart.js 2.9.4 (latest V2 release) by changing "chart.js": "^3.0.2",
to "chart.js": "^2.9.4",
in your dependencies block, run npm install again and it will work
- Chartjs-Data not displaying in django admin – using chart.js (no errors)
- Chartjs-Angular4 ng2-charts TypeError: Cannot read property 'length' of undefined
Source:stackexchange.com