LegendEntries Method

Microsoft Graph Visual Basic

expression.LegendEntries(Index)

expression    Required. An expression that returns one of the objects in the Applies To list.

Index    Optional Variant. The number of the legend entry.

Example

This example sets the font for legend entry one.

myChart.Legend.LegendEntries(1).Font.Name = "Arial"