Chart.js 3.0 is out now
WARN in ./node_modules/vue-chartjs/es/BaseCharts.js
"export 'default' (imported as 'Chart') was not found in 'chart.js'
And also this in devtools:
TypeError: chart_js__WEBPACK_IMPORTED_MODULE_0__.default is not a constructor
First observed error 馃憤
I encountered the same problem... Is there a way to ignore this problem and show the charts anyway before the new release?
npm install chart.js@2
It fixed it for me
I encountered the same problem... Is there a way to ignore this problem and show the charts anyway before the new release?
Hi, Team.
When do you plan to upgrade to V3?
Thank you for your hard work.
Following the doc now will result in an error because of v3, the doc should change to npm install vue-chartjs chart.js@2 --save
Or v3 support should be added
Following the doc now will result in an error because of v3, the doc should change to
npm install vue-chartjs chart.js@2 --save
Or v3 support should be added
Thanks! you saved my day!
Thank you so much! You make my day :kissing_heart:
@AlexVapniaruk Did that work?
@AlexVapniaruk Did that work?
Yes, downgrade chart.js to v2 will help with Warning and issue with chart display.
Just spent a couple of hours trying to understand why this was happening. Anyone who recently downloaded the package will be hitting this. The workaround of downgrading to v2 worked. Would be good if the documentation on vue-chartjs.org could be updated to reflect this until v3 support lands.
Most helpful comment
npm install chart.js@2
It fixed it for me