ChartDataLabel Properties

The ChartDataLabel type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleIndex
Specifies the index of the containing element. This index shall determine which of the parent's children collection this element applies to. Default value is 0.
Public propertyCode exampleIsVisible
Returns true if this data label has something to display.
Public propertyCode exampleNumberFormat
Returns number format of the parent element.
Public propertyCode exampleSeparator
Gets or sets string separator used for the data labels on a chart. The default is a comma, except for pie charts showing only category name and percentage, when a line break shall be used instead.
Public propertyCode exampleShowBubbleSize
Allows to specify if bubble size is to be displayed for the data labels on a chart. Applies only to Bubble charts. Default value is false.
Public propertyCode exampleShowCategoryName
Allows to specify if category name is to be displayed for the data labels on a chart. Default value is false.
Public propertyCode exampleShowDataLabelsRange
Allows to specify if values from data labels range to be displayed in the data labels. Default value is false.
Public propertyCode exampleShowLeaderLines
Allows to specify if data label leader lines need be shown. Default value is false.
Public propertyCode exampleShowLegendKey
Allows to specify if legend key is to be displayed for the data labels on a chart. Default value is false.
Public propertyCode exampleShowPercentage
Allows to specify if percentage value is to be displayed for the data labels on a chart. Default value is false.
Public propertyCode exampleShowSeriesName
Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. By default false.
Public propertyCode exampleShowValue
Allows to specify if values are to be displayed in the data labels. Default value is false.
See Also