GD2 to Make Charts

I’m just getting started with GD2 and have successfully made a few
dynamic PNGs. I need to make some fairly detailed line graphs on the
fly and I know that GD2 is capable of what I want but I strongly suspect
I’m reinventing the wheel badly. Are there gems or other projects that
help creating complex charts? I’ve used GDChart in the distant past
but I can’t find info about it and ruby.

The specific feature that I need is the ability to control the color of
each datapoint pip. I’m making statistical process control charts
(XBAR/R) and out of control points should be highlighted in another
color or shape.

Thanks!

Gary

Have you had a look at Geoffrey Grosenbach’s Gruff Graphs?

http://nubyonrails.com/pages/gruff

Not sure about GD2, but if you can use ImageMagick/RMagick then the
gruff
gem is really cool.

Jeff

On Thu, 2006-04-27 at 16:03 +0200, Johnny B wrote:

Have you had a look at Geoffrey Grosenbach’s Gruff Graphs?

http://nubyonrails.com/pages/gruff

Yup, Gruff is pretty sweet. For some discussion of possible Gruff
installation pitfalls, see:

http://tomcopeland.blogs.com/juniordeveloper/2006/02/charts_and_grap.html

Yours,

tom

I hate Gruff. For very very simple stuff it’s ok, but for anything
remotely complex i.e. Most statisitcs graphs, its crap

Maybe its because i’m fustrated with the lack of decent graphing tools
for Ruby. Yeah, i know there are others, but they are a nightmare to
use.

What i’d do for JFreeChart for ruby…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs