add_data (SVG::Graph::Plot)

    # File temp/Graph/Plot.rb, line 97
          def add_data data
            @data = [] unless @data
            if not(data[:data] and data[:data].kind_of? Array)
              raise "No data provided by #{conf.inspect}"
            end

            x = []
            y = []
            data[:data].each_index {|i|
              (i%2 == 0 ? x : y) << data[:data][i]
            }
            data[:data] = [x,y]
            @data << data
          end