         @options.pixelPerDay = @options.minPixelPerDay if @options.pixelPerDay < @options.minPixelPerDay
 
         # scales
-        @scales = 
+        @scales =
             x: d3.time.scale.utc()
                 .domain([ @options.start, @options.end ])
                 .range([0, @numberOfDays * @options.pixelPerDay])

                .range([ 0, @options.height ])

        # axis
        @axis = 
            x: d3.svg.axis()
                .scale(@scales.x)
                .ticks(d3.time.days.utc, 3)

                    @axis.x.ticks(d3.time.minutes.utc, 90).tickFormat(d3.time.format.utc('%Y-%m-%d %I:%M'))
                    @grid.x.ticks(d3.time.minutes.utc, 30)

            # update brush
            @brush.x(@scales.x).extent(@brush.extent())

            # repaint the scales and axis
