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.
In the screenshot below you can see the result of the sample code:

Exporting a Dashboard from Code

Hi. Need any help?