AxisRange.MinValue Property
Specifies the lower limit of the axis range.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
[XtraSerializableProperty]
[TypeConverter(typeof(AxisValueTypeConverter))]
public object MinValue { get; set; }
#Property Value
Type | Description |
---|---|
Object | A Object that specifies the minimum value to display on an axis. |
#Remarks
Use the MinValue and AxisRange.MaxValue properties, to limit the visible range of an axis by two values.
The default y-axis range | A custom y-axis range |
---|---|
![]() |
![]() |
To obtain the actual values of these properties, use the AxisRange.ActualMinValue and AxisRange.ActualMaxValue properties.
If the MinValue property is not explicitly set (e.g. in XAML), its value is calculated automatically. And once explicitly set, you can subsequently make it automatic again by calling the AxisRange.SetAuto method at runtime.
Dealing with Qualitative or DateTime scale types, you can determine the maximum and minimum values more precisely (with a Double value) via the AxisRange.MinValueInternal and AxisRange.MaxValueInternal properties.
#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).