labelFontColor: String

Sets the Axis Label color. The value of labelFontColor can be a “HTML Color Name” or “hex” code .


Default: “#000000”
Example: “red”, “#FAC003” ..

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
   labelFontColor: "red",
 },
 .
 .
});
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