Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display different charts

 
tayo balogun
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends
I need information on how to display Different types of charts in a JSP page.
Thanks

Tayo
 
Patel Chintan
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should direct use third party framework for charts, and you can get help easily for that..
visit this.
www.jfree.org/jfreechart/
jasperforge.org
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cewolf is a tag library for putting charts into JSP pages. It's based on JFreeChart, but you don't need to know that library. You can find a link to an updated version of it (fewer bugs, more features) in my signature.

Jasper is a reporting library; I don't think it works well if all you want is charts in JSP pages.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me tell my experience.

cewolf is good and is sufficient for basic implementations. For more complex graphs, while you can still use cewolf to draw the charts, it would help if you know the jFreeChart library to constuct the right data model (basically you would have to wrap your data in jfreechart api objects) for cewolf to display the charts.

Last time I used it (some three years back), cewolf stored the generated image in session. Since we made heavy use of charts, the application began running into memory issues. I had to peek inside the code to look up the session attribute name and remove it for every request.

HTH
ram.


 
Onkar Joshi
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We use BIRT.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic