A dashboard is a report created with createNewDashboard(); the JavaScript viewer renders it on the page and can switch dashboards on demand.

Create the viewer and load a dashboard.
var viewer = new Stimulsoft.Viewer.StiViewer(new Stimulsoft.Viewer.StiViewerOptions(), "StiViewer", false);

var report = Stimulsoft.Report.StiReport.createNewDashboard();
report.loadFile("../dashboard/Christmas.mrt");
viewer.report = report;

viewer.renderHtml();   // render into the target element

How it works. Dashboards reuse the report engine, so the same viewer renders them in the browser and rebuilds whenever a new dashboard is assigned.

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.