Bewerken

Delen via


Trendline.DataLabel Property

Definition

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.

Applies to