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

Properties | Border Property | Bottom Property | Font Property | Interior Property | Left Property | LegendEntries Property | ObjectType Property | Parent Property | Position Property | Right Property | Top Property

Methods | Select Method

Parent Objects | ChartSpace Object | ChChart Object | ChChartSpace Object | ChLegendEntries Collection | ChLegendEntry Object

Child Objects | ChBorder Object | ChFont Object | ChInterior Object | ChLegendEntries Object