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.
Auf dem Screenshot unten Sie können das Ergebnis des Beispiel-Codes ansehen:

Exporting a Dashboard from Code

Hallo! Brauchen Sie Hilfe?