} else {
            x1 = axisLeft;
            x2 = cWidth - axis.right;

            if (y1 < axisTop || y1 > axisTop + axis.height) {