labelWrap: Boolean

labelWrap specifies whether to wrap or clip label once its width crosses labelMaxWidth.

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

Try Editing The Code

  Also See:    


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