hi, i have an array of data and i would make a graph to illustrate them. the array is a collection of number of users who have a number of freinds between eg: 1-10 then 10 - 20 ..... User.last.id ----------------------------------------- nbr of freinds | nbr users | ----------------------------------------- 1-10 | 2 | ----------------------------------------- 11-20 | 5 | ----------------------------------------- 21-50 | 10 | ----------------------------------------- 51-70 | 26 | .......... .......... its possible to make something like: 51-70| * | 21-50| * | 11-20| * | 01-10| * |__________________________________ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ..... but the * are related. thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Jun 10, 2011 at 1:05 AM, Adel Mediouni <mediouni.adel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> hi, > i have an array of data and i would make a graph to illustrate them. > the array is a collection of number of users who have a number of > freinds between eg: 1-10 then 10 - 20 ..... User.last.id > > ----------------------------------------- > nbr of freinds | nbr users | > ----------------------------------------- > 1-10 | 2 | > ----------------------------------------- > 11-20 | 5 | > ----------------------------------------- > 21-50 | 10 | > ----------------------------------------- > 51-70 | 26 | > .......... > .......... > > > its possible to make something like: > > 51-70| * > | > 21-50| * > | > 11-20| * > | > 01-10| * > |__________________________________ > 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ..... > > but the * are related. > thanks > >use google graphs and the seer gem.> > > > > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 9 June 2011 18:05, Adel Mediouni <mediouni.adel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > i have an array of data and i would make a graph to illustrate them.Open Flash Charts used to be a very good choice. Worth having a look to see if it does what you need. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 10 June 2011 06:47, Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 9 June 2011 18:05, Adel Mediouni <mediouni.adel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> hi, >> i have an array of data and i would make a graph to illustrate them. > > Open Flash Charts used to be a very good choice. Worth having a look > to see if it does what you need.I prefer flot which uses javascript rather than flash and works well for me. Much quicker loading charts with lots of data. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
thanks, i will try to use them :) i think flot is the better ;) 2011/6/10 Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>> On 10 June 2011 06:47, Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On 9 June 2011 18:05, Adel Mediouni <mediouni.adel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> hi, > >> i have an array of data and i would make a graph to illustrate them. > > > > Open Flash Charts used to be a very good choice. Worth having a look > > to see if it does what you need. > > I prefer flot which uses javascript rather than flash and works well > for me. Much quicker loading charts with lots of data. > > Colin > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Mediouni Adel Tunis www.metal-tn.xooit.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.