Back to Devexpress

ChartZoomEventArgs.OldXRange Property

corelibraries-devexpress-dot-xtracharts-dot-chartzoomeventargs-79b721b4.md

latest1.8 KB
Original Source

ChartZoomEventArgs.OldXRange Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public RangeInfo OldXRange { get; }
vb
Public ReadOnly Property OldXRange As RangeInfo

Property Value

TypeDescription
RangeInfo

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

|

Remarks

Use the OldXRange and ChartZoomEventArgs.NewXRange properties to obtain the X-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

ChartZoomEventArgs Class

ChartZoomEventArgs Members

DevExpress.XtraCharts Namespace