开发者

JSP Reporting tools

I'm working on a web project using Apache Struts2 and Mysql. I need to show some statistics using graphs which should generate according to the data in the database. Can anyone 开发者_StackOverflowsuggest me a good reporting tool/plug (Java or JavaScript) to draw charts on the web page(if possible to draw). I need the report to be embed in the browser.


Use fusioncharts :

http://www.fusioncharts.com/free/

I use this once in my application and it works fine.

It's free, open source and easy to use.


There is the JFreeChart plugin http://struts.apache.org/2.x/docs/jfreechart-plugin.html This looks good for a quick solution.

For a lot of features, and admittedly not the shortest learning curve is JasperReports. http://struts.apache.org/2.x/docs/jasperreports-plugin.html

I'm not a fan of the Struts2 JQuery plugin. I prefer plain jQuery. If you're quite comfortable with a client side solution the Struts2 JSON plugin will be useful to get the data you need via ajax. This will be particularly attractive if the chart data is best displayed dynamically. https://cwiki.apache.org/confluence/display/WW/JSON%20Plugin


I would recommend the Google Visualization API. The charts are HTML5/SVG (using fallbacks for older browsers), so they're interactive.


Struts2-jQuery plugin also does charts.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜