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

AreaAlignmentOrientations

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

Atributy

Poznámky

Pomocí vlastností , a je možné zarovnat nebo synchronizovat dvě nebo více oblastí grafu AlignWithChartArea AlignmentOrientation vodorovně, AlignmentStyle svisle nebo oběma.

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

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

Platí pro