I have a bar chart and I'm trying to get the name of the series when I click on the Label Element next to the bar.
However, I can't find any documentation on how to add a click event to the label element (in the image attached, I'm talking about the $10000 label).
I have a SelectedPointChanged event registered to my RadChartView control and that works great, but only works when the bar is clicked not the label next to it.
4 Answers, 1 is accepted
Thank you for writing.
RadChartView does not provide means for directly attaching a click event to the label elements. You can achieve your task by handling the MouseClick event of the control and after checking for the mouse and the labels locations:
I am also attaching a short video showing the result on my end.
I hope this helps. Let me know if you need further assistance.
For Pie Charts: