I am meeting a big problem with charts. I have to display a horizontal bar chart with ~3000 bars in ~5s. Assume the input data are ready in the needed format. I have tested open flash chart, gruff, scruffy... They all failed. With 1000 bars, open flash chart took 15-20s. Gruff and scruffy were worse. Do you have any ideas? -- 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 -~----------~----~----~----~------~----~------~--~---
> I am meeting a big problem with charts. > > I have to display a horizontal bar chart with ~3000 bars in ~5s. > Assume > the input data are ready in the needed format. > > I have tested open flash chart, gruff, scruffy... They all failed. > With > 1000 bars, open flash chart took 15-20s. Gruff and scruffy were worse. > > Do you have any ideas?Sub the work out to gnuplot and have it generate the image maybe... -philip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
>> I have tested open flash chart, gruff, scruffy... They all failed. >> With >> 1000 bars, open flash chart took 15-20s. Gruff and scruffy were worse.> Sub the work out to gnuplot and have it generate the image maybe...Indeed: GnuPlot is the oldest and most professional of those plotters (some of which are only on the list because they got good press!). Contrarily, GnuPlot is often very cranky to use and poorly documented. Too many features! I wrote up how to use GnuPlot for log charts here: http://www.oreillynet.com/ruby/blog/2008/03/cruisecontrol_charts.html Next, I would not inflict 1 000 bars on my uses. Could you find a way to cut the data down to useful segments? That''s why I used log charts, for example! -- Phlip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks, man! I will try it. If it is okie, i will feedback :) -- 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 -~----------~----~----~----~------~----~------~--~---
Khiet Bui wrote:> Thanks, man! I will try it. > > If it is okie, i will feedback :)But, how to draw a horizontal bar chart on gnuplot? -- 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 -~----------~----~----~----~------~----~------~--~---