# File test/test_stacked_bar.rb, line 21 def test_bar_graph g = Gruff::StackedBar.new 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/stacked_bar_keynote.png" end