titleFontColor: String

Sets the Font Color of Axis Title. The value of titleFontColor can be a “HTML Color Name” or “hex” code .

Default: “#333333”
Example: “red”, “#006400” ..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
   titleFontColor: "red"
 },
 .
 .
});
chart.render();

Try Editing The Code


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