Gets or sets a value that determines where the legend is docked.
Legend docking
Visual Basic (Declaration) | |
---|---|
Public Property Docking As LegendDocking |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public LegendDocking Docking {get; set;} |
Return Value
A LegendDocking enumeration value. Defaults to "LegendDocking.Right".
The legend can be docked to the top, left, bottom or right of either the entire chart image or either inside or outside of a chart area.
If DockInsideChartArea property is set to false then docking applies to the entire chart image.
If DockInsideChartArea property is set to true then docking applies to the ChartArea object specified by the DockToChartArea property .
This property has no effect if the Position property is not set to Auto.
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