Customize Style"

From Documentation
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
+
=== Default ===
 
<source lang="java" line="false">
 
<source lang="java" line="false">
 
     chart.setTheme(Theme.DEFAULT);
 
     chart.setTheme(Theme.DEFAULT);
 
</source>
 
</source>
* Grid
+
=== Grid ===
 
<source lang="java" line="false">
 
<source lang="java" line="false">
 
     chart.setTheme(Theme.GRID);
 
     chart.setTheme(Theme.GRID);
 
</source>
 
</source>
* Skies
+
=== Skies ===
 
<source lang="java" line="false">
 
<source lang="java" line="false">
 
     chart.setTheme(Theme.SKIES);
 
     chart.setTheme(Theme.SKIES);
 
</source>
 
</source>
* Gray
+
=== Gray ===
 
<source lang="java" line="false">
 
<source lang="java" line="false">
 
     chart.setTheme(Theme.GRAY);
 
     chart.setTheme(Theme.GRAY);
 
</source>
 
</source>
* Dark blue
+
=== 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
+
=== 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

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.