![]() |
Plot








Public Data Item |
Declared in: NiCursor.h |
Declaration
CNiPlot Plot;
Description
Specifies the plot associated with the cursor.
Notes:
1. Set this property to a plot in the CNiGraph.Plots collection to lock the CNiCursor to a specific CNiPlot.
2. Check the value of this property to determine where the user has snapped the cursor. If CNiCursor.SnapMode is CNiCursor::SnapFree, the snap value is zero. You cannot associate the cursor with a plot. If CNiCursor.SnapMode is CNiCursor::SnapNearestPoint, the value can change when the cursor is repositioned. If CNiCursor.SnapMode is CNiCursor::SnapLockToPlot, the value changes only when this property is explicitly set, or the plot is removed.