Does any of you know of a good server-side tool for generating
line-charts - command-line tool will suffice (one that spits out a JPG,
SVG, PNG or such)
Something integrated in Ruby would be even nicer
- Carsten
Does any of you know of a good server-side tool for generating
line-charts - command-line tool will suffice (one that spits out a JPG,
SVG, PNG or such)
Something integrated in Ruby would be even nicer
On 09 Feb 2009, at 14:28, Carsten G. wrote:
Does any of you know of a good server-side tool for generating
line-charts - command-line tool will suffice (one that spits out a
JPG,
SVG, PNG or such)Something integrated in Ruby would be even nicer
Gruff (http://rubyforge.org/projects/gruff/) or Scruffy
(http://scruffy.rubyforge.org/
)
Best regards
Peter De Berdt
Or, maybe you could use something like google charts:
There are some rails wrappers:
http://code.google.com/p/google-charts-on-rails/
http://code.google.com/p/gc4r/http://code.google.com/p/google-charts-on-rails/
or you can just roll your own fairly easily. Whether you can generate/
reference such google charts in your app in real-time by the client’s
browser or pre-fetched and stored on the server depends on your app
needs/usage.
Jeff
ziya gives you great looking swf graphs.
Instructions to install the gem and samples:
Peter De Berdt wrote:
Gruff (http://rubyforge.org/projects/gruff/) or Scruffy
(http://scruffy.rubyforge.org/
Thanks a lot! I am working with Scruffy now, and it works like a charm.
One thing I cannot figure out though is: How do I change the legend from
horizontal to vertical? Do I need to create my own Renderer class?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs