SeriesCollection Method

Microsoft Graph Visual Basic

SeriesCollection Method


Returns an object that represents either a single series or a collection of all the series in the chart or chart group.


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.


This example turns on data labels for series one.

myChart.SeriesCollection(1).HasDataLabels = True