Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Y Property
See Also 
Dundas.Charting.WebControl Namespace > Annotation Class : Y Property


Gets or sets the Y coordinate of the annotation.

Syntax

Visual Basic (Declaration)  
<DescriptionAttribute("Gets or sets an annotation position's Y coordinate. Set to Double.NaN ("NotSet") to achieve automatic positioning of anchored annotation.")>
<RefreshPropertiesAttribute()>
<DefaultValueAttribute()>
<TypeConverterAttribute("Dundas.Charting.WebControl.Design.DoubleNanValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
<CategoryAttribute("Position")>
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#  
[DescriptionAttribute("Gets or sets an annotation position's Y coordinate. Set to Double.NaN ("NotSet") to achieve automatic positioning of anchored annotation.")]
[RefreshPropertiesAttribute()]
[DefaultValueAttribute()]
[TypeConverterAttribute("Dundas.Charting.WebControl.Design.DoubleNanValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
[CategoryAttribute("Position")]
public virtual double Y {get; set;}

Return Value

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.

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