Customize Style"

From Documentation
(Created page with "{{ZKChartsEssentialsPageHeader}} {{Template:UnderConstruction}} {{ZKChartsEssentialsPageFooter}}")
 
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

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

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 >


Last Update : 2014/03/06

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.