共用方式為


Cursor.AxisType 屬性

定義

取得或設定已附加資料指標的座標軸。

public:
 property System::Windows::Forms::DataVisualization::Charting::AxisType AxisType { System::Windows::Forms::DataVisualization::Charting::AxisType get(); void set(System::Windows::Forms::DataVisualization::Charting::AxisType value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.AxisType AxisType { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.AxisType : System.Windows.Forms.DataVisualization.Charting.AxisType with get, set
Public Property AxisType As AxisType

屬性值

AxisType

AxisType 列舉值,表示這個座標軸是附加到主要座標軸還是次要座標軸。

屬性

備註

有兩組軸:主要和次要。 所有圖表的主要軸(橫條圖除外)位於底部 (主要 X 軸) ,左方 (主要 Y 軸) 圖表區域的框線。

次要軸位於右邊 (次要 X 軸) 和圖表區域的頂端 (次要 Y 軸) 框線。

注意

如果在圖表區域內繪製的所有數列都只使用一種軸類型 (例如,主要 X 軸) ,然後將此屬性設定為數列未使用的軸類型 (在此情況下,次要 X 軸) 將沒有任何作用;資料指標會自動附加至用來繪製數列的唯一軸。

適用於