Share via


ChLegend Object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.


Aa198414.parchild(en-us,office.10).gifChLegend
Aa198414.space(en-us,office.10).gifAa198414.parchild(en-us,office.10).gif

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