DataLabelCollection Class

Represents a series labels.
Inheritance Hierarchy
SystemObject
  Aspose.Slides.ChartsDataLabelCollection

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.12.0.0 (21.12)
Syntax
public class DataLabelCollection : IDataLabelCollection, 
	IEnumerable<IDataLabel>, IEnumerable, IChartComponent, ISlideComponent, 
	IPresentationComponent

The DataLabelCollection type exposes the following members.

Properties
  NameDescription
Public propertyChart
Returns the parent chart. Read-only IChart.
Public propertyCount
Gets the number of all data labels in the collection. Read-only Int32.
Public propertyCountOfVisibleDataLabels
Gets the number of visible data labels in the collection. Read-only Int32.
Public propertyDefaultDataLabelFormat
Gets the default data label format. Read-only IDataLabelFormat.
Public propertyIsVisible
False means that data label is not visible by default (and so all Show*-flags (ShowValue, ...) of the DefaultDataLabelFormat property are false). Read-only Boolean.
Public propertyItem
Gets the data label for the data point with the specified index.
Public propertyParentSeries
Gets the parent series. Read-only IChartSeries.
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHide
Make data label hidden by default by setting all Show*-flags (ShowValue, ...) of the DefaultDataLabelFormat property to false state. IsVisible will be false after this.
Public methodIndexOf
Returns an index of the specified DataLabel in the collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also