ChLegend Object

         
Multiple objects
ChLegend
Multiple objects

Represents a chart workspace or chart legend. A chart or chart workspace can have only one legend. The ChLegend object contains a ChLegendEntries collection that contains one or more ChLegendEntry objects.

Using the ChLegend object

Use the HasLegend property or the HasChartSpaceLegend property to enable the legend.

The following properties return a ChLegend object.

The ChartSpace object�s ChartSpaceLegend property

The ChChart object�s Legend property

The ChLegendEntries object�s Parent property

The ChLegendEntry object�s Parent property