Trendline.DataLabel Property
Returns the data label that is associated with the trendline. Read-only DataLabel.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.PowerPoint.DataLabel
Remarks
To enable data labels for a trendline, you must set the DisplayEquation property or the DisplayRSquared property to true.