Chartjs-Set maximum bar height in chart.js

0👍

You try to set the max on the x axis while you need to set it on the y axis. If you do that it works as expected:

options: {
  scales: {
    y: {
      max: 50,
    }
  }
}

Leave a comment