Annotation.AxisX Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the X axis to which an annotation is attached.
public:
virtual property System::Windows::Forms::DataVisualization::Charting::Axis ^ AxisX { 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 AxisX { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AnnotationAxisValueConverter))>]
member this.AxisX : System.Windows.Forms.DataVisualization.Charting.Axis with get, set
Public Overridable Property AxisX As Axis
Property Value
An Axis object to which the annotation is attached.
- Attributes
Remarks
When an annotation is attached to an axis, its X 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 this value to null
to disable attachment to the axis.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應