Skip to content

Commit 6b510e8

Browse files
zach-carrjeff-allen-mongo
authored andcommitted
(DOCSP-11925) Resize text labels (#410)
(DOCSP-11925) Resize text labels
1 parent bfbfed9 commit 6b510e8

File tree

7 files changed

+41
-1
lines changed

7 files changed

+41
-1
lines changed

source/chart-type-reference/data-table.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Limitations
101101

102102
The maximum query response size for a data table is 50000 documents.
103103

104+
.. _data-table-example:
104105

105106
Examples
106107
--------

source/chart-type-reference/gauge-chart.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ Consider using gauge charts to represent:
219219

220220
- The water level in a reservoir
221221

222+
.. _gauge-chart-example:
223+
222224
Example
223225
-------
224226

source/chart-type-reference/number-chart.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Limitations
3838

3939
The maximum query response size for a number chart is 5000 documents.
4040

41+
.. _number-chart-example:
4142

4243
Examples
4344
--------

source/chart-type-reference/word-cloud.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ Procedure
196196
#. Apply the ``words`` field to the :guilabel:`Size` encoding
197197
channel and aggregate based on the count of each individual word.
198198

199+
.. _word-cloud-example:
200+
199201
Your word cloud should look something like this:
200202

201203
.. figure:: /images/charts/word-cloud-example2.png

source/customize-charts.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ Your chart automatically updates as you modify customization options.
6262
/customize-charts/general-customization
6363
/customize-charts/field-level-options
6464
/customize-charts/value-axis-options
65-
/customize-charts/geospatial-customization
65+
/customize-charts/geospatial-customization

source/customize-charts/general-customization.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ This customization option is available on the following chart types:
5050
:ref:`Discrete Area <discrete-charts>`, and
5151
:ref:`Continuous Area <continuous-charts>`.
5252

53+
.. _show-hide-data-value-labels:
54+
5355
Show or Hide Data Value Labels
5456
------------------------------
5557

@@ -87,6 +89,8 @@ Line <discrete-charts>`, :ref:`Continuous Line <continuous-charts>`,
8789

8890
.. include:: /includes/fact-donut-chart-labels.rst
8991

92+
.. _show-hide-data-category-labels:
93+
9094
Show or Hide Data Category Labels on Donut Charts
9195
-------------------------------------------------
9296

@@ -106,6 +110,36 @@ To set this option:
106110

107111
.. include:: /includes/fact-donut-chart-labels.rst
108112

113+
Resize Text Labels
114+
------------------
115+
116+
You can resize the text labels on a chart. Resizing text labels changes:
117+
118+
- Axis labels
119+
- Axis tick labels
120+
- :ref:`Data value labels <show-hide-data-value-labels>`
121+
- :ref:`Data category labels <show-hide-data-category-labels>`
122+
- Legend caption and entries
123+
124+
To set this option:
125+
126+
1. Navigate to the :guilabel:`Customization` tab in the
127+
:doc:`Chart Builder </build-charts>`.
128+
129+
#. In the :guilabel:`General Customization` section, set the
130+
:guilabel:`Label Size` slider to the desired text size. You can
131+
adjust label text to be between 50% and 200% of the default text
132+
size.
133+
134+
Applicable Chart Types
135+
~~~~~~~~~~~~~~~~~~~~~~
136+
137+
This customization option is available for all charts *except*
138+
:ref:`Gauge <gauge-chart-example>`,
139+
:ref:`Number <number-chart-example>`,
140+
:ref:`Table <data-table-example>`, and
141+
:ref:`Word Cloud <word-cloud-example>` charts.
142+
109143
.. _color-palette-customization:
110144

111145
Color Palette Customization
20.2 KB
Loading

0 commit comments

Comments
 (0)