Setting Up ZK Charts"
From Documentation
m (→Maven Project) |
m (→Maven Project) |
||
Line 17: | Line 17: | ||
− | If your project is managed by Maven already, you can adopt ZK Charts easily by simply adding a dependency like the following | + | If your project is managed by Maven already, you can adopt ZK Charts easily by simply adding a dependency like the following <ref>If you didn't setup zk maven repository yet, you have to [[ZK_Installation_Guide/Setting_up_IDE/Maven/Use_ZK_Maven_Artifacts/Resolving_ZK_Framework_Artifacts_via_Maven#How_to_Use_ZK_Maven_Repository | setup zk maven repository]] as well.</ref>: |
<source lang="xml" line="false> | <source lang="xml" line="false> |
Revision as of 04:58, 7 March 2014
Prerequisites
- Downloaded ZK 7 from [1].
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>charts</artifactId>
4 <version>1.0.0-BETA</version>
5 </dependency>
- ↑ 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 >