# File test/test_area.rb, line 78 def test_many_areas_graph_small g = Gruff::Area.new(400) g.title = "Many Values Area 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/area_many_areas_small.png") end