Skip to main content
A newer version of this page is available. .

ChartControl.Scroll Event

Occurs when an end-user scrolls the ChartControl.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.UI.dll

Declaration

public event ChartScrollEventHandler Scroll

Event Data

The Scroll event's data class is ChartScrollEventArgs. The following properties provide information specific to this event:

Property Description
AxisX Gets the X-axis of the diagram point.
AxisY Gets the Y-axis of the diagram point.
NewAxisXRange Obsolete. Gets the new value of the AxisBase.Range property for the X-axis.
NewAxisYRange Obsolete. Gets the new value of the AxisBase.Range property for the Y-axis.
NewXRange Gets the new value of the AxisBase.VisualRange property for the X-axis.
NewYRange Gets the new value of the AxisBase.VisualRange property for the Y-axis.
OldAxisXRange Obsolete. Gets the old value of the AxisBase.Range property for the X-axis.
OldAxisYRange Obsolete. Gets the old value of the AxisBase.Range property for the Y-axis.
OldXRange Gets the old value of the AxisBase.VisualRange property for the X-axis.
OldYRange Gets the old value of the AxisBase.VisualRange property for the Y-axis.
ScrollOrientation Gets the scrolling orientation, i.e. along which axes scrolling is performed.
Type Gets the scrolling type, which specifies scrolling characteristics.

Remarks

Note that this event is raised for 2D Charts only. In 3D Charts, the similar ChartControl.Scroll3D event is raised.

Note

In the Scroll event handler, you cannot change the layout of a chart. For example, modifying the ChartControl.Series or Series.Points collection in this event may affect the axis range.

See Also