Dundas Chart for Windows Forms
Minimum Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Axis Class : Minimum Property


Gets or sets the minimum value of an axis.

Syntax

Visual Basic (Declaration)  
Public Property Minimum As Double
Visual Basic (Usage) Copy Code
Dim instance As Axis
Dim value As Double
 
instance.Minimum = value
 
value = instance.Minimum
C#  
public double Minimum {get; set;}

Return Value

The minimum value of an axis. Defaults to "Auto", which is represented by Double.NaN.

Remarks

Sets/gets the minimum value of an axis, and defaults to "Auto". If "Auto" then the minimum axis value will automatically be calculated from the Series being drawn. To set this value to "Auto" at run-time use a Double.Nan value.

Note that if you set this value explicitly then the X-values of data elements must be taken into account. If all data points have a X-values of zero then the Chart control will assume the first data point occurs at zero. Also, if the Minimum value is explicitly set then the StartFromZero 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.

Refer to the Labeling Methods topic for important information concerning the various methods that can be used to generate axis labels.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.