Series.YAxisType 屬性

定義

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

public:
 property System::Web::UI::DataVisualization::Charting::AxisType YAxisType { 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 YAxisType { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.YAxisType : System.Web.UI.DataVisualization.Charting.AxisType with get, set
Public Property YAxisType As AxisType

屬性值

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

屬性

備註

屬性 YAxisType 會判斷是否使用主要或次要 Y 軸繪製數列。

對於圓形圖、環圈圖、範圍橫條圖、橫條圖和堆疊橫條圖以外的所有圖表類型,主要 Y 軸是左垂直軸,而次要軸則是右垂直軸。 對於橫條圖和堆疊橫條圖,主軸是較低的水準軸,而次要 Y 軸則是上方的水準軸。

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

適用於