     @arrayLength = Math.min @data.x.length, @data.y.length
 
     @mirrorVertically()
+
+    @scale = 1
 
   enableMarking: ->
     @marks = new Marks


        mark.save(scaledMin, scaledMax)

  clearCanvas: -> @ctx.clearRect(0,0,@canvas.width, @canvas.height)

  mirrorVertically: ->

    @all = []

class Mark
  #move to end of marks-container on mousedown => for mousedown event

  constructor: (e, @canvasGraph) ->
