Trendline.DataLabel Property
Returns a DataLabel object that represents the data label associated with the trendline. Read-only.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property DataLabel As DataLabel
Get
'Usage
Dim instance As Trendline
Dim value As DataLabel
value = instance.DataLabel
DataLabel DataLabel { get; }
Property Value
Type: Microsoft.Office.Interop.Word.DataLabel
DataLabel
Remarks
To turn on data labels for a trendline you need to set the DisplayEquation property or the DisplayRSquared property to True.