Home forums Using CanvasJS Index label in column chart

This topic contains 2 replies, has 2 voices, and was last updated by  prasanna14 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11678

    prasanna14
    Member

    Hello,
    I want to create column graph and want to set index label “outside the graph” but when any bar having maximum value, that time index label comes at inside top corner of the bar. But I want it to outside too.
    I need your support.
    Thanks.

    #11679

    Sanjoy
    Moderator

    Prasanna,

    In your case to keep indexLabel inside plotArea, it will be pushed inside bar. By setting/increasing viewportMaximum you can show indexLabel outside of bar.

    #11703

    prasanna14
    Member

    Thanks Sanjoy. It works fine.

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

You must be logged in to reply to this topic.