titleFontSize: Number

Sets the Font Size of Axis Title in pixels.

Default: Automatically Calculated based on Chart Size
Example: 16, 25 ..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
   titleFontSize: 5,
 },
 .
 .
});
chart.render();

Try Editing The Code


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