DataLabelCollection class

DataLabelCollection class

Represents a series labels.

The DataLabelCollection type exposes the following members:

Properties

PropertyDescription
chartReturns the parent chart.
Read-only IChart.
is_visibleFalse means that data label is not visible by default (and so all
Show*-flags (ShowValue, …) of the DefaultDataLabelFormat property are false).
Read-only bool.
count_of_visible_data_labelsGets the number of visible data labels in the collection.
Read-only int.
countGets the number of all data labels in the collection.
Read-only int.
default_data_label_formatGets the default data label format.
Read-only IDataLabelFormat.
leader_lines_formatRepresents data labels leader lines format.
Read-only IChartLinesFormat.
parent_seriesGets the parent series.
Read-only IChartSeries.
slide
presentation

Gets the data label for the data point with the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
hideMake data label hidden by default by setting all Show*-flags (ShowValue, …) of the
DefaultDataLabelFormat property to false state.
IsVisible will be false after this.
index_ofReturns an index of the specified DataLabel in the collection.

See Also