ChartScrollEventArgs.OldXRange Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll


public RangeInfo OldXRange { get; }

Property Value

Type Description

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


Use the OldXRange and ChartScrollEventArgs.NewXRange properties to obtain the X-axis’s AxisBase.VisualRange property values before and after a chart is scrolled in the ChartControl.Scroll event handler. For more information on scrolling a chart diagram, please refer to the Zooming and Scrolling (2D XY-Charts) topic.

See Also