Dundas Chart for ASP.NET
To Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > CustomLabel Class : To Property


This property determines the custom label's right position along an axis.


Custom label right position.

Syntax

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

Return Value

A value that represents the end position of the custom label range.

Remarks

This property determines the end position of the custom label range.

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 with a step of 1 (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 To property will be displayed as a Date/Time value in the designer.

This should not be set to the same value as the From 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

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