lineColor: String

Sets the color of Axis line. Axis line color can be a “HTML Color Name” or “hex” code .

Default: “#666666”
Example: “blue”,”#21AB13″..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{
   lineColor: "blue",
 },
 .
 .
});
chart.render();

Try Editing The Code

  Also See:    


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

Comment