Skip to content

Commit 7312970

Browse files
authored
DOCSP-20629 As a developer, I can programmatically request a chart's u… (#525)
* DOCSP-20629 As a developer, I can programatically request a chart's underlying data * Test staging? * Test staging part 2 * Copy review feedback
1 parent b3155b7 commit 7312970

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/includes/get-chart-data-details.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ you can download your data from the :guilabel:`Chart Data` modal. To
1212
download your data, click :guilabel:`Download - CSV` or
1313
:guilabel:`Download - JSON`.
1414

15+
.. note::
16+
17+
You can also retrieve chart data using the
18+
:doc:`Embedding SDK </embedding-charts-sdk/>`
19+
``getData()`` method. To learn more about SDK API methods, see the
20+
`Embedding SDK Reference <https://www.npmjs.com/package/@mongodb-js/charts-embed-dom>`_.
21+
1522
.. figure:: /images/charts/editor-chart-data.png
1623
:figwidth: 60%
1724
:alt: Viewing chart data will display a table of the values used to create a chart. It also allows for downloading a CSV or JSON representation of that table.

0 commit comments

Comments
 (0)