Skip to content

Commit 4384cb0

Browse files
(DOCSP-5346): Each chart type can have a different maximum document count (#310)
* (DOCSP-5346): Each chart type can have a different maximum document count * Update source/chart-types.txt Co-Authored-By: jwilliams-mongo <[email protected]> * Update source/chart-types.txt Co-Authored-By: jwilliams-mongo <[email protected]> * Update source/chart-type-reference/geospatial-scatter.txt Co-Authored-By: jwilliams-mongo <[email protected]> * Update source/chart-types.txt Co-Authored-By: jwilliams-mongo <[email protected]> * Update source/chart-type-reference/choropleth.txt Co-Authored-By: jwilliams-mongo <[email protected]> * Update source/chart-type-reference/geospatial-heatmap.txt Co-Authored-By: jwilliams-mongo <[email protected]> * (DOCSP-5346): Each chart type can have a different maximum document count * (DOCSP-5346): Each chart type can have a different maximum document count Co-authored-by: jwilliams-mongo <[email protected]>
1 parent 4d26366 commit 4384cb0

14 files changed

+95
-5
lines changed

source/chart-type-reference/choropleth.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ A choropleth chart is a good choice to compare:
8989
a high-level comparison, consider using a
9090
:ref:`Data Table <data-table-ref>`.
9191

92+
Limitation
93+
----------
94+
95+
The maximum query response size for a choropleth chart is 5000 documents.
96+
97+
9298
Example
9399
-------
94100

source/chart-type-reference/column-bar-chart.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@ may be beneficial to use one over the other:
184184
- :ref:`Limit Data <charts-limit-data>`
185185
- :ref:`Bin data <charts-bin-data>`
186186

187+
Limitations
188+
-----------
189+
190+
The maximum query response size for column and bar charts is 5000 documents.
191+
192+
187193
Examples
188194
--------
189195

@@ -284,3 +290,4 @@ shade of green indicates a longer average runtime:
284290
.. figure:: /images/charts/colored-bar-chart-reference.png
285291
:figwidth: 750px
286292
:alt: Colored Bar Chart Reference
293+

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ You can use data tables to show:
9595
exercises categorized by the type of exercise and time of day the
9696
exercised was performed.
9797

98+
99+
Limitations
100+
-----------
101+
102+
The maximum query response size for a data table is 50000 documents.
103+
104+
98105
Examples
99106
--------
100107

@@ -161,6 +168,7 @@ mean weekly price as currency.
161168
Blank table cells indicate that there are no documents that match
162169
the corresponding intersection of ``property_type`` and ``suburb``.
163170

171+
164172
.. class:: hidden
165173

166174
.. toctree::

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ Consider using donut charts to display:
8080
values as a proportion to a whole, consider using a
8181
:ref:`column or bar chart <column-bar-chart-ref>`.
8282

83+
84+
Limitations
85+
-----------
86+
87+
The maximum query response size for a donut chart is 5000 documents.
88+
89+
8390
Examples
8491
--------
8592

@@ -135,3 +142,5 @@ documents with the same ``Activity Type`` value.
135142

136143
We see based on the visualization that the activity with the greatest
137144
total workout time is ``Surf``, followed by ``Bike Ride``.
145+
146+

source/chart-type-reference/geo-spatial.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ indicate data points on a map.
6363

6464
.. _heatmap-description:
6565

66+
6667
Heatmap
6768
-------
6869

@@ -73,6 +74,7 @@ intensity to compare concentrations of data points on a map.
7374
:figwidth: 572px
7475
:alt: Heatmap chart example
7576

77+
7678
.. class:: hidden
7779

7880
.. toctree::

source/chart-type-reference/geospatial-heatmap.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,8 @@ The :guilabel:`Coordinates` channel uses the ``location`` database
8282
field, which contains arrays of latitude-longitude pairs. The
8383
:guilabel:`Intensity` field uses the ``monthly_price`` database field,
8484
which contains monthly rental rates for each property in the database.
85+
86+
Limitation
87+
----------
88+
89+
The maximum query response size for a geospatial heatmap is 50000 documents.

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ indicates the aggregation value for the different circle sizes.
7979
If no fields are encoded in the :guilabel:`Size` encoding channel, |charts-short| displays all points with the same size.
8080

8181

82-
Limitations
83-
-----------
84-
85-
The maximum query response size for Scatter charts is 1000 documents.
86-
8782
Build a Geospatial Scatter Chart
8883
--------------------------------
8984

@@ -118,3 +113,9 @@ To create a geospatial scatter chart:
118113
#. Click the pencil icon above the chart to give it name.
119114

120115
#. Click :guilabel:`Save and Close`.
116+
117+
118+
Limitations
119+
-----------
120+
121+
The maximum query response size for a geospatial scatter chart is 1000 documents.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Grid Charts
2626
.. figure:: /images/charts/scatter-chart-small.png
2727
:figwidth: 100%
2828

29+
2930
.. class:: hidden
3031

3132
.. toctree::

source/chart-type-reference/heatmap.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ choice to display:
7272
data. With naturally ordered datasets, heatmaps highlight areas of
7373
concentration within the data.
7474

75+
Limitations
76+
-----------
77+
78+
The maximum query response size for a heatmap is 5000 documents.
79+
80+
7581
Example
7682
-------
7783

source/chart-type-reference/line-area-chart.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ showing relative percentages.
9898
For a detailed example, see the :ref:`100% Stacked Area Chart Example
9999
<100-stacked-area-example>`.
100100

101+
102+
Limitation
103+
----------
104+
105+
The maximum document limit for discrete line and area charts is 5000 documents.
106+
107+
101108
.. _continuous-charts:
102109

103110
Continuous Line and Area Charts
@@ -110,6 +117,7 @@ chart would be useful to visualize stock closing prices over time,
110117
assuming each closing price comes from a distinct document in the
111118
dataset.
112119

120+
113121
Continuous Chart Encoding Channels
114122
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115123

@@ -151,6 +159,12 @@ Continuous line and area charts provide the following
151159
mapped to the :guilabel:`Y Axis aggregation`
152160
:ref:`encoding channel <encoding-channels>`.
153161

162+
Limitation
163+
----------
164+
165+
The maximum document limit for continuous line and area charts is 50000 documents.
166+
167+
154168
Discrete Area Versus Continuous Area Charts Display
155169
---------------------------------------------------
156170

0 commit comments

Comments
 (0)