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 2 months, 3 weeks ago.

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

    khanhle
    Member

    Hi everyone,

    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.

    #22747

    Vishwas R
    Keymaster

    @khanhle,

    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.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.