Gets or sets the data point an annotation is anchored to.
Visual Basic (Declaration) | |
---|---|
Public Overridable Property AnchorDataPoint As DataPoint |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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.
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
Reference
Annotation ClassAnnotation Members
AnchorAlignment Property
AnchorOffsetX Property
AnchorOffsetY Property
AnchorX Property
AnchorY Property
Anchor(DataPoint) Method
AnchorAlignment Property
AnchorOffsetX Property
AnchorOffsetY Property
AnchorX Property
AnchorY Property
Anchor(DataPoint) Method
AnchorAlignment Property
AnchorOffsetX Property
AnchorOffsetY Property
AnchorX Property
AnchorY Property
Anchor(DataPoint) Method
AnchorAlignment Property
AnchorOffsetX Property
AnchorOffsetY Property
AnchorX Property
AnchorY Property
Anchor(DataPoint) Method