titleFontFamily: String

Sets the Font Family of Axis Title.

Default: “Trebuchet MS, Helvetica, sans-serif”
Example: “calibri”, “tahoma, “verdana” ..
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. axisY:{
  6. titleFontFamily: "verdana",
  7. },
  8. .
  9. .
  10. });
  11. chart.render();

Try Editing The Code


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