Forum: Ruby on Rails Serverside chart generator

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bc78ecf1898c83d627f9779e0e47af15?d=identicon&s=25 Carsten Gehling (carsten)
on 2009-02-09 14:28
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
00973881979aa0a660ffbbb2f7a907fb?d=identicon&s=25 Peter De Berdt (Guest)
on 2009-02-09 15:12
(Received via mailing list)
On 09 Feb 2009, at 14:28, Carsten Gehling 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
0d56133042e4814c1b2255ea655f2361?d=identicon&s=25 Jeff Burlysystems (jburly)
on 2009-02-09 18:40
(Received via mailing list)
Or, maybe you could use something like google charts:

http://code.google.com/apis/chart/

There are some rails wrappers:

http://code.google.com/p/google-charts-on-rails/
http://code.google.com/p/gc4r/http://code.google.c...

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
47c3af2d56d44eb1d08a601c837a1262?d=identicon&s=25 alberto (Guest)
on 2009-02-10 05:24
(Received via mailing list)
ziya gives you great looking swf graphs.

Instructions to install the gem and samples:

http://ziya.liquidrail.com/
Bc78ecf1898c83d627f9779e0e47af15?d=identicon&s=25 Carsten Gehling (carsten)
on 2009-02-10 09:37
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?

- Carsten
This topic is locked and can not be replied to.