thickness : Number

Sets the thickness of Crosshair in pixels.

Default: 2
Example: 2,4 ..
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. axisY:{
  6. crosshair: {
  7. enabled: true,
  8. lineThickness: 5,
  9. .
  10. .
  11. }
  12. },
  13. .
  14. .
  15. });
  16. chart.render();

Try Editing The Code

  Also See:    


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