dotnetCHARTING Send comments on this topic.
LegendBox Property
See Also 
dotnetCHARTING Namespace > ChartArea Class : LegendBox Property


Gets or sets a LegendBox object associated with this chart area.

Syntax

Visual Basic (Declaration) 
Public Property LegendBox As LegendBox
Visual Basic (Usage)Copy Code
Dim instance As ChartArea
Dim value As LegendBox
 
instance.LegendBox = value
 
value = instance.LegendBox
C# 
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).

See Also