In chart.js how can I set the set the font size for just the x axis labels without touching global config?
I\'ve already tried setting the \'scaleFontSize\' option my op
The fontSize attribute is actually in scales.xAxes.ticks and not in scales.xAxes as you thought.
fontSize
scales.xAxes.ticks
scales.xAxes
So you just have to edit the attribute like this :
var options = { scales: { yAxes: [{ ticks: { fontSize: 40 } }] } }