Setting labelWrap to true wraps the labels at labelMaxWidth. Clips the same when set to false.
var chart = new CanvasJS.Chart("container", { . . axisY:{ labelWrap: true // change to false labelMaxWidth: 50 }, . . }); chart.render();
Also See:
Comments 3
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix
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.