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


Enterprise Only Feature. Gets or sets the X coordinate the annotation is anchored to.
Gets or sets the X coordinate the annotation is anchored to.

Syntax

Visual Basic (Declaration)  
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#  
public virtual double AnchorX {get; set;}

Return Value

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


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.


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

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