Module: Gruff::Deprecated

Included in:
Base
Defined in:
lib/gruff/deprecated.rb

Instance Method Summary collapse

Instance Method Details

#graph_heightObject



21
22
23
# File 'lib/gruff/deprecated.rb', line 21

def graph_height
  @graph_height * @scale
end

#graph_leftObject



25
26
27
# File 'lib/gruff/deprecated.rb', line 25

def graph_left 
  @graph_left * @scale 
end

#graph_topObject



17
18
19
# File 'lib/gruff/deprecated.rb', line 17

def graph_top
  @graph_top * @scale
end

#graph_widthObject



29
30
31
# File 'lib/gruff/deprecated.rb', line 29

def graph_width
  @graph_width * @scale
end

#scale_measurementsObject



9
10
11
# File 'lib/gruff/deprecated.rb', line 9

def scale_measurements
  setup_graph_measurements
end

#total_heightObject



13
14
15
# File 'lib/gruff/deprecated.rb', line 13

def total_height
  @rows + 10
end