labelFontSize : Number

Sets the font size of label in pixels.

Default: Inherits from Axis
Example: 18, 20,..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{   
    crosshair:{
	 enabled: true,
	 labelFontSize: 20,
	 .
	 .
    }
 },
 .
 . 
});
chart.render();


Try Editing The Code


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