Muokkaa

Jaa


ChartArea.AlignmentOrientation Property

Definition

Gets or sets the alignment orientation of a chart area.

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

Property Value

An AreaAlignmentOrientations enumeration value.

Attributes

Remarks

Through the use of the AlignWithChartArea, AlignmentOrientation and AlignmentStyle properties, it is possible to align or synchronize two or more chart areas horizontally, vertically or both.

First, set the AlignWithChartArea property to the name of a ChartArea object. This chart area will then be aligned, based on the AlignmentStyle setting, which defines the alignment to use, and the AlignmentOrientation setting, which defines the elements of the chart area that should be used to set the alignment.

If the AlignWithChartArea property is not set, the chart area will not be aligned, regardless of the AlignmentStyle and AlignmentOrientation settings.

Applies to