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

Range Class

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

Namespace: DevExpress.Xpf.Charts

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

Declaration

public class Range :
    ChartNonVisualElement

Remarks

The Range class contains range settings for an axis. An instance of the Range type can be accessed via the Axis.WholeRange and Axis2D.VisualRange properties.

The options provided by the Range class allow you to limit an axis range manually, by specifying both the minimum and maximum axis value. This can be done for the axis scale type (via the Range.MinValue and Range.MaxValue properties).

The values calculated for these properties can then be obtained via the corresponding Actual* property (e.g., Range.ActualMaxValue and Range.ActualMaxValueInternal).

The following code snippets (auto-collected from DevExpress Examples) contain references to the Range 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