The chart series can be dragged out of the boundary range, i.e., the Minimum and Maximum values that are not defined for the axis. This article describes how to drag the series with explicit minimum and maximum values.
The chart can be redrawn in the predefined range by using the DragEnd event, which is used to add the functionalities after dragging. In the DragEnd event, you can get the new position and axis value where the segment is dragged.
Based on the new value, you can change the secondary axis and values of the Minimum and Maximum properties.
Figure 1: Initial segment position and preview dragging segment position.
Figure 2: Segment redrawn after dragging.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:|