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


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

Syntax

Visual Basic (Declaration)  
<DefaultValueAttribute()>
<RefreshPropertiesAttribute()>
<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 X coordinate.")>
Public Overridable Property AnchorX As Double
Visual Basic (Usage) Copy Code
Dim instance As Annotation
Dim value As Double
 
instance.AnchorX = value
 
value = instance.AnchorX
C#  
[DefaultValueAttribute()]
[RefreshPropertiesAttribute()]
[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 X coordinate.")]
public virtual double AnchorX {get; set;}

Return Value

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

Remarks

The annotation is anchored to the X 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 X 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