Chartjs-Chart.js Line Chart x-Axes label rounding

0👍

 let options = {
   scales: {
      xAxes: [{
        ticks: {
            max: 5,
            min: 0,
            stepSize: 1
        }
    }]
  }
};

I haven’t tested but it should work as per docs.

Leave a comment