Chart for .NET / User's Guide / Interactivity / Drag Tools / Offset

In This Topic
    Offset
    In This Topic

    The offset feature of the control enables the end user to move panels in the control canvas by pressing the mouse button and then dragging the mouse over the control. The panel will move accordingly.

    The following code enables the offset drag feature:

    C#
    Copy Code
    chartControl.Controller.Tools.Clear();
    chartControl.Controller.Tools.Add(new NSelectorTool());
    chartControl.Controller.Tools.Add(new NOffsetTool());
    
    Visual Basic
    Copy Code
    chartControl.Controller.Tools.Clear()
    chartControl.Controller.Tools.Add(New NSelectorTool)
    chartControl.Controller.Tools.Add(New NOffsetTool)
    
     Related Examples
    Windows forms: Interactivity\Drag Operations
    See Also