Skip to content

v3.1.0 (@mongodb-js/charts-embed-dom)

Compare
Choose a tag to compare
@kristinamongo kristinamongo released this 12 Apr 08:35
· 7 commits to master since this release
7a97556

npm (scoped)

Dashboard embedding new methods and embedding options 🥳

  • Get an image of an embedded dashboard by using the new getImage() method to get PNG in base64 or binary encoding
  • Get the chart data from an embedded dashboard chart by using the new method getData() for dashboard charts
  • Added a new charts field in the dashboard embedding options for createDashboard() that allows you to configure the charts individually in an embedded dashboard. For now, you can specify a different filter for every chart in the embedded dashboard.