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


Enterprise Only Feature. Gets or sets the Y coordinate of the annotation.
Gets or sets the Y coordinate of the annotation.

Syntax

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

Return Value

A Double value that represents an annotation position's Y coordinate.


A Double value that represents an annotation position's Y coordinate.

Remarks

The Y coordinate of an annotation is in relative chart coordinates or axes coordinates. Chart relative coordinates are used by default.

To use axes coordinates anchor an annotation to a data point using the AnchorDataPoint property, or set the annotation axes using the AxisX or AxisY properties.

Set the Y position to Double.NaN ("NotSet") to achieve automatic position calculation when the annotation is anchored using the AnchorDataPoint property or the AnchorX and AnchorY properties.


The Y coordinate of an annotation is in relative chart coordinates or axes coordinates. Chart relative coordinates are used by default.

To use axes coordinates anchor an annotation to a data point using the AnchorDataPoint property, or set the annotation axes using the AxisX or AxisY properties.

Set the Y position to Double.NaN ("NotSet") to achieve automatic position calculation when the annotation is anchored using the AnchorDataPoint property or the AnchorX and AnchorY properties.

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.