Skip to main content

AxisRange Class

OBSOLETE

The AxisRange class is obsolete now. Use the Range class instead.

Contains the common settings that define the range displayed by an axis.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

[Obsolete("The AxisRange class is obsolete now. Use the Range class instead.")]
public sealed class AxisRange :
    ChartNonVisualElement,
    IAxisRange,
    ICloneable

Remarks

The AxisRange class contains range settings for an axis. An instance of the AxisRange type can be accessed via the Axis.Range property.

Example

The following example demonstrates how to change the AxisRange.SideMarginsEnabled property value.

View Example

<dxc:XYDiagram2D.AxisX>
    <dxc:AxisX2D Range="SideMarginsEnabled=False" />
</dxc:XYDiagram2D.AxisX>

The following code snippets (auto-collected from DevExpress Examples) contain references to the AxisRange class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also