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


Gets or sets the Y coordinate the annotation is anchored to.

Syntax

Visual Basic (Declaration)  
<DefaultValueAttribute()>
<TypeConverterAttribute("Dundas.Charting.WebControl.Design.DoubleNanValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
<CategoryAttribute("Anchor")>
<DescriptionAttribute("Gets or sets an annotation anchor position's Y coordinate.")>
<RefreshPropertiesAttribute()>
Public Overridable Property AnchorY As Double
Visual Basic (Usage) Copy Code
Dim instance As Annotation
Dim value As Double
 
instance.AnchorY = value
 
value = instance.AnchorY
C#  
[DefaultValueAttribute()]
[TypeConverterAttribute("Dundas.Charting.WebControl.Design.DoubleNanValueConverter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
[CategoryAttribute("Anchor")]
[DescriptionAttribute("Gets or sets an annotation anchor position's Y coordinate.")]
[RefreshPropertiesAttribute()]
public virtual double AnchorY {get; set;}

Return Value

A double value that represents the Y coordinate an annotation is anchored to.

Remarks

The annotation is anchored to the Y coordinate specified in relative or axis coordinates, depending on the AxisX property value.

To automatically position an annotation relative to an anchor point make sure it's Y property is set to Double.NaN. The AnchorAlignment property may be used to change the annotation's automatic position alignment to the anchor point. The AnchorOffsetX and AnchorOffsetY properties may be used to add extra spacing.

This property has a higher priority than the AnchorDataPoint property.

Set this value to Double.NaN to disable annotation anchoring to the value.

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