Chartjs-Why my ng2-chart data isn't scaled properly?

0๐Ÿ‘

โœ…

I found the answer!

The issue was that I was using a function to compute the data set for ng-charts. When I did put a console.log, I realized that this function get called a lot, so basically the chart was getting new data set in a loop, and I guess there is some kind of start animation.

Leave a comment