interlacedColor: String

Sets the Interlacing Color that alternates between the set interval. If the interval is not set explicitly, then the auto calculated interval is considered. The value of interlacedColor can be a “HTML Color Name” or “hex” code .


Default: null
Example: “#F8F1E4”, “#FEFDDF” ….

Notes
  • Interlacing doesn’t depend on whether grid lines or tick marks are visible or not.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisX:{
   interlacedColor: "#FEFDDF",
 },
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



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