Home forums Using CanvasJS indexLabel placement issue on stackedBar Chart

This topic contains 2 replies, has 2 voices, and was last updated by  josh.armentano 8 months ago.

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

    I am trying to figure out a way to get the indexLabel placed vertically in the center of the bar. When I manually increased the dataPointWidth value it no longer placed the indexLabels in the center. Is it possible to remedy this??

    Please refer to this codepen to see what I mean:

    https://codepen.io/josharmentano/full/geBqyr

    #20276

    Vishwas R
    Keymaster

    @josh-armentano,

    Index-label is placed to the center of the bar, but minimum and maximum of axisX is making it look like its placed to the bottom of the bar. Please take a look at this updated pen.


    Vishwas R
    Team CanvasJS

    #20278

    Perfect, thank you for your help!

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

You must be logged in to reply to this topic.