Dundas Chart for ASP.NET
Maximum Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > AxisScale 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 AxisScale
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 Labeling 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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.