   offset_param: null
   isRunning: false
   hasStarted: false
+  notDone: true
   
   constructor: ->
     @values = []

    @isRunning = not @isRunning
    if not @hasStarted
      @start()
    if @isRunning
      @tick()
  
  start: ->
    @numCranes = Number($("#num_cranes").val())

    @extendData()
    @drawChart()
    @runNumber = @runNumber + 1
    @notDone = @runNumber < 100
    console.log("Run number #{@runNumber}")
    setTimeout(@tick, @tickLength) if @isRunning and @notDone

window.RickshawStripChart = RickshawStripChart
