Add Method (WCDataLabelsCollection Collection)

         Example         Applies To

Adds data labels to the specified series. Creates a new, uninitialized WCDataLabels object and adds it to the specified WCDataLabelsCollection collection. A series can have only one set of data labels; this method fails if the WCDataLabelsCollection collection already contains a WCDataLabels object.

Syntax

expression.Add

expression   An expression that returns a WCDataLabelsCollection object.