search for: 378cdf

Displaying 2 results from an estimated 2 matches for "378cdf".

Did you mean: 3768caf
2006 May 25
2
Have a quick Gruff Graphing question
...le to it? My current code looks like this (with the labels and data array populated elsewhere): g = Gruff::Bar.new(750) g.title = "12 Month Graph" g.labels = title_array.reverse g.theme_37signals g.data("12 month graph", data.reverse, ''#378CDF'') send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "twelve_month_graph.png") Thanks for any help. -- Posted via http://www.ruby-forum.com/.
2006 Jul 05
1
Need some Gruff graphing help - custom dimensions?
...] 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 Before"} g.theme_37signals g.data("Graph", data, ''#378CDF'') g.maximum_value = 10 send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "sample_graph.png -- Posted via http://www.ruby-forum.com/.