.netCHARTING v10.3 Documentation


LegendBox Property (ChartArea)
Gets or sets a LegendBox object associated with this chart area.
Syntax
'Declaration
 
Public Property LegendBox As LegendBox
'Usage
 
Dim instance As ChartArea
Dim value As LegendBox
 
instance.LegendBox = value
 
value = instance.LegendBox
public LegendBox LegendBox {get; set;}
Remarks
This property is null by default. By instantiating a new LegendBox, LegendEntry objects of the series or element in this chart area will appear in this LegendBox. Otherwise, they would appear in the main chart area's legend box (Chart.ChartArea.LegendBox).
Example
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also