Dundas Chart for ASP.NET
Alignment Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Legend Class : Alignment Property


Gets or sets the legend's alignment.


Legend alignment

Syntax

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

Return Value

A .NET Framework StringAlignment enumeration value that represents the legend's alignment. The default is Near.

Remarks

The legend can be aligned so that it is Near, Center or Far, and is affected by the Docking property setting.

If it is docked to the top or bottom then Near is to the left, otherwise it is to the top. The Far property setting is opposite to the Near setting.

Center always centers the legend, either vertically or horizontally.

Setting the Alignment property will have no effect if the Position property is not set to Auto.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.