0👍
✅
You try to set the max on the x axis while you need to set it on the y axis. If you do that it works as expected:
options: {
scales: {
y: {
max: 50,
}
}
}
Source:stackexchange.com