gridThickness: Number

Sets the Thickness of Grid Lines. To display grid on Axis X, set the Grid Thickness to a number greater than zero.


Default: 2
Example: 2,4 ..

Notes
  • You can hide Grid Lines by setting the value to Zero


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
   gridThickness: 5,
 },
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.