titleFontFamily: String

Sets the Font Family of Axis Title.


Default: “Trebuchet MS, Helvetica, sans-serif”
Example: “calibri”, “tahoma, “verdana” ..

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
   titleFontFamily: "verdana",
 },
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.



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