Setting labelWrap to true wraps the labels at labelMaxWidth. Clips the same when set to false.
Default: truevar chart = new CanvasJS.Chart("container", { . . axisY:{ labelWrap: true // change to false labelMaxWidth: 50 }, . . }); chart.render();
Also See:
3 Comments
how to false some part of the Label Wrapping?not for all,such as falsing the negtive and remaining the positive
As of now it is not possible to selectively wrap axis labels.
Hi,
I’m looking for a way to align label of axis Y to left, not align right. Because when I use label for axis Y, some labels are short and some are long.
Which option should I use?
Thanks in advance.