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. axisX:{
  6. labelMaxWidth: 50,
  7. labelWrap: true
  8. },
  9. .
  10. });
  11. chart.render();

Try Editing The Code

  Also See:    


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