ChartArea.AlignmentOrientation 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定圖表區域的對齊方向。
public:
property System::Web::UI::DataVisualization::Charting::AreaAlignmentOrientations AlignmentOrientation { System::Web::UI::DataVisualization::Charting::AreaAlignmentOrientations get(); void set(System::Web::UI::DataVisualization::Charting::AreaAlignmentOrientations value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.AreaAlignmentOrientations AlignmentOrientation { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.AlignmentOrientation : System.Web.UI.DataVisualization.Charting.AreaAlignmentOrientations with get, set
Public Property AlignmentOrientation As AreaAlignmentOrientations
屬性值
AreaAlignmentOrientations 列舉值。
- 屬性
備註
透過使用 AlignWithChartArea 和 AlignmentOrientationAlignmentStyle 屬性,您可以水準、垂直或同時對齊或同步兩個或多個圖表區域。
首先,將 AlignWithChartArea 屬性設定為 物件的名稱 ChartArea 。 接著會根據 AlignmentStyle 設定來對齊此圖表區域,該設定會定義要使用的對齊方式,以及 AlignmentOrientation 定義應該用來設定對齊方式之圖表區域的元素的設定。
AlignWithChartArea如果未設定屬性,則不論 和 AlignmentOrientation 設定為何 AlignmentStyle ,圖表區域都不會對齊。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應