CNiGraph::TrackMode

CNi

Class
CNiGraph::
TrackMode
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ReadyStateNext page: Windowless    
Public Data Item Declared in:
NiGraph.h

'Declaration' icon -- Shortcut to top of page. Declaration

GraphTrackModes TrackMode;

'Description' icon -- Shortcut to top of page. Description

Determines how the mouse interacts with the graph. The following list includes valid values for this function.

  • CNiGraph::TrackPlotAreaEvents - generates mouse events for only the plot area.
  • CNiGraph::TrackAllEvents - generates mouse events for plots, cursors, and the plot area.
  • CNiGraph::TrackDragCursor - positions cursors with the mouse.
  • CNiGraph::TrackPanPlotAreaXY - sets the extents of the x and y axes by dragging the plot area with the mouse.
  • CNiGraph::TrackPanPlotAreaX - sets the extents of the x axis by dragging the plot area with the mouse.
  • CNiGraph::TrackPanPlotAreaY - sets the extents of the y axis by dragging the plot area with the mouse.
  • CNiGraph::TrackZoomRectXY - sets the extents of the x and y axes by selecting a region with the mouse.
  • CNiGraph::TrackZoomRectX - sets the extents of the x axis by selecting a region with the mouse.
  • CNiGraph::TrackZoomRectY - sets the extents of the y axis by selecting a region with the mouse.
  • CNiGraph::TrackDragAnnotation - positions annotations with the mouse.

Note: If the Enabled property is false, all tracking and events are disabled. Use the TrackMode property to turn on zooming and panning for the graph.

'See Also' icon -- Shortcut to top of page. See Also