Data labels can be automatically added to pie chart and donut chart slices as well as funnel chart areas. what labels are displayed is controlled by the series "dataLabel" option. There are 4 types of data labels to display:

- "label" - label of the point.
- "value" - value of the point.
- "percent" - percent of the whole (pie/donut/funnel) of the point.
- Array - custom array of data point labels, one for each point.

Formatting of labels is controlled through the series "dataLabelsFormatString" option. By default, the format string will be set based on the label type:

- "label" - '%s', raw string.
- "value" - '%d', integer format.
- "percent" - '%d%%', integer with % sign appended.
- Array - '%s', raw string.

The following examples will clarify usage as well as other options. By default, data labels are turned off. They are enabled by setting the "showDataLabels: true" option. Below is the default configuration for a pie chart:

Notice that no data label was shown for "Insignia". This is because the area of its slice is less than the "dataLabelThreshold" (3% by default). The threshold is applicable no matter what type of label we used. We can change the threshold and the format string for the label in the following example:

Data labels function similarly for funnel and donut plots. Here is a funnel plot with the "dataLabels" option set to display the point label. Note that the label for "Insignia" is not displayed because Insignia represents less than 3% of the overall chart area, which is below the dataLabelThreshold:

The last example shows usage of a custom dataLabels array. Again, labels for small sections will not be displayed unless the "dataLabelThreshold" is reduced (it is set to 3 percent by default).