0👍
✅
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'
}
}
}
}
Source:stackexchange.com