Series.YAxisType プロパティ

定義

系列の Y 軸の種類を取得または設定します。

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

プロパティ値

系列で使用する Y 軸が主軸と第 2 軸のどちらであるかを示す AxisType 列挙値。

属性

注釈

プロパティは YAxisType 、1 次または 2 次 Y 軸を使用して系列をプロットするかどうかを決定します。

円グラフ、ドーナツ グラフ、範囲横棒グラフ、横棒グラフ、積み上げ横棒グラフを除くすべての種類のグラフの場合、主 Y 軸は左縦軸、第 2 軸は右縦軸です。 横棒グラフと積み上げ横棒グラフの場合、主軸は下の横軸、2 番目の Y 軸は上横軸です。

セカンダリ Y 軸を使用してデータをプロットする場合は、 プロパティではなく、 プロパティを AxisY2 使用して軸のプロパティを設定する AxisY 必要があります。

適用対象