# File test/test_line.rb, line 170 def test_many_lines_graph_small g = Gruff::Line.new(400) g.title = "Many Values Line Test 400px" 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_many_lines_small.png") end