We are using AgGrid and AgChart in our Angular application, and we have a button in the navbar that switches the theme between light and dark. This button applies the theme globally. For AgGrid, it was easy to switch the theme by doing the following when the user presses the button: document.body.dataset["agThemeMode"] = "dark|light" But for AgChart, we didn't find any way to do it globally. In the documentation, it mentions that the availability of a dark theme can be set in the chart options, but it would a hassle to do it for each and every chart. What do you recommend in such a case? Continue reading...