Hello Jon,
This functionality is not built-in to the CWGraph control for MouseMove over a plot... however, it is implemented for plot points as the PlotMouseMove event. I don't have access to a copy of Borland C++ Builder, but here's the Visual Basic syntax:
Private Sub CWGraph1_PlotMouseMove(Button As Integer, Shift As Integer, xData As Variant, YData As Variant, PlotIndex As Integer, PointIndex As Long)
Label1.Caption = CWGraph1.Plots(PlotIndex + 1).Name
End Sub
Note that I had to put the "+1" syntax into the code since the PlotIndex is zero-based and the CWGraph's Plots() collection is one-based.
Also, in Visual Basic if I wanted to write an ID number into a plot's Name property, I use the following syntax:
CWGraph1.Plots(1).Name = 12345
By
the way, you might get better response from the user community by posting CWGraph questions in the Measurement Studio discussion forum.
David Mc.
NI Applications Engineer