opacity: Number

Sets opacity of stripLine.

Default: null
Example: .1, .5, 1 etc.
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. axisY:{
  6. stripLines: [{
  7. .
  8. value:12,
  9. opacity: .2
  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