       series: @values
       min: 'auto'
     })
-    @hoverDetail = new Rickshaw.Graph.HoverDetail({
+    xAxis = new Rickshaw.Graph.Axis.X({
+      graph: @chart
+    })
+    yAxis = new Rickshaw.Graph.Axis.Y({
+      graph: @chart
+    })
+    hoverDetail = new Rickshaw.Graph.HoverDetail({
       graph: @chart
       xFormatter: (year) -> "Year #{year}"
       yFormatter: (numCranes) -> "#{Math.round(numCranes)} cranes"

  numYears: 100
  runNumber: 0
  chart: null
  hoverDetail: null
  
  constructor: ->
    @values = []

   
  extendData: ->
    years = [@year...(@year+@numYears)]
    offsets = years.map (x) -> Math.round(20*(Math.random()-0.5))
    start = @numCranes
    newVals = offsets.reduce ((l, r) -> l.concat([Math.max(0, l[l.length-1]+r)])), [start]
    firstZero = newVals.indexOf(0)
