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


Gets or sets the alignment of an axis title.


Axis Title Alignment

Syntax

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

Remarks

Possible alignment values are "Center", "Far" and "Near". "Far" equates to the top or to the right, depending on the orientation of the axis or strip line. In the same manner "Near" equates to the bottom or to the right.

If you want more control over the positioning of an axis title you must perform custom drawing using the PostPaint or PrePaint event.

StripLine objects allow for further alignment and positioning of their title using the TitleLineAlignment and TitleAngle properties.

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.