ChartScroll3DEventArgs.ScrollDirection Property
Gets the scrolling direction.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ChartScrollDirection | A ChartScrollDirection enumeration value. |
Available values:
Name | Description |
---|---|
Horizontal | Identifies the horizontal scrolling direction. |
Vertical | Identifies the vertical scrolling direction. |
Both | Identifies both scrolling directions (vertical and horizontal). |
Remarks
Use the ScrollDirection property to obtain the scrolling direction in the ChartControl.Scroll3D event handler.
To get the old and new horizontal scroll percents, use the ChartScroll3DEventArgs.OldHorizontalScrollPercent and ChartScroll3DEventArgs.NewHorizontalScrollPercent properties.
To get the old and new vertical scroll percents, use the ChartScroll3DEventArgs.OldVerticalScrollPercent and ChartScroll3DEventArgs.NewVerticalScrollPercent properties.