Is there anyway I can get the embedded charts to pull its data from a custom endpoint?
We are currently using dynamic collections but there doesn’t seem to be a way to create charts for dynamic collections
Is there anyway I can get the embedded charts to pull its data from a custom endpoint?
We are currently using dynamic collections but there doesn’t seem to be a way to create charts for dynamic collections
Hello!
To have embedded charts pull data from a custom endpoint, set up a custom API endpoint that retrieves data from your dynamic collections or other sources. Use JavaScript to fetch data from this endpoint and integrate it with a charting library like Chart.js or D3.js to dynamically generate and embed charts into your application or dashboard. This approach allows you to visualize data from dynamic collections effectively.
Topic | Replies | Views | Activity |
---|---|---|---|
API for MongoDB Atlas Charts | 1 | 629 | Dec 2024 |
Getting chart data using api | 2 | 511 | Jun 2024 |
How to set up MongoDB Charts in Nextjs? | 0 | 202 | Aug 2024 |
Get an average value of the sum of two fields | 1 | 39 | Sep 2024 |
search bar in filter in dashboard | 0 | 14 | Jan 17 |