Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 718 Bytes

theme.md

File metadata and controls

32 lines (23 loc) · 718 Bytes

Theme

Reference: G2 Theme

Chart Theme

Bizcharts provides two built-in themes: default and dark.

Change Theme

You can change theme with the BizCharts.setTheme(themeName) API.

Exmaple:

  BizCharts.setTheme('dark');

Customize Theme

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