Axis.Minimum Property

.NET Framework (current version)
 

Gets or sets the minimum value of an axis.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

[BindableAttribute(true)]
public double Minimum { get; set; }

Property Value

Type: System.Double

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

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.

.NET Framework
Available since 4.0
Return to top
Show: