         lineplot = false
 
         id = definition.id
-        @ordinal = @ordinal + 1
+        @ordinal++
 
         if !definition.lineplot
             index = @options.datasetIndex++


        # object to hold individual data points / data ranges
        @datasets = {}

        @timetickDate = false
        @simplifyDate = d3.time.format("%d.%m.%Y - %H:%M:%S")

    removeDataset: (id) ->
        return false unless @datasets[id]?

        dataset = @datasets[id]
        i = dataset.index
        lp = dataset.lineplot
        ordinal = dataset.ordinal
        delete @datasets[id]

        if lp
