Skip to main content

XYDiagram2D.Scroll(HorizontalScrollingDirection, VerticalScrollingDirection, XYDiagramPaneBase) Method

Scrolls the chart viewport to the specified direction within the specified pane.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public void Scroll(
    HorizontalScrollingDirection horizontalDirection,
    VerticalScrollingDirection verticalDirection,
    XYDiagramPaneBase pane = null
)

Parameters

Name Type Description
horizontalDirection HorizontalScrollingDirection

The horizontal scroll direction. If vertical scroll is required, set this parameter to None.

verticalDirection VerticalScrollingDirection

The vertical scroll direction. If horizontal scroll is required, set this parameter to None.

Optional Parameters

Name Type Default Description
pane XYDiagramPaneBase null

Optional. The pane whose viewport should be scrolled. If the pane is not specified, the default pane viewport will be scrolled.

See Also