crosshair.y = Math.max(0, Math.min(e.pageY - offset.top, plot.height()));