You can use the PlotAreaMouseMove event and then test for a plot using the hit testing methods we make available.
private void waveformGraph1_PlotAreaMouseMove(object sender, MouseEventArgs e)
{
{
XYPlot plot = waveformGraph1.GetPlotAt(e.X, e.Y);
if (plot != null)
Debug.WriteLine("over plot");
}
}
You can also use the HitTest methods available on the graphs. See the help for more information.
Bilal Durrani
NI