Compatibility with Chart.js 3
See original GitHub issueChart.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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:7
Top Results From Across the Web
3.x Migration Guide - Chart.js
3.x Migration Guide ... it was necessary to break backwards compatibility, but we aimed to do so only when ... Chart.js 3 is...
Read more >Chart.js 3 compatibility · Discussion #213 - GitHub
In my repositories, this plugin works fine with beta10 of chart.js but I don't use Vue or bundling. My recommendation at this point...
Read more >chart.js - npm
Simple yet flexible JavaScript charting for designers & developers. Downloads GitHub Workflow Status Coverage Awesome Slack ...
Read more >Introduction - chartjs-plugin-datalabels
js (opens new window) plugin that displays labels on data for any type of charts. COMPATIBILITY NOTE. Requires Chart.js (opens new window) 3.x ......
Read more >Web Viewer - Not display page with Javascript using Chart.js
From the Chart.js docs: "As of version 3, we have dropped Internet Explorer 11 support." So if I force it to use v2.9.4...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi! We have updated the wrapper. Try to use the latest version ^3.0.2 with Chart.js ^3.x.
Now wondering if energies would be better put towards https://github.com/xr0master/chartjs-react