AxisRange.MinValue Property
OBSOLETE
This property is obsolete now. Use AxisBase.VisualRange.MinValue instead.
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.v24.2.dll
Declaration
[Browsable(false)]
[Obsolete("This property is obsolete now. Use AxisBase.VisualRange.MinValue instead.")]
public virtual 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 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 .
Example
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;