XYDiagram2D.Scroll(Int32, Int32, 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(
int horizontalOffset,
int verticalOffset,
XYDiagramPaneBase pane = null
)
#Parameters
Name | Type | Description |
---|---|---|
horizontal |
Int32 | A horizontal offset in pixels. |
vertical |
Int32 | A vertical offset in pixels. |
#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