.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DataLabelCollection Properties

A collection that stores customized data labels and data label options for a series in the chart.
Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
Fill Provides access to fill options for the specified drawing object. Inherited from ShapeFormatBase.
Font Provides access to font attributes for text displayed in a chart element. Inherited from ShapeTextFormat.
Hidden Gets or sets a value indicating whether the data label is hidden. Inherited from DataLabelBase.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
LabelPosition Gets or sets the position of data labels on the chart. Inherited from DataLabelBase.
LeaderLines Provides access to settings used to draw the leader lines for data labels in a pie or doughnut chart. Inherited from DataLabelOptions.
NumberFormat Provides access to number format options for numerical values displayed in data labels. Inherited from DataLabelBase.
Outline Provides access to the options used to format an outline of the specified drawing object. Inherited from ShapeFormatBase.
Separator Gets or sets the string value that represents a separator for different items displayed in a data label. Inherited from DataLabelBase.
ShowBubbleSize Gets or sets a value indicating whether the bubble size should be displayed in a data label on the bubble chart. Inherited from DataLabelBase.
ShowCategoryName Gets or sets a value indicating whether the category name should be displayed in a data label. Inherited from DataLabelBase.
ShowLegendKey Gets or sets a value indicating whether the legend key should be displayed in a data label. Inherited from DataLabelBase.
ShowPercent Gets or sets a value indicating whether the percentage value should be displayed in a data label on the pie or doughnut chart. Inherited from DataLabelBase.
ShowSeriesName Gets or sets a value indicating whether the series name should be displayed in a data label. Inherited from DataLabelBase.
ShowValue Gets or sets a value indicating whether the data point value should be displayed in a data label. Inherited from DataLabelBase.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.
TextDirection Gets or sets the text direction in a chart element. Inherited from ShapeTextFormat.
TextRotation Gets or sets the value in degrees that the text in a chart element should be rotated. Inherited from ShapeTextFormat.
See Also