Documentation for Axes

Here’s a code example from the documentation:

The other examples suggest that there should be a scales component under options. I.e.:

{
  // ...
  options: {
    scales: {
      yAxes: [{
        ticks: {
          min: 0,
          max: 100,
          stepSize: 20
        }
      }]
    }
  }
}
1 Like

Thanks for catching! The yAxes object should indeed be inside scales. The documentation has been corrected.

1 Like