Series.XAxisType 屬性

定義

取得或設定數列的 X 軸類型。

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

屬性值

XAxisType 列舉值,決定數列要使用主要 X 軸還是次要 X 軸。

屬性

備註

除了水準導向的圖表,例如橫條圖和堆疊橫條圖,以及圓形圖、環圈圖、漏斗圖和金字塔圖以外,主要 X 軸一律是較低的座標軸,而次要軸則是上軸。 對於橫條圖和堆疊橫條圖,主要 X 軸是左軸,而次要 X 軸則是右軸。

使用次要 X 軸繪製資料時,您必須使用 AxisX2 屬性來設定座標軸屬性,而不是 AxisX 屬性。

適用於