Sets the Index Label’s Font Style. It can be set to one of the below options.
var chart = new CanvasJS.Chart("container", { . . data: [{ indexLabelFontStyle: "italic", }, ] . . }); chart.render();
Also See: