The standard way to resolve this problem is with a secondary Y axis,
using a different scale, usually placed on the right-hand side of the
graph. Dunno if Gruff supports secondary axes (a.k.a. overlaid graphs),
but a look through the docs for "secondary axis" might tell you
quickly.
hth, --CJ
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Andrew Cowan
Sent: Thursday, April 20, 2006 4:53 PM
To: rails@lists.rubyonrails.org
Subject: [Rails] Gruff Charting Question
I am using Gruff to chart 2 sets of data and have run into a problem,
the numbers between the two sets are so far apart that the first set
appears as a mostly straight line at the top and the second a mostly
straight line at the bottom.
Is there a way to set the min/max vertical column values so that I can
squeeze the data closer together so that there is more
''movement''? If
there is not does anyone know a way to mathematically adjust the data? I
tried Log10 and log already and the same effect was visible even though
the numers were much smaller in relation to their original values.
Any help appreciated!
Andy
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails