Customize Style"
From Documentation
Raymondchao (talk | contribs) |
Raymondchao (talk | contribs) |
||
Line 9: | Line 9: | ||
Here are a list of the themes that you can choose from: | Here are a list of the themes that you can choose from: | ||
− | + | === Default === | |
<source lang="java" line="false"> | <source lang="java" line="false"> | ||
chart.setTheme(Theme.DEFAULT); | chart.setTheme(Theme.DEFAULT); | ||
</source> | </source> | ||
− | + | === Grid === | |
<source lang="java" line="false"> | <source lang="java" line="false"> | ||
chart.setTheme(Theme.GRID); | chart.setTheme(Theme.GRID); | ||
</source> | </source> | ||
− | + | === Skies === | |
<source lang="java" line="false"> | <source lang="java" line="false"> | ||
chart.setTheme(Theme.SKIES); | chart.setTheme(Theme.SKIES); | ||
</source> | </source> | ||
− | + | === Gray === | |
<source lang="java" line="false"> | <source lang="java" line="false"> | ||
chart.setTheme(Theme.GRAY); | chart.setTheme(Theme.GRAY); | ||
</source> | </source> | ||
− | + | === Dark blue === | |
<source lang="java" line="false"> | <source lang="java" line="false"> | ||
chart.setTheme(Theme.DARK_BLUE); | chart.setTheme(Theme.DARK_BLUE); | ||
</source> | </source> | ||
− | + | === Dark green === | |
<source lang="java" line="false"> | <source lang="java" line="false"> | ||
chart.setTheme(Theme.DARK_GREEN); | chart.setTheme(Theme.DARK_GREEN); |
Revision as of 01:43, 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 >