# File test/test_sidestacked_bar.rb, line 40 def test_bar_graph_small g = Gruff::SideStackedBar.new(400) g.title = "Visual Stacked Bar Graph Test" g.labels = { 0 => '5/6', 1 => '5/15', 2 => '5/24', 3 => '5/30', } @datasets.each do |data| g.data(data[0], data[1]) end g.write "test/output/side_stacked_bar_keynote_small.png" end