Sets the font size of label in pixels.
var chart = new CanvasJS.Chart("container", { . . axisX:{ crosshair:{ enabled: true, labelFontSize: 20, . . } }, . . }); chart.render();
Also See: