Skip to main content

DataLabel Members

A data label on a point of the chart series.

Properties

Name Description
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.
Index Gets the index of a data label.
LabelPosition Gets or sets the position of data labels on the chart. Inherited from DataLabelBase.
Layout Enables you to specify the exact position of a data label.
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.
Text Gets the text displayed in the data label.
TextDirection Gets or sets the text direction in a chart element. Inherited from ShapeTextFormat.
TextRotation Gets or sets the rotation angle of the text in a chart element. Inherited from ShapeTextFormat.

Methods

Name Description
ResetToMatchStyle() Removes custom formatting of the chart element and applies default formatting based on the chart style. Inherited from ShapeFormat.
See Also