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 Editing The Code


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