The offset feature of the control enables the end user to move the chart margins by pressing the mouse button and then dragging the mouse over the control. The chart will move accordingly, and the View margin properties of the current chart will also change accordingly.
The following code enables the offset drag mode:
VB.NET | |
---|---|
|
C# | |
---|---|
|
Note that because this operation is exclusive, we must also clear the InteractivityOperations collection.
Related Examples
Windows Forms: Interactivity\Drag Operations