0👍
✅
You could define the maximum number of ticks and gridlines to show on the xAxis
using the option ticks.maxTicksLimit
.
scales: {
xAxes: [{
ticks: {
maxTicksLimit: 8
}
}]
Source:stackexchange.com