Showing a Dashboard in the Viewer
Our sample projects and report templates can help you learn the basics of working with our products.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:
In the screenshot below you can see the result of the sample code:

First, you need to add the
StiBlazorViewer component to the page.
@using Stimulsoft.Report.Blazor;
...
<StiBlazorViewer Report="@Report"></StiBlazorDesigner>
...
Next, create dashboard object and load dashboard:
...
// Create dashboard Object
this.Report = StiReport.CreateNewDashboard();
// Load dashboard template
var dashboardBytes = await Http.GetByteArrayAsync("Dashboards/DashboardChristmas.mrt");
this.Report.Load(dashboardBytes);
...In the screenshot below you can see the result of the sample code:
