Highcharts
CodePen jsFiddle
The demo shows how to export a Dashboards configuration to JSON. For demo purposes it's saved to local storage, but could e.g. be saved to a database and retrieved at a later stage. It also shows how to add a menu item to editMode.contextMenu in addition to an external button outside the dashboard, depending on your specific use case.
  • Click the Export dashboard button below the dashboard or in the top right dropdown menu, and the JSON configuration object will be saved to local storage.
  • Click the Destroy dashboard button to destroy the current dashboard.
  • Click the Create dashboard button to create a new dashboard from the configuration saved in local storage.
Status: the local storage is empty

Dashboards configuration preview