Axis.Minimum Property

Definition

Gets or sets the minimum value of an axis.

C#
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.AxisMinMaxAutoValueConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public double Minimum { get; set; }

Property Value

A double value that represents the minimum value of an axis. The default value is NaN.

Attributes

Remarks

Note that if you set this value explicitly, the X-values of data elements must be taken into account. If all data points have X-values of zero, the Chart control will assume the first data point occurs at zero. Also, if the Minimum value is explicitly set, the IsStartedFromZero property will be ignored. The Minimum value must be less than the Maximum value.

To automatically round the maximum and minimum axis values. call the RoundAxisValues method.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1