DataLabel Interface
Represents the data label on a chart point or trendline.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)
Usage
Public Class ataLabelImplementation
Implements DataLabel
End Class
Dim ataLabelImplementation1 As New ataLabelImplementation()
Syntax
Public Interface DataLabel
public interface DataLabel
public interface class DataLabel
public interface DataLabel
public interface DataLabel
Remarks
On a series, the DataLabel object is a member of the DataLabels collection. The DataLabels collection contains a DataLabel object for each point. For a series without definable points (such as an area series), the DataLabels collection contains a single DataLabel object.
Use DataLabels(index), where index is the data-label index number, to return a single DataLabel object.
Use the DataLabel property to return the DataLabel object for a single point.
On a trendline, the DataLabel property returns the text shown with the trendline. This can be the equation, the R-squared value, or both (if both are showing).
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Excel Namespace