Trendline.DataLabel Property

Definition

Returns a DataLabel object that represents the data label associated with the trendline. Read-only.

public:
 property Microsoft::Office::Interop::Word::DataLabel ^ DataLabel { Microsoft::Office::Interop::Word::DataLabel ^ get(); };
public Microsoft.Office.Interop.Word.DataLabel DataLabel { get; }
member this.DataLabel : Microsoft.Office.Interop.Word.DataLabel
Public ReadOnly Property DataLabel As DataLabel

Property Value

DataLabel

Remarks

To turn on data labels for a trendline you need to set the DisplayEquation property or the DisplayRSquared property to True.

Applies to