ShowLegend Property

Specifies whether the Chart,HistogramChart,LineChart, orSPCBarChart object's Legend is displayed.

Syntax

object.ShowLegend [= Boolean]

Properties

The ShowLegend property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Boolean

Whether the legend is displayed.

Settings

The settings for Boolean are:

Value

Description

True

The legend is displayed.

False

The legend is not displayed.

 

Applies To