Skip to main content

AxisRange.MaxValueInternal Property

Represents the maximum value of the axis range using a numerical value.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

[XtraSerializableProperty]
public double MaxValueInternal { get; set; }

#Property Value

Type Description
Double

A Double value that represents the maximum value of the axis range.

#Remarks

Use the AxisRange.MinValueInternal and MaxValueInternal properties when it is required to limit the axis range more precisely than the Qualitative or DateTime scale types allow.

The following images demonstrate a qualitative x-axis with a limited range.

The default x-axis range A custom x-axis range
axis-range-default axis-range-internal

To obtain the actual values of these properties, use the AxisRange.ActualMinValueInternal and AxisRange.ActualMaxValueInternal properties.

The MaxValueInternal property is an internal double representation of the AxisRange.MaxValue property. And a modification of the MaxValueInternal property results in the AxisRange.MaxValue property being set to a null value for Qualitative and DateTime scales.

NOTE

Although the MaxValueInternal property is intended for precise range adjustment, it is not possible to achieve the utmost level of accuracy using this property when the AxisRange.SideMarginsEnabled property is turned on. In this case, it becomes impossible to precisely determine the actual maximum value of an axis, due to the ambiguity introduced by the side-margins span.

#Examples

This example demonstrates how you can define a custom axis range (both in measurement units appropriate for the axis scale type, and using their internal Double representation).

See Also