Edytuj

Udostępnij za pośrednictwem


Annotation.AxisY Property

Definition

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

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

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