def render(svg, options)
      setup_variables(options)
      coords = generate_coordinates(options)

      draw(svg, coords, options)
    end
def render(svg, options)
      setup_variables(options)
      coords = generate_coordinates(options)

      draw(svg, coords, options)
    end
Returns a new Base object.

 Any options other that those specified below are stored in the @options variable for
 possible later use.  This would be a good place to store options needed for a custom
 graph.

 Options:
 title:: Name/title of data group
 points:: Array of data points
 preferred_color:: Color used to render this graph, overrides theme color.
 preferred_outline:: Color used to render this graph outline, overrides theme outline.
 relevant_data:: Rarely used - indicates the data on this graph should not
                 included in any graph data aggregations, such as averaging data points.
 style:: SVG polyline style. (default: 'fill-opacity: 0; stroke-opacity: 0.35')
 stroke_width:: numeric value for width of line (0.1 - 10, default: 1)
 relativestroke:: stroke-width relative  to image size? true or false (default)
 shadow:: Display line shadow? true or false (default)
 dots:: Display co-ord dots? true or false (default)
 Builds SVG code for this graph using the provided Builder object.
 This method actually generates data needed by this graph, then passes the
 rendering responsibilities to Base#draw.

 svg:: a Builder object used to create SVG code.