labelAlign: String

labelAlign allows you to place the stripline’s Label far, center or near the axis.

Default: “far”
Options: “far”, “center”, “near”
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. axisY:{
  6. stripLines: [{
  7. .
  8. labelPlacement: "inside",
  9. labelAlign: "far"
  10. .
  11. }]
  12. },
  13. .
  14. .
  15. });
  16. chart.render();

Try Editing The Code


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