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


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.

Syntax

Visual Basic (Declaration)  
Public Property DockInsideChartArea As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Legend
Dim value As Boolean
 
instance.DockInsideChartArea = value
 
value = instance.DockInsideChartArea
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.

Remarks

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.

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.