indexLabelFontSize: Number

Sets the Index Label’s Font Size in pixels.

Default: 18
Example: 12, 16, 22..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
  indexLabelFontSize: 16,

  },
 ]
 .
 .
});
chart.render();

Try Editing The Code

If you have any questions, please feel free to ask in our forums.Ask Question