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


Gets or sets a value that represents an AreaAlignType value or bitwise "OR" AreaAlignType values to define the alignment to use.


Chart areas alignment type.

Syntax

Visual Basic (Declaration)  
Public Property AlignType As AreaAlignType
Visual Basic (Usage) Copy Code
Dim instance As ChartArea
Dim value As AreaAlignType
 
instance.AlignType = value
 
value = instance.AlignType
C#  
public AreaAlignType AlignType {get; set;}

Return Value

A value that represents an AreaAlignType value or bitwise OR'd values to define the alignment to use.

Remarks

Through the use of the AlignType property, two or more chart areas can be aligned horizontally, vertically or both. The alignment type is one of the following values, or a bitwise OR combination of the values below.

Member Name

Description

All

Chart Areas are aligned using all values.

AxesView

Chart Areas are aligned using the View of the ChartArea.

Cursor

Chart Areas are aligned on the Cursor.

None

Chart Areas are not automatically aligned.

Position

Chart Areas are aligned by ChartArea Position.

InnerPlotPosition

Chart Areas are aligned by the InnerPlotPostition of the ChartArea.


If the AlignWithChartArea value is not set, the AlignType property will have no effect.

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.