         y = ((+@data.y[i]-@yMin)/(@yMax-@yMin)) * @canvas.height
         y = -y + @canvas.height # flip y-values
         @ctx.fillStyle = "rgba(252, 69, 65, 0.65)" #"#fc4541"
-        @ctx.fillRect(x,y,2,2)
+        @ctx.fillRect(x+@leftPadding,y,2,2)
     return
 
   plotPoints: (xMin = @smallestX, xMax = @largestX, yMin = @smallestY, yMax = @largestY) ->


    @prevZoomMin = @smallestX
    @prevZoomMax = @largestX

  disableMarking: ->
    @markingDisabled = true

      y = ((+@data.y[i]-yMin)/(yMax-yMin)) * @canvas.height
      y = -y + @canvas.height # flip y-values
      @ctx.fillStyle = "#fff" #fc4541"
      @ctx.fillRect(x+@leftPadding,y,2,2)
    if @marks
      for mark in @marks.all
        scaledMin = ((mark.dataXMinRel - xMin) / (xMax - xMin)) * @canvas.width
