Share via


LegendEntries Property

Returns a ChLegendEntries collection for the specified legend.

expression.LegendEntries

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

Remarks

For information about returning a single member of a collection, see Returning an Object from a Collection .

Example

This example hides the specified legend entry.

ChartSpace1.Charts(0).Legend.LegendEntries(1).Visible = False

Applies to | ChLegend Object