1👍
Have you read Labelling Axes and Tick Configuration?
Changing the tick font size, changes the tick size, but also the amount of ticks. Here is a fiddle to show the effect: JSFiddle
scales: {
xAxis: {
type: 'time',
ticks: {
font: {
size: 15,
padding: 5,
},
},
},
},
- [Chartjs]-Chart.js scatter chart – displaying label specific to point in tooltip
- [Chartjs]-Data with pair X and Y values
Source:stackexchange.com