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

XYDiagram2D.Scroll(Int32, Int32, XYDiagramPaneBase) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.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