ChartArea.Axes 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個陣列,代表圖表區域的所有軸。
public:
property cli::array <System::Windows::Forms::DataVisualization::Charting::Axis ^> ^ Axes { cli::array <System::Windows::Forms::DataVisualization::Charting::Axis ^> ^ get(); void set(cli::array <System::Windows::Forms::DataVisualization::Charting::Axis ^> ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AxesArrayConverter))]
public System.Windows.Forms.DataVisualization.Charting.Axis[] Axes { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AxesArrayConverter))>]
member this.Axes : System.Windows.Forms.DataVisualization.Charting.Axis[] with get, set
Public Property Axes As Axis()
屬性值
Axis[]
一個物件陣列 Axis ,代表圖表區域所使用的所有軸。
- 屬性
備註
此特性的主要目的是在設計時提供對 X、Y、X2 和 Y2 軸屬性的存取。
執行時,圖表區域的軸應利用各軸屬性存取,例如 AxisX、 AxisX2、 等等。
如果你決定在執行時使用這個屬性——例如在事件中——你可以透過指定列 AxisName 舉成員作為識別碼來存取這個陣列中的項目。