Introduction to jfreechart
Jfreechart is a pure Java graphics library,Mainly used to generate images
Is a popular JavaFree Open-source chart tools
Jfreechart is an independent software package and can be used independently. Of course, it can also be used in struts1.x.
For developers, it can be easily displayed in Web applications.Charts of Professional Quality
Download jfreechart
In http://www.jfree.org/jfreechart
Click on the rightProject page at SourceForge
Link
Then jump to the http://sourceforge.net/projects/jfreechart
Page
Click againView All files
Or downloadBrowse all files
You will see links to the three downloaded files.
Jfreechart, documentation, and jcommon are the dependent libraries of jfreechart.
HereJfreechart-1.0.9.zip is mandatory
, AndJfreechart-1.0.9-javadocs.zip is recommended download
Jfreechart-1.0.9.zip already contains jcommon. jar, but stillRecommended download jcommon-1.0.12.zip
It contains the source code and apidoc
Jfreechart Preview
ExtractedJfreechart-1.0.9 folder
There is a 734kbJfreechart-1.0.9-demo.jar
File
This isExecutable files
Double-click it to view some charts supported by jfreechart.
Use ant to generate jfreechart help document
SetJfreechart-1.0.9.zip
Decompress the package to get the jfreechart-1.0.9 folder
In the jfreechart-1.0.9 folder, you can seeAnt folder
There isBuild. xml
File
After checking build. XML, we found that there is<Target/>
Target
The role of this target isGenerate the jfreechart api html pages
Generate HTML documents
The premise is to install ant on the system, and it is recommended to add ant to classpath
Then open the command prompt,Unzip jfreechart-1.0.9.zip to the root directory of drive D.
SwitchD:/jfreechart-1.0.9/jfreechart-1.0.9/ant>
Medium
Then executeAnt javadoc
Command
Similarly, in jcommon, you can use ant to generate its javadoc documentation.