|
| 1 | +title: Select a dashboard for your chart. |
| 2 | +ref: new-chart-dashboard |
| 3 | +level: 4 |
| 4 | +content: | |
| 5 | + From the :guilabel:`Dashboards` tab, select the dashboard where you |
| 6 | + wish to add a new chart. For instructions on setting up a dashboard, |
| 7 | + see :doc:`Dashboards </dashboards>`. |
| 8 | +--- |
| 9 | +title: Click the :guilabel:`Add Chart` button at the top-right corner of |
| 10 | + the dashboard view. |
| 11 | +ref: new-chart-click-add |
| 12 | +level: 4 |
| 13 | +--- |
| 14 | +title: Choose your chart's data source. |
| 15 | +ref: new-chart-data-source |
| 16 | +level: 4 |
| 17 | +content: | |
| 18 | + In the :guilabel:`Data Source` dropdown, select the data source to |
| 19 | + be used for this chart. For information on adding data sources in |
| 20 | + MongoDB Charts, see :doc:`Data Sources <data-sources>`. |
| 21 | +--- |
| 22 | +title: Choose your chart type. |
| 23 | +ref: new-chart-type |
| 24 | +level: 4 |
| 25 | +content: | |
| 26 | + In the :guilabel:`Chart Type` dropdown, select the type for this |
| 27 | + chart. |
| 28 | +
|
| 29 | + .. admonition:: Info |
| 30 | + :class: note |
| 31 | +
|
| 32 | + Each chart type provides different visualization options |
| 33 | + for the fields in your data, reflected by various |
| 34 | + *encoding channels*. These channels dictate how your data is |
| 35 | + visualized and enable powerful |
| 36 | + :manual:`aggregations </reference/operator/aggregation/>` for |
| 37 | + your data. For details on the different encoding channel types, |
| 38 | + refer to the :ref:`Encoding Channels <encoding-channels>` |
| 39 | + page. |
| 40 | +--- |
| 41 | +title: Add fields to your chart. |
| 42 | +ref: new-chart-fields |
| 43 | +level: 4 |
| 44 | +content: | |
| 45 | + Drag fields from the :guilabel:`Fields` section to the desired |
| 46 | + :ref:`encoding channels <encoding-channels>` below the |
| 47 | + :guilabel:`Chart Type` dropdown. The fields listed correspond to the |
| 48 | + fields in your data source. You can search for a specific field in |
| 49 | + your data source by using the :guilabel:`Filter` search bar at the |
| 50 | + top of the :guilabel:`Fields` section. |
| 51 | +
|
| 52 | + .. seealso:: |
| 53 | +
|
| 54 | + For details on how MongoDB Charts handles embedded objects and |
| 55 | + embedded arrays in fields, see the |
| 56 | + :ref:`Embedded Objects and Arrays <embedded-objects-arrays>` |
| 57 | + page. |
| 58 | +
|
| 59 | +--- |
| 60 | +title: Title your chart. |
| 61 | +ref: new-chart-title |
| 62 | +level: 4 |
| 63 | +content: | |
| 64 | + Give your chart a title by hovering over the |
| 65 | + :guilabel:`Enter a title for your chart` text clicking the |
| 66 | + :guilabel:`Pencil Icon`. Click the :guilabel:`Green Check Mark` to |
| 67 | + save your title. |
| 68 | +--- |
| 69 | +title: Save your chart. |
| 70 | +ref: new-chart-save |
| 71 | +level: 4 |
| 72 | +content: | |
| 73 | + Once you are satisfied with your chart, click |
| 74 | + :guilabel:`Save Changes`. This saves your chart to your dashboard |
| 75 | + and redirects you to the dashboard view. |
0 commit comments