Chartjs-How to distribute the y-ticks proportionally in Chart.js in Flask app?

1👍

You defined ticks.min on the x-axis instead to do it on the y-axis.

Instead of doing this…

xAxes: [{
  ticks: {
    min : 0,
    autoSkip: false
  }
}]

try this:

yAxes: [{
  ticks: {
    min : 0,
    stepSize: 10
  }
}]

Leave a comment