# File test/test_sidestacked_bar.rb, line 61 def test_should_space_long_left_labels_appropriately g = Gruff::SideStackedBar.new g.title = "Stacked Bar Long Label" g.labels = { 0 => 'September', 1 => 'Oct', 2 => 'Nov', 3 => 'Dec', } @datasets.each do |data| g.data(data[0], data[1]) end g.write "test/output/side_stacked_bar_long_label.png" end