Forum: Ruby on Rails Gruff image

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.
Sainaba S. (Guest)
on 2006-01-20 12:28
Hi

I want astackedBar graph in my project I want to give it negetive axis,
scale, negetive values etc . How can I do that with gruff package?

Thanks..
Sainaba
James A. (Guest)
on 2006-01-20 13:45
(Received via mailing list)
At the moment there are quite a few hard-wired assumptions in the
Gruff package (aspect ratios to some extent, legend/title/axis
positioning)... which is only to be expected for an 0.0.9 release. for
the moment, your best bet is to examine the Gruff source and try to
adapt it yourself.

- james
Sky Y. (Guest)
on 2006-01-20 15:45
(Received via mailing list)
The current version of Gruff doesn't support negative values, though
it's not difficult to hack it out. Still the chart generated by Gruff
is the most charming among all others.
This topic is locked and can not be replied to.