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