Showing a Dashboard in the Viewer
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.This example shows how to load a dashboard template and show it in the viewer.
First, you need to add the
Next, create dashboard object and load dashboard:
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

First, you need to add the
StiBlazorViewer component to the page.
@using Stimulsoft.Report.Blazor;
...
<StiBlazorViewer Report="@Report" Theme="StiViewerTheme.Office2013WhiteCarmine"></StiBlazorDesigner>
...
Next, create dashboard object and load dashboard:
...
// Create dashboard Object
this.Report = StiReport.CreateNewDashboard();
// Load dashboard template
this.Report.Load("Dashboards/DashboardChristmas.mrt");
...На скриншоте ниже Вы можете увидеть результат выполнения данного кода:
