Reference: G2 Theme
Bizcharts provides two built-in themes: default
and dark
.
You can change theme with the BizCharts.setTheme(themeName)
API.
Exmaple:
BizCharts.setTheme('dark');
Also, by customizing the theme config and then call the BizCharts.setTheme(themeConfig)
API.
Example:
const seaTheme = {
animate:false,
colors:{},
shapes:{},
};
BizCharts.setTheme(seaTheme);
More detail about theme customization, reference Theme API