Displaying 1 result from an estimated 1 matches for "widegraph".
Did you mean:
ideograph
2006 Jul 05
1
Need some Gruff graphing help - custom dimensions?
...quot; 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 scale to 500px, but I''d like 500 width
and 300 height
g.title = "Samplegraph"
g.labels = {1 => "Today", 3 => "Yesterday", 6 => "The Day Bef...