AxisY Property

Annotation.AxisY Property

.NET Framework (current version)

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

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public virtual Axis AxisY { get; set; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.Axis

An Axis object to which this annotation is attached.

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
© 2016 Microsoft