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.
Visual Basic (Declaration) | |
---|---|
Public Property DockToChartArea As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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.
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