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


Gets or sets a string value that identifies the name of the ChartArea object that this Legend should be docked.


Chart area name the legend is docked to inside or outside.

Syntax

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

Return Value

A value that identifies the name of the ChartArea object that this Legend should be docked. Defaults to NotSet.

Remarks

If this property is set to NotSet then the legend is displayed outside of the plotted chart areas. If the name of a ChartArea object is used it will be docked to that chart area, and uses the Docking and DockInsideChartArea properties.

NOTE: This only applies if the Position property is set to Auto. If the Position value is not set to Auto then DockToChartArea will have no effect since the legend's position is determined by the Position property setting.

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.