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


Gets or sets a boolean value that indicates whether zero must be used as the minimum axis value.


If true, this property will set auto minimum value to zero if all data point values are positive. Otherwise, minimum value from data points will be used.

Syntax

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

Return Value

If true and the Minimum property is set to Auto the axis will start from zero.  If false the minimum data point value will be used.

Remarks

If true and the Minimum property is set to Auto then the minimum value will be zero if all data point values are positive. Otherwise the minimum value from data points will be used.

This property applies only to primary and secondary y-axes.

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.