     # 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

      @el.find(".noUi-handle").fadeOut(150)
      @zoomLevel = 0
    else 
      console.log 'zoom level: ', @zoomLevel
      console.log 'zoom range: ', @zoomRanges[@zoomLevel]
      @canvasGraph.zoomInTo(0, @zoomRanges[@zoomLevel])
      @el.find("#toggle-zoom").addClass("toggled")
      @el.find("#ui-slider").val(0)

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