Module: Gruff::Deprecated

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

Instance Method Summary collapse

Instance Method Details

#graph_heightObject



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

def graph_height
  @graph_height * @scale
end

#graph_leftObject



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

def graph_left
  @graph_left * @scale
end

#graph_topObject



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

def graph_top
  @graph_top * @scale
end

#graph_widthObject



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

def graph_width
  @graph_width * @scale
end

#scale_measurementsObject



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

def scale_measurements
  setup_graph_measurements
end

#total_heightObject



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

def total_height
  @rows + 10
end