Home forums Using CanvasJS fix axis

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Anjali 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8249

    dwpark
    Participant

    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?

    #8258

    Anjali
    Participant

    dwpark,

    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).

    _
    Anjali

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.