Annotation::AxisY Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

property Axis^ AxisY {
	virtual Axis^ get();
	virtual void set(Axis^ value);

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