Skip to content

Commit ddd28a8

Browse files
authored
Merge pull request #41 from steveren/DOCSP-2885
DOCSP-2885: Replace use of nested with embedded
2 parents b6cf8a4 + bad20dc commit ddd28a8

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

source/build-charts.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ To begin building a new chart:
9797

9898
.. note::
9999

100-
For details on how MongoDB Charts handles nested objects and nested
101-
arrays in fields, see the
102-
:ref:`Nested Objects and Arrays <nested-objects-arrays>` page.
100+
For details on how MongoDB Charts handles embedded objects and
101+
embedded arrays in fields, see the
102+
:ref:`Embedded Objects and Arrays <embedded-objects-arrays>`
103+
page.
103104

104105
#. Give your chart a title by hovering over the
105106
:guilabel:`Enter a title for your chart` text clicking the
@@ -117,7 +118,7 @@ To begin building a new chart:
117118

118119
/encoding-channels
119120
/filter-documents
120-
/nested-objects-arrays
121+
/embedded-objects-arrays
121122
/bin-data
122123
/sort-limit-data
123124
/sample-mode

source/nested-objects-arrays.txt renamed to source/embedded-objects-arrays.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
.. _nested-objects-arrays:
1+
.. _embedded-objects-arrays:
22

3-
=========================
4-
Nested Objects and Arrays
5-
=========================
3+
===========================
4+
Embedded Objects and Arrays
5+
===========================
66

77
.. default-domain:: mongodb
88

@@ -12,31 +12,31 @@ Nested Objects and Arrays
1212
:depth: 1
1313
:class: singlecol
1414

15-
MongoDB Charts can directly access fields in nested objects and can
15+
MongoDB Charts can directly access fields in embedded objects and can
1616
process array fields flexibly according to your use case.
1717

18-
Nested Objects
19-
--------------
18+
Embedded Objects
19+
----------------
2020

21-
Nested objects in the :guilabel:`Fields` section of the Chart Builder
21+
Embedded objects in the :guilabel:`Fields` section of the Chart Builder
2222
are indicated by curly brackets (``{}``) next to their name. To expand
2323
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
2525
:ref:`encoding channels <encoding-channels>` just like any other field
2626
to visualize those fields in your chart.
2727

2828
.. example::
2929

3030
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
3232
objects by clicking the arrows to the left of their names, then in
3333
the bar chart we compare the
3434
mean ``imdb.rating`` in the :guilabel:`Y-axis` with
3535
``awards.wins`` in the :guilabel:`X-axis`.
3636

3737
.. figure:: /images/charts/charts-nested-obj-3.png
3838
:figwidth: 720px
39-
:alt: Create chart nested object
39+
:alt: Create chart embedded object
4040

4141
.. note::
4242

@@ -153,6 +153,6 @@ As with array-valued fields, :ref:`encoding channels
153153
<encoding-channels>` require an array reduction option to be specified
154154
when handling fields *within* an array. In this case, the selected
155155
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
157157
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.

source/index.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ calculations such as mean and standard deviation to provide further
2828
insight into your data.
2929

3030
Further, |charts| handles document-based data, including
31-
:ref:`nested objects and arrays <nested-objects-arrays>`. This provides
32-
the flexibility of structuring data how it fits best for your
31+
:ref:`embedded objects and arrays <embedded-objects-arrays>`. This
32+
provides the flexibility of structuring data how it fits best for your
3333
application while still retaining powerful visualization capabilities.
3434

3535
Concepts

0 commit comments

Comments
 (0)