       strokeWidth: 1
       title: @name
     )
+    @zoomLastMinutes 1440
 
   create: ->
     @loadFile().then(@parseXml).then(@draw)

    now = new Date().valueOf()
    intervalBegin = now - minutes * 1000 * 60
    intervalEnd   = now
    console.log [intervalBegin, intervalEnd]
    @graph.updateOptions
      dateWindow: [intervalBegin, intervalEnd]

  adjustWidth: ->
    $("##{@div}").width($(window).width() - $("##{@div}").css('margin').replace(/[^-\d\.]/g, '')*4)

  refresh: (event) ->
    kp = @get "#{event.keypath}"
    graphs[kp.divId].update()
    graphs[kp.divId].moveDateWindowRight()
