                     else if not (record[1] instanceof Date)
                         record = [ record[0], record[0] ].concat(record[1..])
 
-                    # TODO: implement other data conversions
-
                     finalRecords.push(record)
-
-                    # if record[0] instanceof Date and record[1] instanceof Date
-                    #     ranges.push(record)
-                    # else
-                    #     points.push(record)
-
-                    # TODO: implement paths
-
-                    # if Array.isArray(record)
-                    #     if record.length == 3
-                    #         paths.push(record)
-                    #     else
-                    #         ranges.push(record)
-                    # else if record instanceof Date
-                    #     points.push(record)
-
-                    # # TODO: keep this?
-                    # else if record.split("/").length > 1
-                    #     elements = record.split("/")
-                    #     elements.pop()
-                    #     ranges.push(elements)
             else
                 # TODO: perform check of records
                 finalPaths = records

            )

        # create the zoom behavior
        @options.zoom = d3.behavior.zoom()
            .x(@scales.x)
            .size([@options.width, @options.height])
            .scaleExtent([1, Infinity])
            .on('zoom', => @redraw())
        @svg.call(@options.zoom)

        # initialize all datasets

            @options.width = @svg[0][0].clientWidth
            @options.height = @svg[0][0].clientHeight

        @options.selectionLimit ||= null
        @options.brush ||= {}
        @options.brush.start ||= @options.start
        if @options.selectionLimit
            @options.brush.end ||= new Date(@options.brush.start.getTime() + @options.selectionLimit * 1000)
        else
            @options.brush.end ||= new Date(new Date(@options.brush.start).setDate(@options.brush.start.getDate() + 3))

        @selectionConstraint = [
            new Date(@options.brush.start.getTime() - @options.selectionLimit * 1000),
            new Date(@options.brush.end.getTime() + @options.selectionLimit * 1000)
        ]

        @options.display ||= {}
        @options.display.start ||= @options.domain.start
        @options.display.end ||= @options.domain.end

        @options.debounce ||= 50
        @options.ticksize ||= 3
        @options.datasets ||= []

        @recordFilter = @options.recordFilter

