Skip to content

Commit 5ade9ee

Browse files
jeff-allen-mongoJeff Allen
andcommitted
(DOCSP-12849): Customize scatter mark size (#425)
* (DOCSP-12849): Customize scatter mark scale * copy tweak Co-authored-by: Jeff Allen <[email protected]>
1 parent 8a7d078 commit 5ade9ee

File tree

4 files changed

+47
-21
lines changed

4 files changed

+47
-21
lines changed

snooty.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ toc_landing_pages = ["/installation", "/dashboards", "/data-sources",
1010
"/tutorial/movie-details/movie-details-tutorial-overview",
1111
"/chart-types", "/chart-type-reference/data-table",
1212
"/chart-type-reference/geo-spatial",
13-
"/chart-type-reference/choropleth",
14-
"/chart-type-reference/grid-charts",
15-
"/chart-type-reference/circular-charts",
13+
"/chart-type-reference/choropleth",
1614
"/customize-charts", "/embedding-charts",
1715
"/view-export-chart-data",
1816
"/embedding-tutorials",

source/chart-type-reference/circular-charts.txt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,19 @@ Circular Charts
66

77
.. default-domain:: mongodb
88

9-
.. class:: toc
9+
:doc:`/chart-type-reference/donut-chart/`
10+
.. include:: /includes/donut-blurb.rst
11+
12+
.. figure:: /images/charts/donut-simple-example.png
13+
:figwidth: 500px
14+
:alt: Example of a donut chart
1015

11-
:doc:`/chart-type-reference/donut-chart/`
12-
.. include:: /includes/donut-blurb.rst
13-
14-
.. figure:: /images/charts/donut-simple-example.png
15-
:figwidth: 545
16-
:alt: Example of a donut chart
17-
18-
:doc:`/chart-type-reference/gauge-chart/`
19-
.. include:: /includes/gauge-blurb.rst
20-
21-
.. figure:: /images/charts/gauge-chart.png
22-
:figwidth: 551
23-
:alt: Example of a gauge chart
16+
:doc:`/chart-type-reference/gauge-chart/`
17+
.. include:: /includes/gauge-blurb.rst
18+
19+
.. figure:: /images/charts/gauge-chart.png
20+
:figwidth: 500px
21+
:alt: Example of a gauge chart
2422

2523
.. toctree::
2624
:titlesonly:

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

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Scatter charts provide the following :ref:`encoding channels
3939
changes the size of the data point markers, with larger sizes
4040
indicating larger aggregated values.
4141

42+
.. seealso::
43+
44+
:ref:`Customize Mark Size <customize-scatter-marks>`
45+
4246
* - Color
4347
- *(Optional)* A :guilabel:`category` encoding channel that changes
4448
the color of the data point markers based on the value of the
@@ -85,12 +89,31 @@ Consider using a scatter chart to display:
8589
- Volume of sales data for selected retail outlets
8690
- Population density figures across several countries
8791

92+
.. _customize-scatter-chart:
8893

89-
Limitations
90-
-----------
94+
Customization Options
95+
---------------------
9196

92-
The maximum query response size for a scatter chart is 50000 documents.
97+
The following customization options are specific to scatter charts. To
98+
see all available customization options, see :ref:`customize-charts`.
99+
100+
.. _customize-scatter-marks:
101+
102+
Mark Size
103+
~~~~~~~~~
104+
105+
Adjust the size of the scatter marks. This option behaves differently
106+
based on whether you have a field mapped to the :guilabel:`Size`
107+
encoding channel.
93108

109+
- If you do not have a field mapped to :guilabel:`Size`, the
110+
:guilabel:`Mark Size` setting changes the size of the marks linearly
111+
based on the chosen value.
112+
113+
- If you have a field mapped to :guilabel:`Size`, the
114+
:guilabel:`Mark Size` setting changes the size of the largest mark,
115+
and also controls the difference between the smallest and largest
116+
marks.
94117

95118
Examples
96119
--------
@@ -138,4 +161,9 @@ year, which would make the chart too noisy to read.
138161

139162
.. figure:: /images/charts/scatter-chart-movie-details.png
140163
:figwidth: 750px
141-
:alt: Scatter chart example
164+
:alt: Scatter chart example
165+
166+
Limitations
167+
-----------
168+
169+
The maximum query response size for a scatter chart is 50000 documents.

source/customize-charts.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _customize-charts:
2+
13
================
24
Customize Charts
35
================

0 commit comments

Comments
 (0)