Home › forums › Using CanvasJS › Set fixed width for the label axis
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 year, 1 month ago.
I want to set the width for label of AxisY to be fixed. Regarding to my finding, I found we have labelMaxWidth property can allow to set the max width if the label is longer than. But it is not exactly my need.
This chart is for example: http://jsfiddle.net/madpxywv/
If anyone can help, it’d be much appreciate.
Fixing the width of label is not available as of now. However with the help of labelFormatter you can fix the number of characters to be shown in the label. Please take a look at this updated JSFiddle.
You must be logged in to reply to this topic.