0👍
✅
Use autoSkip option it’s a possible way. For ex:
options.scales.xAxes[0].ticks.autoSkip = false
(or)
options: {
scales: {
xAxes: [{
ticks: {
autoSkip: false,
maxRotation: 90,
minRotation: 90
}
}]
}
}
Ref to : https://www.chartjs.org/docs/latest/axes/cartesian/?h=autoskip
Source:stackexchange.com