XYDiagram2D.Scroll(HorizontalScrollingDirection, VerticalScrollingDirection, XYDiagramPaneBase) Method
In This Article
Scrolls the chart viewport to the specified direction within the specified pane.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public void Scroll(
HorizontalScrollingDirection horizontalDirection,
VerticalScrollingDirection verticalDirection,
XYDiagramPaneBase pane = null
)
#Parameters
Name | Type | Description |
---|---|---|
horizontal |
Horizontal |
The horizontal scroll direction. If vertical scroll is required, set this parameter to None. |
vertical |
Vertical |
The vertical scroll direction. If horizontal scroll is required, set this parameter to None. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
pane | XYDiagram |
null | Optional. The pane whose viewport should be scrolled. If the pane is not specified, the default pane viewport will be scrolled. |
See Also