                         @canvasGraph.leftPadding
     leftXPos = Math.min leftXPos,
                         ((@closestXAbove || @canvas.width + @handleWidth()) - markWidth) - @handleWidth()
-
     markRightX = leftXPos + markWidth
-
     @element.style.left = leftXPos + "px"
     @save(leftXPos, markRightX)
 

        scaledMax = ((mark.dataXMaxRel - xMin) / (xMax - xMin)) * (@canvas.width-@leftPadding)
        mark.element.style.width = (scaledMax-scaledMin) + "px"
        mark.element.style.left = (scaledMin) + "px"
        mark.save(scaledMin, scaledMax)
    # @highlightCurve(10,14) # test

    gradient = @ctx.createLinearGradient(0,0,60,0);
    gradient.addColorStop(0,'rgba(0,0,0,1.0)');

    # console.log 'PLOT RANGE [', val, ',', val+zoomRanges[zoomLevel], ']'
    # console.log '--------------------------------------------------------'

    if xClick < @leftPadding
      # draw triangle
      w = 10
      s = w*Math.tan(@leftPadding)
      
      @ctx.beginPath()
      @ctx.moveTo(w,yClick)
