Chartjs-ChartJS options.scales is being completely ignored

0๐Ÿ‘

โœ…

As described in the docs the scales are not arrays. All the scales are objects in the scale object.

So you will need to change your code to this:

options: {
  scales: {
    x: {
      // x options
    },
    y: {
      // y options
    },
  }
}

Leave a comment