Trendline.DataLabel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a DataLabel object that represents the data label associated with the point or trendline.
public:
property Microsoft::Office::Interop::Excel::DataLabel ^ DataLabel { Microsoft::Office::Interop::Excel::DataLabel ^ get(); };
public Microsoft.Office.Interop.Excel.DataLabel DataLabel { get; }
Public ReadOnly Property DataLabel As DataLabel
Property Value
Remarks
To turn on data labels for a trendline you need to set the DisplayEquation property or the DisplayRSquared property to True.