Annotation.AxisY Property

Definition

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

C#
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AnnotationAxisValueConverter))]
public virtual System.Windows.Forms.DataVisualization.Charting.Axis AxisY { get; set; }

Property Value

An Axis object to which this annotation is attached.

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1