Customize Style"
From Documentation
Raymondchao (talk | contribs) (Created page with "{{ZKChartsEssentialsPageHeader}} {{Template:UnderConstruction}} {{ZKChartsEssentialsPageFooter}}") |
Raymondchao (talk | contribs) |
||
Line 3: | Line 3: | ||
{{Template:UnderConstruction}} | {{Template:UnderConstruction}} | ||
+ | == Switching Bwteen Themes == | ||
+ | ZK Charts provides many predefined color themes for use. | ||
+ | |||
+ | |||
+ | Here are a list of the themes that you can choose from: | ||
+ | |||
+ | * Default | ||
+ | <source lang="java" line="false"> | ||
+ | chart.setTheme(Theme.DEFAULT); | ||
+ | </source> | ||
+ | * Grid | ||
+ | <source lang="java" line="false"> | ||
+ | chart.setTheme(Theme.GRID); | ||
+ | </source> | ||
+ | * Skies | ||
+ | <source lang="java" line="false"> | ||
+ | chart.setTheme(Theme.SKIES); | ||
+ | </source> | ||
+ | * Gray | ||
+ | <source lang="java" line="false"> | ||
+ | chart.setTheme(Theme.GRAY); | ||
+ | </source> | ||
+ | * Dark blue | ||
+ | <source lang="java" line="false"> | ||
+ | chart.setTheme(Theme.DARK_BLUE); | ||
+ | </source> | ||
+ | * Dark green | ||
+ | <source lang="java" line="false"> | ||
+ | chart.setTheme(Theme.DARK_GREEN); | ||
+ | </source> | ||
+ | |||
+ | == Customizing Colors == | ||
+ | === Color === | ||
+ | === Gradient === | ||
{{ZKChartsEssentialsPageFooter}} | {{ZKChartsEssentialsPageFooter}} |
Revision as of 01:41, 6 March 2014
Switching Bwteen Themes
ZK Charts provides many predefined color themes for use.
Here are a list of the themes that you can choose from:
- Default
1 chart.setTheme(Theme.DEFAULT);
- Grid
1 chart.setTheme(Theme.GRID);
- Skies
1 chart.setTheme(Theme.SKIES);
- Gray
1 chart.setTheme(Theme.GRAY);
- Dark blue
1 chart.setTheme(Theme.DARK_BLUE);
- Dark green
1 chart.setTheme(Theme.DARK_GREEN);
Customizing Colors
Color
Gradient
< Get Complete Source Code of This Book >