This sample describes how to switch the dashboard theme between light, dark and blue themes in the embedded dashboard using JavaScript member API.
How can you explore?
The Select Theme listing displays the theme list to choose one and display in the viewer.
To explore this, choose a theme from Select Theme listing, and click Apply. Now, you will get the dashboard changed to the selected theme in the viewer section.
Properties
Select theme
Light
Dark
Blue
Apply
Click to apply any setting changes above.
Here is the code snippet that enables this functionality in your sample.