Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Display different charts

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends
I need information on how to display Different types of charts in a JSP page.
Thanks

Tayo
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We use BIRT.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic