Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XYDiagram2DScrollEventArgs.OldYRange Property

Gets the old value of the Axis2D.VisualRange property of the Y-axis.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public RangeInfo OldYRange { get; }

#Property Value

Type Description
RangeInfo

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

#Remarks

Use the OldYRange and XYDiagram2DScrollEventArgs.NewYRange properties to obtain the Y-axis’s Axis2D.VisualRange property values before and after a chart is scrolled in the XYDiagram2D.Scroll event handler.

See Also