ChartArea.InnerPlotPosition 屬性

定義

取得或設定 ElementPosition 物件,定義圖表區域物件的內層繪圖位置。

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

屬性值

ElementPosition 物件,定義 ChartArea 物件的內層繪圖位置。

屬性

備註

屬性 InnerPlotPosition 會定義用於繪製資料的圖表區域元素內的矩形;它會排除刻度標記、軸標籤等等。

此屬性所使用的座標 (0,0 到 100,100) 與 ChartArea 物件相關,而不是整個 Chart

屬性 InnerPlotPosition 可用來對齊多個圖表區域。 不過,如果一個圖表區域有刻度標記和座標軸標籤,而另一個沒有刻度,則無法對齊其軸線。

重要

這個屬性也可以用來變更圖表的大小,例如圓形圖或環圈圖,而不會變更產生的圖表影像大小。

若要變更整個 ChartArea 物件的位置,請改用 Position 屬性。

適用於