# File test/test_line.rb, line 189 def test_graph_tiny g = Gruff::Line.new(300) g.title = "Tiny Test 300px" g.labels = { 0 => '5/6', 10 => '5/15', 20 => '5/24', 30 => '5/30', 40 => '6/4', 50 => '6/16' } %w{jimmy jane philip arthur julie bert}.each do |student_name| g.data(student_name, (0..50).collect { |i| rand 100 }) end # Default theme g.write("test/output/line_tiny.png") end