score:1

As others have stated, downgrading to chart.js version 2.7.3 fixed this for me. For anyone not super familiar with npm, here's the commands I used to update the package:

npm remove chart.js --save
npm install chart.js@2.7.3 --save

I specifically did this for my ionic 5 project. But it should also work for angular.

score:2

I try out several solutions but could not find them, So I just downgrade the chartjs 3.5.1 to 2.7.3. So it is working fine.


Related Query

More Query from same tag