Changing the dashboard Theme

Stimulsoft Dashboards.BLAZOR discussion
Post Reply
eriosmiranda
Posts: 1
Joined: Tue Apr 02, 2024 5:13 pm

Changing the dashboard Theme

Post by eriosmiranda »

I am developing a BI app in .net 8 with Stimulsoft 2024.2.2 version and Radzen Blazor. I try to change the theme but don't works. Part of the code its as follows:

<div class="row">
<div class="col-md-8 col-lg-8">
<div>
<RadzenLabel Text="Dashboard" Component="DropDownBindValue" Style="margin-right: 8px; vertical-align: middle;" />
<RadzenDropDown @bind-Value=@seleccion Data=@lista TextProperty="DashboardNombre" ValueProperty="DashboardId" Change="@CambiaSeleccion" Style="width: 100%; max-width: 600px;" Name="DropDownTextValueProperties" />
</div>
</div>
<div class="col-md-1 col-lg-1">
<RadzenButton Click=@(args => OnClick("Visualizar")) Text="Visualizar" ButtonStyle="ButtonStyle.Primary" />
</div>
</div>
@if(Renderizar)
{
<div class="row">
<StiBlazorViewer ID="DashViewer" Report="@Report" Options="@Options" Theme="StiViewerTheme.Office2013WhiteViolet" />
</div>
}

Any suggestion it's welcomed. Sorry for my poor english.
Max Shamanov
Posts: 794
Joined: Tue Sep 07, 2021 10:11 am

Re: Changing the dashboard Theme

Post by Max Shamanov »

Hello,

Please try to use the follwing code:
"<StiBlazorViewer Report="@report" Theme="Stimulsoft.Report.Web.StiViewerTheme.Office2022BlackTeal" />"

If you use @using Stimulsoft.Report.Web
this should work:
<StiBlazorViewer Theme="StiViewerTheme.Office2022WhiteCarmine" />

Thank you.
Post Reply