Skip to main content

Pane.SetAxisXRange(AxisRangePositions) Method

Sets a custom range for the X-axis pane.

Namespace: DevExpress.Xpf.Charts

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


public void SetAxisXRange(
    AxisRangePositions positions


Name Type Description
positions DevExpress.Xpf.Charts.AxisRangePositions

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


To verify whether it is possible to set a custom range for the X-axis, call the Pane.CanSetAxisXRange method before calling the SetAxisXRange method.

See Also