XYDiagram2D.ScrollAxisXTo(Double) Method
Scrolls the X-axis to the specified position.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts
Declaration
Parameters
Name | Type | Description |
---|---|---|
xPosition | Double | A Double value that specifies the position to which to scroll. |
Remarks
The following code scrolls a diagram to the position passed as a parameter:
To verify whether it is possible to scroll the X-axis, call the XYDiagram2D.CanScrollAxisXTo method.
See Also