ChLegend Object
The document is archived and information here might be outdated

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.


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


© 2016 Microsoft