1๐
โ
I think the problem is in the spelling maxTicksLimits
It should be used like shown in the below code, jsfiddle for your reference -> https://jsfiddle.net/Lhap6suy/
xAxes: [{
ticks: {
autoSkip: true,
maxTicksLimit: 2
}
}]
Source:stackexchange.com