How can I do the equivalent of a HitTest on a XamDataChart to get at the underlying datapoint? I see in the xamFeatureBrowser the example returning the location data but how do I get at the object bound to the point?
What I'd like to do is perform some action when the series point is clicked on.
Hi, the SeriesMouseLeftButtonDown and SeriesMouseLeftButtonUp events on the chart should help you, they report the series and item that are clicked on. Alternatively you could use a custom marker template to respond to these events as it has access to the Series and the Item in its DataContext. The latter being the method that this sample uses, I believe: http://blogs.infragistics.com/blogs/kiril_matev/archive/2010/07/02/using-data-editing-in-the-xamdatachart-to-implement-what-if-analysis-functionality.aspx
Thanks - definitely helped.