See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

JScript

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

ExtraLegendEntries Property

Gets a collection of additional LegendEntry objects added to the legend.

[Visual Basic]
Public ReadOnly Property ExtraLegendEntries As LegendEntryCollection
[C#]
public LegendEntryCollection ExtraLegendEntries {get;}
[JScript]
public function get ExtraLegendEntries : LegendEntryCollection

Remarks

This collection allows you to add any number of custom legend entries to the legend of your chart.

Example

[C#] 

LegendEntry singleLegendEntry = new LegendEntry(); 
singleLegendEntry.Name="Sales more than $3500"; 
singleLegendEntry.Background.Color=Color.Red; 
Chart.ExtraLegendEntries.Add(singleLegendEntry); 
  
//For complete code see InvisibleLegendEntry.aspx sample.

[Visual Basic] 

Dim singleLegendEntry As New LegendEntry()
singleLegendEntry.Name = "Sales more than $3500"
singleLegendEntry.Background.Color = Color.Red
Chart.ExtraLegendEntries.Add(singleLegendEntry)

'For complete code see InvisibleLegendEntry.aspx sample.

See Also

Chart Class  | Chart Members

 

 


2002 - 2004 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.