I've been working with the Telerik ChartView for the past week or so and have been writing a thin layer overtop of the controls so that I may have a simplified Chart User Control with a more limited set of configurable functionality.
I'm now trying to expose events in the chart but can only find the SelectionChanged event in the ChartView API.
How would I get MouseEnter, MouseLeave, Click events on individual series elements?
I've tried a few different things to do this, mainly I've tried to grab the underlying Framework element and tried to attach event handlers to it (see below).
However, these events never get fired (I suspect that there is a transparent element sitting overtop of the chart preventing event propagation). Is there a way that I can work around this? Are there events somewhere within the ChartView namespace that I can tap into at the DataPoint level?
var barSeries = series
UIElement element = barSeries.GetDataPointVisual(dataPoint);
element.MouseEnter += element_MouseEnter;