Annotation.AxisY Property

.NET Framework (current version)

Gets or sets the Y axis which an annotation is attached to.

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

Public Overridable Property AxisY As Axis

Property Value

Type: System.Web.UI.DataVisualization.Charting.Axis

An Axis object which this annotation is attached to.

When an annotation is attached to an axis, its Y position is always specified in axes coordinates. To also define the size of an annotation in axes coordinates, make sure the IsSizeAlwaysRelative property is set to false.

Set to null to disable annotation attachment to an axis.

.NET Framework
Available since 4.0
Return to top