lib/gruff/base.rb
# Overridden by subclasses to do the actual plotting of the graph.
#
# Subclasses should start by calling super() for this method.
Overridden by subclasses to do the actual plotting of the graph.
Subclasses should start by calling super() for this method.
Overridden by subclasses to do the actual plotting of the graph . Subclasses should start by calling super () for this method .
def draw
      make_stacked if @stacked
      setup_drawing
      debug {
        @d.rectangle( @left_margin, @top_margin,
        @raw_columns - @right_margin, @raw_rows - @bottom_margin)
        @d.rectangle( @graph_left, @graph_top, @graph_right, @graph_bottom)
      }
    end
def draw make_stacked if @stacked setup_drawing debug { @d . rectangle ( @left_margin , @top_margin , @raw_columns - @right_margin , @raw_rows - @bottom_margin ) @d . rectangle ( @graph_left , @graph_top , @graph_right , @graph_bottom ) } end
Overridden by subclasses to do the actual plotting of the graph.
Overridden by subclasses to do the actual plotting of the graph .
# Outer margin # Graph area box