Home forums Using CanvasJS IndexLabel vertical align on Bar Chart

This topic contains 8 replies, has 2 voices, and was last updated by  guilhermemaranhao 5 months, 1 week ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #24223

    Hi everyone,

    Is there a way to align my index label vertically. As you can notice here, they’re on the top of the bar, but I’d like to align them in the middle.

    Is it possible?

    Thank you,

    Guilherme

    #24244

    @guilhermemaranhao,

    Are you looking for something like this?

    In case this doesn’t suit your requirement please let us know where do you exactly plan to align the indexLabel(center of which element). A pictorial representation would be helpful.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24274

    Thank you, @sashi!

    Actually, I’d like the indexLabel to be placed outside the bar, and vertically aligned in the middle. I couldn’t place them outside using your example. Is it possible?

    Best regards,

    Guilherme

    #24282

    @guilhermemaranhao,

    Can you please provide a pictorial representation of your requirement?

    ____
    Shashi Ranjan
    Team CanvasJS

    #24285

    @sashi, follows a picture of what I’m qsking for.

    Index Label Bar chart

    It’s not a big deal, but if you notice in my previous fiddle fiddle, the index label are a little bit on the top, not in the middle.

    Thank you,

    Guilherme

    #24305

    @guilhermemaranhao,

    Can you please share your OS and browser details(version)?
    ____
    Shashi Ranjan
    Team CanvasJS

    #24309

    MacOS High Sierra, v. 10.13.6
    Google Chrome: 72.0.3626.96 (Versão oficial) 64 bits

    #24320

    @guilhermemaranhao,

    Thanks for sharing the details. It seems like a bug, we will be fixing it in future releases.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24328

    Thank you, @shashi!

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

You must be logged in to reply to this topic.