This example shows how to load a dashboard template and show it in the viewer.

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);

...

Auf dem Screenshot unten Sie können das Ergebnis des Beispiel-Codes ansehen:

Showing a Dashboard in the Viewer

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.