1
- .. _nested -objects-arrays:
1
+ .. _embedded -objects-arrays:
2
2
3
- =========================
4
- Nested Objects and Arrays
5
- =========================
3
+ ===========================
4
+ Embedded Objects and Arrays
5
+ ===========================
6
6
7
7
.. default-domain:: mongodb
8
8
@@ -12,31 +12,31 @@ Nested Objects and Arrays
12
12
:depth: 1
13
13
:class: singlecol
14
14
15
- MongoDB Charts can directly access fields in nested objects and can
15
+ MongoDB Charts can directly access fields in embedded objects and can
16
16
process array fields flexibly according to your use case.
17
17
18
- Nested Objects
19
- --------------
18
+ Embedded Objects
19
+ ----------------
20
20
21
- Nested objects in the :guilabel:`Fields` section of the Chart Builder
21
+ Embedded objects in the :guilabel:`Fields` section of the Chart Builder
22
22
are indicated by curly brackets (``{}``) next to their name. To expand
23
23
an object field, click the arrow to the left of the field name. You can
24
- drag nested object fields onto the desired
24
+ drag embedded object fields onto the desired
25
25
:ref:`encoding channels <encoding-channels>` just like any other field
26
26
to visualize those fields in your chart.
27
27
28
28
.. example::
29
29
30
30
The ``video.movieDetails`` data source in the following example
31
- contains nested objects named ``awards`` and ``imdb``. We expand the
31
+ contains embedded objects named ``awards`` and ``imdb``. We expand the
32
32
objects by clicking the arrows to the left of their names, then in
33
33
the bar chart we compare the
34
34
mean ``imdb.rating`` in the :guilabel:`Y-axis` with
35
35
``awards.wins`` in the :guilabel:`X-axis`.
36
36
37
37
.. figure:: /images/charts/charts-nested-obj-3.png
38
38
:figwidth: 720px
39
- :alt: Create chart nested object
39
+ :alt: Create chart embedded object
40
40
41
41
.. note::
42
42
@@ -153,6 +153,6 @@ As with array-valued fields, :ref:`encoding channels
153
153
<encoding-channels>` require an array reduction option to be specified
154
154
when handling fields *within* an array. In this case, the selected
155
155
reduction is applied to the array containing the target field.
156
- Additionally, in the case of nested arrays, you must select a reduction
156
+ Additionally, in the case of embedded arrays, you must select a reduction
157
157
option for the top-level array and all sub-arrays. Note that different
158
- reduction options may be used for each nested array.
158
+ reduction options may be used for each embedded array.
0 commit comments