Gets or sets the maximum value of an axis.
Maximum axis value
Visual Basic (Declaration) | |
---|---|
Public Property Maximum As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double Maximum {get; set;} |
Return Value
The maximum value of an axis. Defaults to "Auto" (which is represented by Double.Nan).
Gets or sets the maximum value of an axis, and defaults to "Auto". If "Auto" then the maximum 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.
To automatically round the maximum and minimum axis values call the RoundAxisValues method. The Maximum value must be greater than the Minimum value.
Refer to the Labeling Methods topic for information concerning the various methods that can be used to generate axis labels.
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