How to get the text of a Legend item
Posted: Thu Mar 09, 2017 7:06 pm
I searched but couldn't find this anywhere. Right now, I have created drill-down charts when a user clicks on a slice in a pie chart by adjusting the SQL. Getting the text was easy.
But OnClickLegend does not return a ValueIndex. I want to drill-down the same way in the legend as I do now in the Chart. How can I get the text of a legend item when clicked?
Code: Select all
Series.Labels[ValueIndex]