Assigning a Dashboard to the Viewer
Our sample projects and report templates can help you learn the basics of working with our products.Dashboards.JS displays interactive dashboards entirely in the browser using the same viewer as Reports.JS.
In the screenshot below you can see the result of the sample code:

var viewer = new Stimulsoft.Viewer.StiViewer(null, "StiViewer", false);
var report = Stimulsoft.Report.StiReport.createNewDashboard();
report.loadFile("../dashboard/Christmas.mrt");
viewer.report = report;
viewer.renderHtml();How it works. A dashboard is a StiReport created with createNewDashboard() and loaded from an .mrt file. Assigning it to viewer.report and calling renderHtml() draws the interactive dashboard — charts, tables, gauges and filters — in the page.In the screenshot below you can see the result of the sample code:
