Sets the Color of Grid Lines. Value of gridColor can be a “HTML Color Name” or “hex” code .
Default: “#666666”var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
gridColor: "orange",
},
.
.
});
chart.render();
Also See:
2 Comments
How can I change one line of the grid color?
Are you looking for stripLines with value property? Changing the color of single gridline is not possible.