Modifier

Partager via


Annotation.AxisY Property

Definition

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

public:
 virtual property System::Web::UI::DataVisualization::Charting::Axis ^ AxisY { System::Web::UI::DataVisualization::Charting::Axis ^ get(); void set(System::Web::UI::DataVisualization::Charting::Axis ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.AnnotationAxisValueConverter))]
public virtual System.Web.UI.DataVisualization.Charting.Axis AxisY { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.AnnotationAxisValueConverter))>]
member this.AxisY : System.Web.UI.DataVisualization.Charting.Axis with get, set
Public Overridable Property AxisY As Axis

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