color: String

Sets the color of the stripLine.

Default: “#FF7300”
Example: “green”, “#23EA23”
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. axisY:{
  6. stripLines: [{
  7. .
  8. color:"black",
  9. .
  10. }]
  11. },
  12. .
  13. .
  14. });
  15. chart.render();

Try Editing The Code

  Also See:    


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