lib/gruff/mini/bar.rb in gruff-0.3.4 vs lib/gruff/mini/bar.rb in gruff-0.3.6

- old
+ new

@@ -7,18 +7,23 @@ class Bar < Gruff::Bar include Gruff::Mini::Legend - def draw + def initialize_ivars + super + @hide_legend = true @hide_title = true @hide_line_numbers = true @marker_font_size = 50.0 @minimum_value = 0.0 + @maximum_value = 0.0 @legend_font_size = 60.0 + end + def draw expand_canvas_for_vertical_legend super draw_vertical_legend