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


Gets or sets the custom label's left position along an axis.


Custom label left position.

Syntax

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

Return Value

A value that represents the beginning of the axis range the label is applied to.

Remarks

This property determines the start position of the axis range the label is applied to.

The difference between the To and From properties determines where the label text will be displayed. For example, if the X-axis has a scale ranging from 1 to 5 (1, 2 ,3, 4, 5), to display a custom label right underneath the second point you could set the To property to 1.5 and the From property to 2.5.

If the Series.XValueType (or Series.YValueType, depending on the axis in question) is set to DateTime than this From property will be displayed as a Date/Time value in the designer.

This should not be set to the same value as the To property.

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.