SeriesCollection Method

Microsoft Graph Visual Basic

expression.SeriesCollection(Index)

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

Index    Optional Variant. The name or number of the series.

Example

This example turns on data labels for series one.

myChart.SeriesCollection(1).HasDataLabels = True