             .call(@axis.x)
 
        # grid
-        @grid = 
+        @grid =
             x: d3.svg.axis()
                 .scale(@scales.x)
                 .ticks(d3.time.days.utc, 1)


        d3.select(window).on('resize', resize)

        # zooming 
        # (done via a seperate function, because we need to bind to two differen event listeners)
        zoom = =>
            if @debug

                    @grid.x.ticks(d3.time.days.utc, 1)
                when @element.zoomLevel < 4
                    @axis.x.ticks(d3.time.days.utc, 1).tickFormat(d3.time.format.utc('%Y-%m-%d'))
                    @grid.x.ticks(d3.time.hours.utc, 6)
                when @element.zoomLevel <= 5
                    @axis.x.ticks(d3.time.hours.utc, 12).tickFormat(d3.time.format.utc('%Y-%m-%d %I:%M'))
                    @grid.x.ticks(d3.time.hours.utc, 3)
