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