# File test/test_net.rb, line 133 def test_dots_graph_tiny g = Gruff::Net.new(300) g.title = "Dots 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/net_dots_tiny.png") end