Annotation.AxisY Property

Definition

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

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

Property Value

An Axis object which this annotation is attached to.

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