Skip to main content

ChartZoomEventArgs.OldYRange Property

Gets the old value of the AxisBase.VisualRange property for the Y-axis.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public RangeInfo OldYRange { get; }

Property Value

Type Description
RangeInfo

A RangeInfo object which represents the old value of the axis range.

Remarks

Use the OldYRange and ChartZoomEventArgs.NewYRange properties to obtain the Y-axis’s AxisBase.VisualRange property values before and after a chart is zoomed in the ChartControl.Zoom event handler. For more information on zooming a chart diagram, please refer to the Zooming and Scrolling (2D XY-Charts) topic.

See Also