HasLegend Property

True if the specified chart has a legend. Read/write Boolean.

expression.HasLegend

*expression   * Required. An expression that returns a ChChart object.

Example

This example sets the specified chart to have a legend.

ChartSpace1.Charts(0).HasLegend = True

Applies to | ChChart Object

See Also | ChartSpaceLegend Property | HasChartSpaceLegend Property | HasChartSpaceTitle Property | HasTitle Property | Legend Property