File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Third Party Bar Chart tools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Third Party Bar Chart tools" Watch "Third Party Bar Chart tools" New topic

Third Party Bar Chart tools

Michael K. Wilson
Ranch Hand

Joined: Apr 23, 2008
Posts: 45
Hello there,

Am researching 3rd party bar chart / libraries and tools which support Java integration...

These are the features that I am looking for:

- Must support line graphs, bar graphs, and pie charts. Additional graph
types would be nice but not mandatory.

- Graph presentation must be HIGHLY customizable. Colors, fonts, etc. CSS
styling would be a big plus.

- Must be cross-browser compatible.

- No dependencies on Flash, Java applets, etc. would be a plus.

- Easy integration with GWT-EX would be a big plus.

- Must at the very least be able to co-exist with GWT-EX.

- May be either client-side generated (Flash, Java applet, JavaScript, etc.)
or server-side generated (GIF output).

- If server-side generated, must have acceptable performance under high

- Must have reasonable (cheap!) licensing price.

Michael K. Wilson
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
That's a tall order! I'll mention a few I'm familiar with.

The commonly used Java libraries are JFreeChart (probably the one most widely used), JChart2D and OpenChart2D. They all support the chart types you mention.

The usual way of using these would be to have them generate images in a servlet which then get served to the browser, either directly, or by saving the image to a file first. For JFreeChart in particular a JSP tag library is available (called "cewolf") that makes it easy to embed charts into web pages. Being libraries, these could also be embedded into applets.

Since they all create images on the server, no cross-browser issues arise.

For a leighter-weight solution, have a look at the Google Chart API or a Java servlet implementation of it called Eastwood. Those aren't very configurable in terms of fonts etc., though.

I can't speak to GWT integration because I'm not sure what you mean by that.
Michael K. Wilson
Ranch Hand

Joined: Apr 23, 2008
Posts: 45
In regards to GWT integration, I mean having the bar charts work with the Google Web Toolkit (GWT):

Thank you very much!
I agree. Here's the link:
subject: Third Party Bar Chart tools
It's not a secret anymore!