This documentation is archived and is not being maintained.

Point.DataLabel Property 

Returns a DataLabel object that represents the data label associated with the point or trendline.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim point1 As Point

Dim returnValue As DataLabel
returnValue = point1.DataLabel

DataLabel DataLabel {get;}
public DataLabel get_DataLabel();
function get DataLabel() : DataLabel;

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms