Reports in Rails

Hi,

In my rails application I want to include a reporting mechanism that
will
allow the users of application to view statistics of various operations
graphically.
Does rails provide inbuilt reporting capabilities? what are different
appraoches I can follow to achieve reporting in rails?
On googling I found following as some of the options,
1.Gruff Graphs for Ruby
2.SVG
3. using Apache FOP.

pros/cons for above approaches?

Regards,
Jatinder

  1. SVG - requires a special plugin, which very few people have on
    their browser. They might be willing to install on your request, but
    last I looked most SVG players weren’t very neat affairs (I recall one
    bloated Adobe that wasn’t something I’d gladly install).

Gruff Graphs for Ruby

It worked fine for me.

–Dibya

Gruff Graphs for Ruby
I’ve found Gruff breaks quite easily (in the sense that the key will
flow off the image or text will spill off the image, and so on). Gruff
is cool but I really think Ruby / Rails is missing a heavy weight
graphing module.

-Rob


“On two occasions, I have been asked [by members of Parliament],
‘Pray, Mr. Babbage, if you put into the machine wrong figures, will
the right answers come out?’ I am not able to rightly apprehend the
kind of confusion of ideas that could provoke such a question.”
– Charles Babbage (1791-1871)

“98.5% of DNA is considered to be junk DNA with no known purpose.
Maybe it’s XML tags.” – Anon

http://www.robhulme.com/

RMagick is pretty heavy weight graphing modules which comes with rvg API

http://www.imagemagick.org/RMagick/doc/rvgtut.html

On 7/21/06, Robert H. [email protected] wrote:

'Pray, Mr. Babbage, if you put into the machine wrong figures, will

Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Kent

I’ve been using the Eclipse BIRT project to build reports with my ROR
applications. You need to setup Tomcat to host the BIRT application.
Once done, I have the ROR application act as the front end allowing the
user to setup any filters for the reports and then I simply call BIRT
with the parameters of the filters and whether to run as HTML report or
PDF.

Works like a charm …

DC

Jatinder S. wrote:

Hi,

In my rails application I want to include a reporting mechanism that
will
allow the users of application to view statistics of various operations
graphically.
Does rails provide inbuilt reporting capabilities? what are different
appraoches I can follow to achieve reporting in rails?
On googling I found following as some of the options,
1.Gruff Graphs for Ruby
2.SVG
3. using Apache FOP.

pros/cons for above approaches?

Regards,
Jatinder