Sets the Font Style of Axis Labels. It can be set to one of the below options.
var chart = new CanvasJS.Chart("container", { . . axisX:{ labelFontStyle: "italic", }, . . }); chart.render();
Also See: