Home › forums › Using CanvasJS › fix axis
Tagged: Axis, label, width
This topic contains 1 reply, has 2 voices, and was last updated by Anjali 2 years, 10 months ago.
a. I want to fix width of axis label.
b. Regardless of the size of label, I don’t want the location of axis to be changed.
Is there a way I can fix?
1) Please use labelMaxWidth property of axis for the same.
2) This isn’t possible as the axis needs to position itself based on the label’s length. But you can set labelMaxWidth so that axis is not pushed over a certain limit (labelMaxWidth).
You must be logged in to reply to this topic.