LegendEntries Property

Microsoft Office Web Components Visual Basic

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