Axis.Range Property

Obsolete. Specifies the axis range.

Namespace: DevExpress.Xpf.Charts

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

Declaration

[Browsable(false)]
[Obsolete("This property is obsolete now. To specify a custom range, use the Axis2D.VisualRange and AxisBase.WholeRange properties instead. For more information, see the corresponding topic in the documentation.")]
public AxisRange Range { get; set; }
<Browsable(False)>
<Obsolete("This property is obsolete now. To specify a custom range, use the Axis2D.VisualRange and AxisBase.WholeRange properties instead. For more information, see the corresponding topic in the documentation.")>
Public Property Range As AxisRange

Property Value

Type Description
AxisRange

An AxisRange object which contains the common range settings of the axis coordinates.

Remarks

The Range property is used in descendants of the Axis class.

The main settings exposed by the AxisRange class allow you to limit the visible range of an axis, by specifying the minimum and maximum axis values (see the AxisRange.MinValue and AxisRange.MaxValue properties).

Examples

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

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