Sdílet prostřednictvím


ChartArea.AlignmentOrientation Vlastnost

Definice

Získá nebo nastaví orientaci zarovnání oblasti grafu.

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

Hodnota vlastnosti

Hodnota AreaAlignmentOrientations výčtu, která určuje orientaci zarovnání oblasti grafu.

Atributy

Poznámky

Pomocí a AlignWithChartAreaAlignmentOrientation vlastností je AlignmentStyle možné zarovnat nebo synchronizovat dvě nebo více oblastí grafu vodorovně, svisle nebo obojí.

Nejprve nastavte AlignWithChartArea vlastnost na název objektu ChartArea . Tato oblast grafu se pak zarovná na AlignmentStyle základě nastavení, které definuje zarovnání, které se má použít, a AlignmentOrientation nastavení, které definuje prvky oblasti grafu, které by se měly použít k nastavení zarovnání.

AlignWithChartArea Pokud vlastnost není nastavená, oblast grafu nebude zarovnaná bez ohledu na nastavení AlignmentStyle a AlignmentOrientation nastavení.

Platí pro