Skip to main content

XYDiagram2D.Scroll(Int32, Int32, XYDiagramPaneBase) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public void Scroll(
    int horizontalOffset,
    int verticalOffset,
    XYDiagramPaneBase pane = null
)

Parameters

Name Type Description
horizontalOffset Int32

A horizontal offset in pixels.

verticalOffset Int32

A vertical offset in pixels.

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