Hi Thaban,
Greetings from Syncfusion.
We set the theme for the chart by using the Theme property
in the chart. We have created a simple blazor application using the Chart and
the dropdown. Based on the dropdown value, we can set the theme for the Chart.
Please find the below sample link for your reference.
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ChartSwitchTheme1638184057
Code Snippet:
<SfChart Title="Crude Steel Production Annual
Growth" Theme="@theme"></SfChart>
|
Screenshot:
Kindly, revert us if you have any concerns.
Regards,
Swetha