     # console.log 'PLOT RANGE [', val, ',', val+zoomRanges[zoomLevel], ']'
     # console.log '--------------------------------------------------------'
 
-    if xClick < 80
+    if xClick < @leftPadding
       # draw triangle
       w = 10
-      s = w*Math.tan(60)
+      s = w*Math.tan(@leftPadding)
       
       @ctx.beginPath()
       @ctx.moveTo(w,yClick)

                        @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"
        console.log 'SCAALED [',scaledMin,',',scaledMax,']'
        mark.save(scaledMin, scaledMax)

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