I've got a chart, which I want to be able to dynamically set the theme for - based upon a value set in a ViewBag variable.
I can do this if the chart is defined in JavaScript, however I can't seem to set it when the chart is defined using the helper.
i.e.:-
If I do:-
.Theme(ViewBag.SelectedTheme) - the page returns an error. How can I do this?