get_y_labels (SVG::Graph::Line)

    # File temp/Graph/Line.rb, line 154
          def get_y_labels
            maxvalue = max_value
            minvalue = min_value
            range = maxvalue - minvalue
            top_pad = range == 0 ? 10 : range / 20.0
            scale_range = (maxvalue + top_pad) - minvalue

            scale_division = scale_divisions || (scale_range / 10.0)

            if scale_integers
              scale_division = scale_division < 1 ? 1 : scale_division.round
            end

            rv = []
            maxvalue = maxvalue%scale_division == 0 ?
              maxvalue : maxvalue + scale_division
            minvalue.step( maxvalue, scale_division ) {|v| rv << v}
            return rv
          end