Chart.js 3 changes some things, specifically it no longer exports the Chart class as a default export, so react-chartjs-2 fails to start with
Uncaught TypeError: _chart.default is undefined
<anonymous> index.js:643
Migration guide: https://www.chartjs.org/docs/latest/getting-started/v3-migration.html
I fork the repository, and merge #599 3.x Migration.
Try this: @iftek/react-chartjs-3
@yuan9090 will @iftek/react-chartjs-3 be published to npm? I don't see any movement on the 3.0 release project for react-charts-2.
We definitely have lost traction of chartV3. :( Sorry folks, I haven't been keeping up on updates
Now wondering if energies would be better put towards https://github.com/xr0master/chartjs-react
@kenbankspeng Yes, try npm i @iftek/react-chartjs-3
Hi! We have updated the wrapper. Try to use the latest version ^3.0.2 with Chart.js ^3.x.
Most helpful comment
Now wondering if energies would be better put towards https://github.com/xr0master/chartjs-react