WCDataLabel Object

                  Properties                 

WCTrendline object
WCDataLabel object
OWCFont

Represents the data label for a trendline. Only the WCTrendline object contains a WCDataLabel object (data labels for a series are represented by a WCDataLabels object).

Using the WCDataLabel Object

Use the DataLabel property of the WCTrendline object to return the WCDataLabels object for the trendline. A trendline has a data label when its IsDisplayingEquation property or IsDisplayingRSquared property is set to True; otherwise, the property returns Nothing.