vizulyJuly 7, 2016 at 10:36 am #6326
I assume you have read our article “Themes and Skins” and are familiar with the relationship between a theme and a skin (A theme can have one or more skins, but a skin can only belong to one theme.)
There could be a couple of reasons you aren’t seeing the color change. But generally this is what you want to to do to make sure you have applied the theme correctly.
1. Initialize the theme with a given viz.
2. Make sure you have set the appropriate skin
mySkinNamemust be a valid reference to a skin within your theme.
3. Apply the theme:
If this is not working, then I recommend debugging the theme by placing a breakpoint in the theme.applyTheme() function and seeing what skin is being used and what properties are being set.
I hope that helps. If you have more specific information on exactly how you added your own theme I might be able to offer more detailed help.
(one thing to note, if you are using multiple themes on a given viz, you can only have one attached at time, and must release a theme before attaching a new one by calling
You must be logged in to reply to this topic.
© 2021 — vizuly.io