A whole dashboard — or a single element — can be exported to PDF or Excel straight from JavaScript.

Export the whole dashboard.
report.exportDocumentAsync(function (data) {
    Stimulsoft.System.StiObject.saveAs(data, report.reportName + ".pdf", "application/pdf");
}, Stimulsoft.Report.StiExportFormat.Pdf);   // or Excel2007
Export a single element.
var chart = report.getComponentByName("Chart1");
Stimulsoft.Dashboard.Export.StiDashboardExportTools.exportAsync(function (data) {
    Stimulsoft.System.StiObject.saveAs(data, report.reportName + ".pdf", "application/pdf");
}, chart, Stimulsoft.Report.StiExportFormat.Pdf);

How it works. Both the dashboard and its individual elements render to file bytes on the client, so users can save the whole board or one panel.

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.