[Chartjs]-Setting up min and max in chartjs did not work

3👍

Your code meets the requirements for Chart.js 2.x but since you’re using Chart.js 3.5.1, scales needs to be changed as follows.

scales: {
  y: {
    min: 0,
    max: 100,
    ticks: {
      stepSize: 20
    }
  }
},

Leave a comment