Home forums Using CanvasJS IndexLabel on Stacked Chart

This topic contains 2 replies, has 2 voices, and was last updated by  Meraj Ahmed 1 year, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #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.


    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


    Thank u very much

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

You must be logged in to reply to this topic.