A newer version of this page is available. Switch to the current version.

AxisRange.MinValue Property

Obsolete. Gets or sets the minimum value to display on an Axis. This may not be the same as the minimum value of the series associated with this axis.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[Obsolete("This property is obsolete now. Use AxisBase.VisualRange.MinValue instead.")]
[Browsable(false)]
[TypeConverter(typeof(AxisRangeMinValueTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
[NonTestableProperty]
public virtual object MinValue { get; set; }
<Obsolete("This property is obsolete now. Use AxisBase.VisualRange.MinValue instead.")>
<Browsable(False)>
<TypeConverter(GetType(AxisRangeMinValueTypeConverter))>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
<NonTestableProperty>
Public Overridable Property MinValue As Object

Property Value

Type Description
Object

A Object that specifies the minimum value to display on an axis.

Remarks

Use the MinValue property to specify or obtain the minimum value to display on an axis.

Note that the MinValue and AxisRange.Auto properties are interdependent: changing one property will reset the other property.

NOTE

Dealing with Qualitative or DateTime scale types, it may be required to determine the minimum value more precisely than allowed by these scale types. For example, for an axis whose AxisBase.DateTimeMeasureUnit property is set to Year, it may be required to restrict its range by a Month. For this, you can use the AxisRange.MinValueInternal property, which stores the internal, numeric representation of Qualitative and DateTime values.

For more information, refer to Visual Ranges and Whole Ranges .

Examples

This example demonstrates how the appearance of a pane's scroll bar can be customized.

Note that for a pane, it's possible to individually adjust the position and visibility of its X and Y-axis' scroll bars.

ScrollBarOptions scrollBarOptions = diagram.DefaultPane.ScrollBarOptions;

scrollBarOptions.BackColor = Color.White;
scrollBarOptions.BarColor = Color.Blue;
scrollBarOptions.BorderColor = Color.Navy;
scrollBarOptions.BarThickness = 15;
scrollBarOptions.XAxisScrollBarAlignment = ScrollBarAlignment.Far;
scrollBarOptions.XAxisScrollBarVisible = true;
See Also