Dundas Chart for Windows Forms
AlignWithChartArea Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > ChartArea Class : AlignWithChartArea Property


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.

Syntax

Visual Basic (Declaration)  
Public Property AlignWithChartArea As String
Visual Basic (Usage) Copy Code
Dim instance As ChartArea
Dim value As String
 
instance.AlignWithChartArea = value
 
value = instance.AlignWithChartArea
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.

Remarks

Through the use of the ChartArea properties, AlignWithChartAreaAlignOrientation 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 (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.

Requirements

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

See Also

© 2009 All Rights Reserved.