     # xMax = @focusCenter+@zoomRange/2
 
     return if @zoomLevel is 0 or @zoomLevel > @zoomRanges.length
-    console.log 'FOO: ', val, ', ', @zoomRanges[@zoomLevel]
-    @canvasGraph.plotPoints( val, val + @zoomRanges[@zoomLevel] )
+    console.log 'FOO: ', val, ', ', @zoomRange
+    @canvasGraph.plotPoints( val, val + @zoomRange )
 
   onClickZoom: ->
     @zoomLevel = @zoomLevel + 1

      @canvasGraph.enableMarking()
      @drawSliderAxisNums()

      @zoomRanges = [ @canvasGraph.largestX, @canvasGraph.largestX/10, @canvasGraph.largestX/20 ]
      @magnification = [ '1x', '10x', '20x' ]
      @showZoomMessage(@magnification[@zoomLevel])


    window.classifier = @
    
    # zoom levels [days]: 2x, 10x, 20x
    @zoomRange = 15
    @zoomRanges = []
    @zoomLevel = 0
    isZoomed: false
