AnchorY Property

Annotation.AnchorY Property

.NET Framework (current version)
 

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

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

abstract AnchorY : float with get, set
override AnchorY : float with get, set

Property Value

Type: System.Double

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

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

To automatically position an annotation relative to an anchor point make sure its Y property is set to NaN. The AnchorAlignment property can be used to change the automatic position alignment of the annotation 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 NaN to disable annotation anchoring to the value.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft