Forum: Ruby on Rails Outputting graphs in a PDF from a Rails app?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
320b651f98fa44b807d99bd7f4aac40d?d=identicon&s=25 unknown (Guest)
on 2007-03-15 01:23
(Received via mailing list)
Hi there

I have a Rails app that is used to conduct surveys.

I now wish to be able to output a report in pdf format with graphs of
the survey results.

The graphs themselves are quite simple bar charts, but is there a neat
solution to getting graphs (scruffy, ziya etc) into a PDF from a Rails
app?

Any clues appreciated.
320b651f98fa44b807d99bd7f4aac40d?d=identicon&s=25 unknown (Guest)
on 2007-03-15 01:28
(Received via mailing list)
I should add that I have a sample of what I am trying to achieve and
that it was produced by a .NET component called ComponentOne PDF
Generator.
54d80d7f453dbeb62be9604bda054788?d=identicon&s=25 dysinger (Guest)
on 2007-03-15 01:38
(Received via mailing list)
This came out yesterday in my rails blog search feeds

http://deliciousdayz.blogspot.com/2007/03/how-to-g...
54d80d7f453dbeb62be9604bda054788?d=identicon&s=25 dysinger (Guest)
on 2007-03-15 01:39
(Received via mailing list)
And you might want to read about rmagick and gruff - I haven't used
them but they're there

http://www.robertvenema.nl/2007/02/06/create-beaut...
320b651f98fa44b807d99bd7f4aac40d?d=identicon&s=25 unknown (Guest)
on 2007-03-18 03:26
(Received via mailing list)
Thanks dysinger.

I notice that the Gruff developer mentions PDF::Writer support in a
future release.
This topic is locked and can not be replied to.