Skip to main content

DataLabelBase Members

Contains basic data label options and serves as the base for the DataLabelOptions interface.

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.
LabelPosition Gets or sets the position of data labels on the chart.
NumberFormat Provides access to number format options for numerical values displayed in data labels.
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.
ShowBubbleSize Gets or sets a value indicating whether the bubble size should be displayed in a data label on the bubble chart.
ShowCategoryName Gets or sets a value indicating whether the category name should be displayed in a data label.
ShowLegendKey Gets or sets a value indicating whether the legend key should be displayed in a data label.
ShowPercent Gets or sets a value indicating whether the percentage value should be displayed in a data label on the pie or doughnut chart.
ShowSeriesName Gets or sets a value indicating whether the series name should be displayed in a data label.
ShowValue Gets or sets a value indicating whether the data point value should be displayed in a 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