Chartjs-Fix ChartJS Values not Well Displayed

0👍

Ok I found a way to do it:

Put the values in an array and get the highest value.

Then if the highest value is 0, set max: 10 in yAxes

If the highest value is greater than 0, then add 10 to the highest value, put it in a variable then pass it to max:

Leave a comment