Showing a Dashboard in the Viewer
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.A dashboard is a report created with
Load and show the dashboard.
How it works. Dashboards reuse the report engine, so the same load-and-show flow applies — the template just contains dashboard elements instead of bands.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

CreateNewDashboard(); once loaded it opens in the WinForms viewer just like a report.Load and show the dashboard.
var report = StiReport.CreateNewDashboard();
report.Load("Dashboards\\DashboardChristmas.mrt");
report.Show();StiReport.CreateNewDashboard()— creates a dashboard-type report.Show()opens the standalone viewer; to embed it, add aStiViewerControl { Report = report }to a panel.
How it works. Dashboards reuse the report engine, so the same load-and-show flow applies — the template just contains dashboard elements instead of bands.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:
