Gets or sets the name of the ChartArea object to which this chart area should be aligned.
Name of the chart area which is used for alignment.
Visual Basic (Declaration) | |
---|---|
Public Property AlignWithChartArea As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string AlignWithChartArea {get; set;} |
Return Value
A value that represents the name of a ChartArea object to which this chart area should be aligned. Default is NotSet.
Through the use of the ChartArea properties, AlignWithChartArea, AlignOrientation and AlignType, you are able to align or synchronize two or more chart areas horizontally, vertically or both. When the AlignWithChartArea property is set with the name of a ChartArea object, this chart area will be aligned based on the AlignType (defines the alignment to use) and AlignOrientation Property(defines the elements of the chart area that should be used to set the alignment).
If this value is not set, the chart area will not be aligned, regardless of the AlignType and AlignOrientation settings.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family