DataLabelCollection Methods
A collection that stores customized data labels and data label options for a series in the chart.Name | Description |
---|---|
Add(Int32) | Creates a new item and adds it to the collection. |
Clear() | Removes all items from a collection. |
Contains(DataLabel) | Determines whether the collection contains the specified item. |
CopyTo(Array, Int32) | Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection. |
FindByIndex(Int32) | Gets an item by its index in the collection. |
GetEnumerator() | Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>. |
IndexOf(DataLabel) | Returns the index of the specified item in the collection. |
IsVisible(Int32) | Determines whether a data label is visible for the specified data point. |
Remove(DataLabel) | Removes the specified data label from the collection. |
RemoveAt(Int32) | Removes the item at the specified index of the DataLabelCollection instance. |
ResetReference() | Resets the reference to cells that contain data labels. |
ResetToMatchStyle() | Removes custom formatting of the chart element and applies default formatting based on the chart style. Inherited from ShapeFormat. |
SetReference(CellRange) | Specifies the cell range used as a source for the data labels. |
SetReference(String) | Specifies the cell range used as a source for the data labels. |
SetVisibility(Int32, Boolean) | Shows or hides a data label for the specified data point. |
See Also