Chartjs-Set Start Value as '0' With Dynamic Data In Chart.js

1👍

Supposing your values are displayed on the y-axis, you can define beginAtZero: true for the yAxis ticks inside the chart options.

options: {
  scales: {
    yAxes: [{
      ticks: {
        beginAtZero: true
      }
    }]
  }
}

Alternatively you may

Leave a comment