ChartArea::AlignmentOrientation Property
Gets or sets the alignment orientation of a chart area.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[PersistenceModeAttribute(PersistenceMode::Attribute)] [BindableAttribute(true)] public: property AreaAlignmentOrientations AlignmentOrientation { AreaAlignmentOrientations get (); void set (AreaAlignmentOrientations value); }
Property Value
Type: System.Web.UI.DataVisualization.Charting::AreaAlignmentOrientationsAn AreaAlignmentOrientations enumeration value.
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.