Back to Devexpress

XYDiagram2D.Scroll(HorizontalScrollingDirection, VerticalScrollingDirection, XYDiagramPaneBase) Method

corelibraries-devexpress-dot-xtracharts-dot-xydiagram2d-dot-scroll-x28-horizontalscrollingdirection-verticalscrollingdirection-xydiagrampanebase-x29.md

latest2.5 KB
Original Source

XYDiagram2D.Scroll(HorizontalScrollingDirection, VerticalScrollingDirection, XYDiagramPaneBase) Method

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public void Scroll(
    HorizontalScrollingDirection horizontalDirection,
    VerticalScrollingDirection verticalDirection,
    XYDiagramPaneBase pane = null
)
vb
Public Sub Scroll(
    horizontalDirection As HorizontalScrollingDirection,
    verticalDirection As VerticalScrollingDirection,
    pane As XYDiagramPaneBase = Nothing
)

Parameters

NameTypeDescription
horizontalDirectionHorizontalScrollingDirection

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

NameTypeDefaultDescription
paneXYDiagramPaneBasenull

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

|

See Also

ZoomIn(XYDiagramPaneBase)

ZoomOut(XYDiagramPaneBase)

XYDiagram2D Class

XYDiagram2D Members

DevExpress.XtraCharts Namespace