I'm using a c# .Net Chart object with series type = Spline.
How can I convert the x/y co-ords from MouseMove event into a DataPoint so I can get at the point's Tag value? Something like:
private void chart1_MouseMove(object sender, MouseEventArgs e)
{
Point pt = e.Location;
HitTestResult[] results = chart1.HitTest(pt.X, pt.Y, false, ChartElementType.PlottingArea);
foreach (HitTestResult result in results)
{
... get DataPoint index from x/y co-ords
}
}