Gets or sets a boolean value that determines if the legend is docked inside or outside of a ChartArea object.
Indicates that the legend is docked inside the chart area. This property is only available when DockToChartArea is set.
Visual Basic (Declaration) | |
---|---|
Public Property DockInsideChartArea As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool DockInsideChartArea {get; set;} |
Return Value
A value that determines if the legend is docked inside or outside of a chart area. Defaults to false.
If this property is set to false then the legend is docked outside of the plotted chart areas; if this property is set to true then the legend will be docked inside the chart area.
This property will have no effect if the name of a ChartArea object is not assigned to the DockToChartArea property.
NOTE: This only applies if the Position property is set to Auto. If this is not the case then DockInsideChartArea has 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