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

Pane.SetAxisYRange(AxisRangePositions) Method

Sets a custom range for the pane Y-axis.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public void SetAxisYRange(
    AxisRangePositions positions
)

Parameters

Name Type Description
positions DevExpress.Xpf.Charts.AxisRangePositions

A DevExpress.Xpf.Charts.AxisRangePositions object containing positions of a new pane axis range.

Remarks

To verify whether it is possible to set a custom range for the pane Y-axis, call the Pane.CanSetAxisYRange method before calling the SetAxisYRange method.

See Also