[Chartjs]-Options beginAtZero doesn't work in angular-chart.js

2👍

Try this:

$scope.options = {
  scales: {
    yAxes: [{
      ticks: {
        beginAtZero: true
      }
    }]
  }
};

2👍

If you aren’t using a horizontal Bar, the answer of Hongliang should work.

Otherwise just change “yAxes” to “xAxes”, like this:

$scope.options = {
        scales: {
            xAxes: [{
                ticks: {
                    beginAtZero: true
                }
            }]
        }
    }

Leave a comment