Sets the color of Axis line. Axis line color can be a “HTML Color Name” or “hex” code .
Default: “#666666”var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
lineColor: "blue",
},
.
.
});
chart.render();
Also See:
Comment
How to give hex code color values for line color & lable font color?