Home › forums › Using CanvasJS › IndexLabel on Stacked Chart
Tagged: indexlabel, stacked
This topic contains 2 replies, has 2 voices, and was last updated by Meraj Ahmed 1 year, 7 months ago.
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.
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.
Thank u very much
You must be logged in to reply to this topic.