Rotating, Panning, and Zooming (concept)

3D Graph Control

Rotating, Panning, and Zooming

To rotate, pan, and zoom 3D graphs in an application that is running, you must set the TrackMode property for the graph as follows:

CWGraph3D1.TrackMode = cwG3DZoomPanRotate

Use the following steps to rotate, zoom, and pan a 3D graph:

  • To rotate the graph, press and hold the left mouse button and drag.

  • To zoom on the graph, press and hold the <Alt> key and the left mouse button while dragging the mouse forward and backward. If your mouse has a wheel, you also can zoom on the graph by rotating the wheel.

  • To pan the graph, press and hold the <Shift> key and the left mouse button while dragging the mouse.

Note: If the CWGraph3D.Enabled property is set to False, all tracking and events are disabled.

See Also

CWGraph3D.TrackMode

CWGraph3D.Rotate

CWGraph3D.Pan

CWGraph3D.Zoom