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


Enterprise Only Feature. Gets or sets the data point an annotation is anchored to.
Gets or sets the data point an annotation is anchored to.

Syntax

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

Return Value

A DataPoint object an annotation is anchored to.


A DataPoint object an annotation is anchored to.

Remarks

The annotation is anchored to the x and y values of the specified data point, and automatically uses the same axes coordinates as the data point.

To automatically position the annotation relative to the anchor point make sure it's X and Y properties are 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.

When using this property make sure the AnchorX and AnchorY properties are set to Double.NaN (they have precedence).

Set this value to null or Nothing to disable annotation anchoring to a data point.


The annotation is anchored to the X and Y values of the specified data point, and automatically uses the same axes coordinates as the data point.

To automatically position the annotation relative to the anchor point make sure it's X and Y properties are 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.

When using this property make sure the AnchorX and AnchorY properties are set to Double.NaN (they have precedence).

Set this value to null or nothing to disable annotation anchoring to a data point.

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.