2👍
✅
You can make x-axis tick labels 100% vertical by defining option scales.x.ticks.minRotation: 90
.
options: {
scales: {
x: {
ticks: {
minRotation: 90
}
}
}
}
For further information, please consult Tick Configuration from the Chart.js documentation.
Source:stackexchange.com