Hello Friends, Hope all are doing well. I was seeking some guidance on open-source, stable, efficient and better library (plugin/gem) for generating chars and graphs in rails. here i am looking for graphs/charts with multiple scale in a single axis. also i am having concerns for exporting charts in some of report like pdf or image etc. Please let me your thoughts/experience/guidance on this. Thanks, Piyush.
Hello Friends, Hope all are doing well. I was seeking some guidance on open-source, stable, efficient and better library (plugin/gem) for generating chars and graphs in rails. here i am looking for graphs/charts with multiple scale in a single axis. also i am having concerns for exporting charts in some of report like pdf or image etc. Please let me your thoughts/experience/guidance on this. Thanks, Piyush.
Use gruff charts or google charts... Gruff Charts: http://nubyonrails.com/pages/gruff google charts: http://blog.brijeshshah.com/google-chart-4-rails-gc4r/ This plugins helps you generating charts in form of images.. -- Posted via http://www.ruby-forum.com/.
Martijn van Rheenen
2009-Sep-24 12:39 UTC
Re: Rails Library for Generating Graphs and Charts
Or, the free Open Flash Chart, which uses Flash to render charts, just like google''s does: http://teethgrinder.co.uk/open-flash-chart/ And, ofcourse, someone already developed a plug-in for RoR: http://pullmonkey.com/projects/open_flash_chart But none of these 3 chart ''components'' allow the user to ''zoom in'' and ''scroll'' the view... I''m still searching for something like this. Preferably, it would request ''JSON'' / ''XML'' data real-time as the user scrolls to or zooms to regions of the chart... Or did I not read the Google Chart API docs that well? On Thu, Sep 24, 2009 at 8:24 AM, Brijesh Shah < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Use gruff charts or google charts... > Gruff Charts: http://nubyonrails.com/pages/gruff > google charts: http://blog.brijeshshah.com/google-chart-4-rails-gc4r/ > > This plugins helps you generating charts in form of images.. > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Marnen Laibow-Koser
2009-Sep-24 16:25 UTC
Re: Rails Library for Generating Graphs and Charts
Martijn van Rheenen wrote:> Or, the free Open Flash Chart, which uses Flash to render charts, just > like > google''s does:[...] Nope. Google''s charts are straight images, so they are generally the better choice. There is usually little reason to force Flash on your users for something this simple. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Martijn van Rheenen
2009-Sep-24 16:52 UTC
Re: Rails Library for Generating Graphs and Charts
> Nope. Google''s charts are straight images, so they are generally the > better choice. There is usually little reason to force Flash on your > users for something this simple. > > Indeed they are, images, I saw that too. But you will not be able togenerate these charts when a user is not online, would you? Or, not able to connect to google (like in a very strict intranet environment ;) ) if you want the charts to be ''interactive'', though, (like zooming and scrolling around the data real-time) Flash is not that bad. I admit, I hate to use it too, but OpenFlashChart is the only open source component I could find that delivers almost all this functionality without requiring a connection to some other website.... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Piyush with Rails
2009-Sep-24 17:31 UTC
Re: Rails Library for Generating Graphs and Charts
Thank You Very much friends for your valuable suggestions. i will evaluate these various options. Thanks, Piyush. ----------------------------------------------------------- On Sep 24, 9:52 pm, Martijn van Rheenen <rhee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Nope. Google''s charts are straight images, so they are generally the > > better choice. There is usually little reason to force Flash on your > > users for something this simple. > > > Indeed they are, images, I saw that too. But you will not be able to > > generate these charts when a user is not online, would you? Or, not able to > connect to google (like in a very strict intranet environment ;) ) > > if you want the charts to be ''interactive'', though, (like zooming and > scrolling around the data real-time) Flash is not that bad. I admit, I hate > to use it too, but OpenFlashChart is the only open source component I could > find that delivers almost all this functionality without requiring a > connection to some other website....
Marnen Laibow-Koser
2009-Sep-24 19:26 UTC
Re: Rails Library for Generating Graphs and Charts
Martijn van Rheenen wrote:>> Nope. Google''s charts are straight images, so they are generally the >> better choice. There is usually little reason to force Flash on your >> users for something this simple. >> > Indeed they are, images, I saw that too. But you will not be able to > generate these charts when a user is not online, would you? Or, not able > to > connect to google (like in a very strict intranet environment ;) )No, of course Google Charts won''t do anything if Google''s chart service can''t be reached.> > if you want the charts to be ''interactive'', though, (like zooming and > scrolling around the data real-time) Flash is not that bad. I admit, I > hate > to use it too, but OpenFlashChart is the only open source component I > could > find that delivers almost all this functionality without requiring a > connection to some other website....How about the visualization components from the SIMILE project ( http://simile.mit.edu )? The ones such as Timeplot are pure DHTML/JS, and they don''t rely on external services as far as I know. There seem to be some projects aimed at using these with Rails, but I don''t know how well they work. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Hi Even not free (XML/SWF and DIY Map) you can just check this also http://ziya.liquidrail.com/ Sijo -- Posted via http://www.ruby-forum.com/.
syed arifullah badsha s
2009-Sep-25 04:54 UTC
Re: Rails Library for Generating Graphs and Charts
Hi, I have used fusion charts and its cool, i believe there is no flash type charts that are available for free. Regards, Syed A B. On Fri, Sep 25, 2009 at 10:12 AM, Sijo Kg <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > Hi > Even not free (XML/SWF and DIY Map) you can just check this also > > http://ziya.liquidrail.com/ > > > Sijo > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Marnen Laibow-Koser
2009-Sep-25 05:41 UTC
Re: Rails Library for Generating Graphs and Charts
syed arifullah badsha s wrote:> Hi, > I have used fusion charts and its cool, i believe there is no flash > type charts that are available for free.But you are wrong. Open Flash Chart is free.> > Regards, > Syed A B. > > On Fri, Sep 25, 2009 at 10:12 AM, Sijo KgBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
syed arifullah badsha s
2009-Sep-25 05:47 UTC
Re: Rails Library for Generating Graphs and Charts
Thanks for highlighting. Any one has used it? Any inputs on Open Flash Chart is free. On Fri, Sep 25, 2009 at 11:11 AM, Marnen Laibow-Koser < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > syed arifullah badsha s wrote: > > Hi, > > I have used fusion charts and its cool, i believe there is no flash > > type charts that are available for free. > > But you are wrong. Open Flash Chart is free. > > > > > Regards, > > Syed A B. > > > > On Fri, Sep 25, 2009 at 10:12 AM, Sijo Kg > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
syed arifullah badsha s wrote:> Thanks for highlighting. Any one has used it? Any inputs on Open Flash > Chart > is free. >Ya open flash is free...I used it... You can download it as plugin from http://github.com/korin/open_flash_chart_2_plugin/ -- Posted via http://www.ruby-forum.com/.
Martijn van Rheenen
2009-Sep-25 08:34 UTC
Re: Rails Library for Generating Graphs and Charts
Open Flash chart works like a charm, just disable all ''animations'' and your client will take you seriously ;) I have used it for a prototype application with Symfony (yes, I know, PHP....) but for the ''real'' application I''m setting everything up with Rails. On Fri, Sep 25, 2009 at 7:52 AM, Brijesh Shah < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > syed arifullah badsha s wrote: > > Thanks for highlighting. Any one has used it? Any inputs on Open Flash > > Chart > > is free. > > > Ya open flash is free...I used it... > > You can download it as plugin from > http://github.com/korin/open_flash_chart_2_plugin/ > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Piyush with Rails wrote:> Hello Friends,Gruff is ruby library fir grnrrating graphs ChartDirector is one of the library but i think it is not open source in gruff you can export chart on pdf Using chartDirector also you can export you can create graph This is sammple write in Helper def generate_graph graph = USING GRuff See Documentation of gruff filename = ''abc.png'' file = Tempfile.new(filename) file = file.binmode file.write(graph.to_blob) file.close content_tag(:div, image_tag(file.path), :class => "graphs") end in dispaly.pdf.erb <%= generate_graph %> -- Posted via http://www.ruby-forum.com/.