# File temp/Graph/Line.rb, line 174 def calc_coords(field, value, width = field_width, height = field_height) coords = {:x => 0, :y => 0} coords[:x] = width * field coords[:y] = @graph_height - value * height return coords end