Back to Devexpress

ChartScrollEventArgs.NewXRange Property

corelibraries-devexpress-dot-xtracharts-dot-chartscrolleventargs-4b44f720.md

latest1.9 KB
Original Source

ChartScrollEventArgs.NewXRange Property

Gets the new 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 NewXRange { get; }
vb
Public ReadOnly Property NewXRange As RangeInfo

Property Value

TypeDescription
RangeInfo

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

|

Remarks

Use the ChartScrollEventArgs.OldXRange and 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

ChartScrollEventArgs Class

ChartScrollEventArgs Members

DevExpress.XtraCharts Namespace