Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataLabel Property

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 microsoft.office.interop.excel.dll)

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

Community Additions

© 2015 Microsoft