Setting Up ZK Charts"
Raymondchao (talk | contribs) |
Raymondchao (talk | contribs) |
||
Line 24: | Line 24: | ||
<version>1.0.0-BETA</version> | <version>1.0.0-BETA</version> | ||
</dependency> | </dependency> | ||
+ | </source> | ||
+ | |||
+ | '''Note''': The 1.0.0-BETA version is temporarily put in''' ZK PE-eval / EE- eval''' maven repository '''only'''. Please add the following config if you want to try the beta version. | ||
+ | <source lang="xml" line="false> | ||
+ | <repositories> | ||
+ | <repository> | ||
+ | <id>ZK PE/EE Evaluation</id> | ||
+ | <url>http://mavensync.zkoss.org/eval/</url> | ||
+ | </repository> | ||
+ | </repositories> | ||
</source> | </source> | ||
Revision as of 01:52, 9 April 2014
Prerequisites
Installing the Libraries
Depending on your IDE the steps will differ, however the most important part is to include both ZK Charts and ZK’s JAR files in your project. The project should be a ZK Project or a Web Application Project depending on what environment you are using. Then, place the charts jar under WEB-INF/lib folder.
The easiest way to create a compatible project is to use ZK Studio and then include charts.jar as a library
Maven Project
If your project is managed by Maven already, you can adopt ZK Charts easily by simply adding a dependency like the following [1]:
1 <dependency>
2 <groupId>org.zkoss.chart</groupId>
3 <artifactId>zkcharts</artifactId>
4 <version>1.0.0-BETA</version>
5 </dependency>
Note: The 1.0.0-BETA version is temporarily put in ZK PE-eval / EE- eval maven repository only. Please add the following config if you want to try the beta version.
1 <repositories>
2 <repository>
3 <id>ZK PE/EE Evaluation</id>
4 <url>http://mavensync.zkoss.org/eval/</url>
5 </repository>
6 </repositories>
- ↑ If you didn't setup zk maven repository yet, you have to setup zk maven repository as well.
< Get Complete Source Code of This Book >