lib/gruff/base.rb
# Resets everything to defaults (except data).
Resets everything to defaults (except data).
Resets everything to defaults ( except data ) .
def reset_themes
      @color_index = 0
      @labels_seen = {}
      @theme_options = {}
      @d = Draw.new
      @d = @d.scale(@scale, @scale)
    end
def reset_themes @color_index = 0 @labels_seen = { } @theme_options = { } @d = Draw . new @d = @d . scale ( @scale , @scale ) end
Resets everything to defaults (except data).
Resets everything to defaults ( except data ) .
# Scale down from 800x600 used to calculate drawing.