infoarts-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-15 00:21 UTC
Outputting graphs in a PDF from a Rails app?
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
infoarts-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-15 00:26 UTC
Re: Outputting graphs in a PDF from a Rails app?
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This came out yesterday in my rails blog search feeds http://deliciousdayz.blogspot.com/2007/03/how-to-generate-pdf-in-ruby-on-rails.html On Mar 14, 2:26 pm, infoa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> 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.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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-beautiful-graphs-with-ruby-and-gruff/ On Mar 14, 2:36 pm, "dysinger" <dysin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> This came out yesterday in my rails blog search feeds > > http://deliciousdayz.blogspot.com/2007/03/how-to-generate-pdf-in-ruby... > > On Mar 14, 2:26 pm, infoa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > 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.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
infoarts-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-18 02:25 UTC
Re: Outputting graphs in a PDF from a Rails app?
Thanks dysinger. I notice that the Gruff developer mentions PDF::Writer support in a future release. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---