Home Forums Chart Support IndexLabel on Stacked Chart

IndexLabel on Stacked Chart

Viewing 3 posts - 1 through 3 (of 3 total)
  • #19836

    I want to show indexLabel on stacked column chart. One option is to put indexLabel on upper stack datapoints.
    IndexLabel show height of stack Chart (y-axis value). I am also using hide/show dataseries on clicking legend using this.
    So if we put indexLabel on upper dataseries then indexLabel will also hide when click on legend of this dataseries.

    I want to show indexLabel independently. How to do this.

    #19844

    Meraj Ahmed,

    You can achieve this by finding the last visible dataSeries in the chart and adding indexLabels to it. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    #19845

    Wonderful,
    Thank u very much

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

You must be logged in to reply to this topic.