• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Third Party Bar Chart tools

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 43016
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In regards to GWT integration, I mean having the bar charts work with the Google Web Toolkit (GWT):


Thank you very much!
What does a metric clock look like? I bet it is nothing like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic