I am attempting to change the chart theme dynamically, but am having some trouble.
I am successfully able to change the Kendo.[theme].min.css sheet on a dropdownlist that dynamically changes the site's kendo widgets. However, this does not propagate to the charts inside the site, but instead sets the theme to "default". I have also tried to set the theme via JavaScript to no avail.
However, if i set the theme statically in the widget using the html helper, it obviously works and changes the theme.
Any ideas?
$(
"#chart"
).data(
"kendoChart"
).options.theme = localStorageItem;
//localStorageItem = "flat" for example.