Hi As you may already know, Google introduced its Charting API which can help you generate some very good Graphs/Charts using their Online querystring based API, http://code.google.com/apis/chart
I wrote a Ruby wrapper around it which is located at http://code.google.com/p/gchartrb . A lot of the inspiration for the API came from te Gruff library. The code is currently in subversion, but most of the imprtant features are already done. I am hoping to make a release by the end of the week.
Beautiful! I've put it into use for my backend stats already!
Qn: Any chance all the options become a "hash" argument at the end of the initialize methods so we can customize in 1 shot? I find possible booleans easier to understand/discover like that
> Hi > As you may already know, Google introduced its Charting API which can help > you generate some very good Graphs/Charts using their Online querystring > based API, http://code.google.com/apis/chart
> I wrote a Ruby wrapper around it which is located at > http://code.google.com/p/gchartrb . A lot of the inspiration for the API > came from te Gruff library. > The code is currently in subversion, but most of the imprtant features are already done. I am hoping to make a release by the end of the week.
On 12/10/07, choonkeat <choonk...@gmail.com> wrote:
> Beautiful! I've put it into use for my backend stats already!
> Qn: Any chance all the options become a "hash" argument at the end of the > initialize methods so we can customize in 1 shot? I find possible booleans > easier to understand/discover like that
Good suggestion. Will think of a nice way to include that.
I also wanted to add that you can directly manipulate the hash used to generate the URL by looking for the params attribute. This is useful if you want features that have not been implemented yet.
Qn: Convenient to add a 'yield self if block_given?" at the bottom of each
> initialize method, so that I can use it block style?
> On 12/10/07, choonkeat <choonk...@gmail.com> wrote:
> > Beautiful! I've put it into use for my backend stats already!
> > Qn: Any chance all the options become a "hash" argument at the end of the
> > initialize methods so we can customize in 1 shot? I find possible booleans
> > easier to understand/discover like that
> Good suggestion. Will think of a nice way to include that.
> I also wanted to add that you can directly manipulate the hash used to
> generate the URL by
> looking for the params attribute. This is useful if you want features that
> have not been implemented yet.
> Qn: Convenient to add a 'yield self if block_given?" at the bottom of each
> > initialize method, so that I can use it block style?
> Thanks Deepak! Now we can have a simple (and cheap) powerful > alternative to charting in ruby. :)
> On Dec 10, 1:24 pm, "Deepak Jois" <deepak.j...@gmail.com> wrote: > > On 12/10/07, choonkeat <choonk...@gmail.com> wrote:
> > > Beautiful! I've put it into use for my backend stats already!
> > > Qn: Any chance all the options become a "hash" argument at the end of > the > > > initialize methods so we can customize in 1 shot? I find possible > booleans > > > easier to understand/discover like that
> > Good suggestion. Will think of a nice way to include that.
> > I also wanted to add that you can directly manipulate the hash used to > > generate the URL by > > looking for the params attribute. This is useful if you want features > that > > have not been implemented yet.
> > Qn: Convenient to add a 'yield self if block_given?" at the bottom of > each
> > > initialize method, so that I can use it block style?
> Hi > As you may already know, Google introduced its Charting API which > can help you generate some very good Graphs/Charts using their > Online querystring based API, http://code.google.com/apis/chart
> I wrote a Ruby wrapper around it which is located at http://code.google.com/p/gchartrb > . A lot of the inspiration for the API came from te Gruff library. > The code is currently in subversion, but most of the imprtant > features are already done. I am hoping to make a release by the end > of the week.
> Nothing like a bit of competition to keep you motivated :). I finally got
> off my back and finished the RDoc documentation and also published a gem.
> > Nothing like a bit of competition to keep you motivated :). I finally got
> > off my back and finished the RDoc documentation and also published a gem.
Excellent Deepak! I was thinking of using the Google Charting API the other day for one of my apps and here it is, a Ruby wrapper literally just at my doorstep. Really cool!
On Dec 12, 2007 12:38 AM, chuy...@gmail.com <chuy...@gmail.com> wrote:
> > > Nothing like a bit of competition to keep you motivated :). I finally > got > > > off my back and finished the RDoc documentation and also published a > gem.
> On Dec 14, 11:14 am, "Harish Mallipeddi" <harish.mallipe...@gmail.com>
> wrote:> Yup Chu Yeow is the man to go to get some referral traffic. Every time that
> > he ever linked to my blog, I noticed a huge spike :)
> > On Dec 14, 2007 9:58 AM, Deepak Jois <deepak.j...@gmail.com> wrote:
> > > On 12/12/07, chuy...@gmail.com <chuy...@gmail.com> wrote: