Displaying 1 result from an estimated 1 matches for "geoffreygrosenbach".
2006 Jul 05
1
Need some Gruff graphing help - custom dimensions?
...I''ve seen many methods that regard
setting height but every attempts I''ve made to implement in my code
results in errors.
On the topfunky sample side there is a "wide graph" example which is
basically just wide and not as tall, it is the second example here:
http://geoffreygrosenbach.com/projects/show/5
How do I do that when working with similar but very simple line graphs?
Given this sample code below, how would I easily modify the height/width
or make it a widegraph as in the example above? Thanks for any help.
data = [1, 2, 3, 4, 5, 6]
g = Gruff::Line.new(500) #Sets sc...