add_data (SVG::Graph::TimeSeries)

    # File temp/Graph/TimeSeries.rb, line 118
          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|
              if i%2 == 0
                arr = ParseDate.parsedate( data[:data][i] )
                t = Time.local( *arr[0,6].compact )
                x << t.to_i
              else
                y << data[:data][i]
              end
            }
            sort_two( x, y )
            data[:data] = [x,y]
            @data << data
          end