Skip to content

Commit 1c8b2ba

Browse files
(DOCSP-9285): Add behavior for donut labels with many categories (#347)
* (DOCSP-9285): Add behavior for donut labels with many categories * copy review feedback
1 parent 355a9de commit 1c8b2ba

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

source/customize-charts/general-customization.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Show or Hide Data Value Labels
5454
------------------------------
5555

5656
You can dictate whether |charts-short| displays text labels for your
57-
data values. Data value labels show the exact values of the data points
58-
in the visualization.
57+
data **values**. Data value labels show the exact values of your data
58+
points.
5959

6060
To set this option:
6161

@@ -83,14 +83,15 @@ Line <discrete-charts>`, :ref:`Continuous Line <continuous-charts>`,
8383
:ref:`Continuous Area <continuous-charts>`, and
8484
:ref:`Donut <donut-chart-ref>`.
8585

86+
.. note::
87+
88+
.. include:: /includes/fact-donut-chart-labels.rst
89+
8690
Show or Hide Data Category Labels on Donut Charts
8791
-------------------------------------------------
8892

89-
You can dictate whether |charts-short| displays category labels for
90-
segments in your donut charts. Category labels display the category
91-
corresponding to each donut section in text, which eliminates
92-
the need to hover over a section or rely on the segment color to
93-
determine its category.
93+
You can dictate whether |charts-short| displays text labels for
94+
data **categories** in your donut charts.
9495

9596
To set this option:
9697

@@ -101,6 +102,10 @@ To set this option:
101102
:guilabel:`Data Category Labels` toggle switch to the desired
102103
setting.
103104

105+
.. note::
106+
107+
.. include:: /includes/fact-donut-chart-labels.rst
108+
104109
.. _color-palette-customization:
105110

106111
Color Palette Customization
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
When you enable one or both of the
2+
:guilabel:`Data Value Labels` or :guilabel:`Data Category Labels`
3+
settings on a :ref:`Donut Chart <donut-chart-ref>` with many
4+
categories, |charts| only renders labels for the highest value
5+
categories.

0 commit comments

Comments
 (0)