• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFreeChart

 
Mudit Srivastava
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm currently using Struts 2.0.6. I want to allow my action to generate and return charts/graphs that can be be included in my web page. How can I use JFreeChart to accomplish this.

Regards
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The two principal ways are either to a) use the JFreeChart API to create a chart and write it to a JPEG file which your JSP page can then link to, or b) use a library like cewolf that puts a tag library wrapper on top of JFreeChart (see the link in my signature).
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or use the JFreeChart plugin.
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mudit..

i suggest you to use Jfreechart plugin which provided by struts2..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or possibly the JFreeChart plugin.
 
Mudit Srivastava
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the help guys..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic