ctx.clearRect(this.layout_.getPlotArea().x, Math.min(startY, prevEndY),
            this.layout_.getPlotArea().w, Math.abs(startY - prevEndY));