score:1

Accepted answer

First of all don't use an array for your X scales, all the scales need to be defined as objects. Second you are placing the options in the wrong part, it has to be configured in the title namespace like so:

scales: {
  y: {
    title: {
      display: true,
      text: 'yTitle'
    }
  },
 x: {
    title: {
      display: true,
      text: 'xTitle'
    }
  }
}

Related Query

More Query from same tag