labelAutoFit: Boolean

Setting labelAutoFit to true automatically wraps and/or rotates and/or reduces font size of label when they are too long and overlaps, finds the best-fit and automatically manages label overlapping

Default: true
Example: true, false.

var  chart =  new  CanvasJS.Chart("container",
 axisY: {
    labelAutoFit: true  // change to false


Try it Yourself by Editing the Code below.

  Also See:    

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