This example illustrates loading of the dashboard, and saving to the file.

Installation and running
Use npm to install requred modules:
$ npm install
Run Sample:
$ npm start

Step by step
Stimulsoft Dashboards.JS module loading:
var Stimulsoft = require('stimulsoft-dashboards-js');
Creating new dashboard:
var report = Stimulsoft.Report.StiReport.createNewDashboard();
Loading sample dashboard template:
report.loadFile("Dashboard.mrt");
Save dashboard to file:
report.saveFile("Dashboard2.mrt");

In the screenshot below you can see the result of the sample code:

Loading a Dashboard and Saving a Dashboard

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.