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: 0
Example: 2,4 ..
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. axisY:{
  6. gridThickness: 5,
  7. },
  8. .
  9. .
  10. });
  11. chart.render();

Try Editing The Code

  Also See:    


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