Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
bean in jsp
JAVA
hi
data not getting i
Nice
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

JFreeChart - An Introduction

                         

JFreeChart is a free open source java chart library. David Gilbert founded the JFreeChart project in February 2000. Now a days, it is used by around 40000 to 50000 developers. It is used to generate the charts like Area and Line Charts, Pie charts, Bar Charts, Bubble Charts, Gantt Charts. Developers get a better choice to add professional quality charts in swing and web based application by JFreeChart. JFreeChart provides many interactive features like tooltips etc. JFreeChart includes some of the following features as given below.

  • JFreeChart have well documented API, which supports the wide range of charts.
         
  • JFreeChart supports Swing components, vector graphics file format (like PDF, SVG and EPS) and image files (like JPEG and PNG).
         
  • JFreeChart is easy to extend and it can be used for developing client side and server side applications.

JFreeChart requires the JCommon class library.

JCommon – It is a collection of useful classes that is used by JFreeChart project. The JCommon library has common classes that provide some global utility functionality for non-GUI and GUI applications. Some of the following features are available in JCommon library:

  • a general logging framework   
  • user interface classes for displaying information about applications    
  • configuration and dependency management code
  • text utilities
  • custom layout managers
  • serialization utilities
  • a date chooser panel
  • XML parser support classes

In this section we are providing you some JFreeChart examples that is based on JFreeChart version 1.0.4. For compiling and running these following examples you must have to set two jar file: jfreechart-1.0.4-demo.jar and jcommon-1.0.8.jar, in your classpath.

Download the full source code with required JFreeChart library jar files

Chart and Dataset

In JFreeChart project, you have to create a Dataset for creating a chart . It contains the data, which displays in the chart. JFreeChart have many Dataset objects, that are used to create different types of charts. After creating the Dataset object actual chart can be created.

                         

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

1 comments so far (post your own) View All Comments Latest 10 Comments:

Hi

I downloaded the zip from the link above<required JFreeChart library jar files>. That does not work. You need additionally jfreechart-1.0.6.jar, itext-2.0.5.jar (manifest refers to itext-1.4.8.jar but I could not locate it) also in the class path. And I had to remove the lib/jfreechart-1.0.4-experimental.jar from the class path.

The jar itself would not work but after unjar'ing the jfreechart-1.0.4-demo and setting the classpath as above I got it to work.

Karanjit

Posted by karanjit singh on Friday, 09.21.07 @ 17:56pm | #28543

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.