score:0

Accepted answer

this is because you are trying to use v2 syntax in v3, in v3 all scales have been changed to objects instead of arrays so you will need to put it like this:

options: {
  scales: {
    x: {
      title: {
        display: true,
        text: 'number of calls'
      }
    }
  }
}

Related Query

More Query from same tag