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


Gets or sets the maximum value of an axis.


Maximum axis value

Syntax

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

Return Value

The maximum value of an axis. Defaults to "Auto" (which is represented by Double.Nan).

Remarks

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 Labelling Methods topic for 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.