private int isOverWhichLabel(int x, int y) {
		int over;

		String xAttributeName = QuestionData.getFeatureNames().get(
				xAttributeIndex);
		String yAttributeName = QuestionData.getFeatureNames().get(
				yAttributeIndex);

		if (x > (plotX1 + plotX2) / 2 - mySketch.textWidth(xAttributeName) / 2
				&& x < (plotX1 + plotX2) / 2
						+ mySketch.textWidth(xAttributeName) / 2
				&& y > (xLabelYOrigin - labelSize / 2)
				&& y < (xLabelYOrigin + labelSize / 2)) {
			over = X_AXIS;

		} else if (x > (yLabelXOrigin - labelSize / 2)
				&& x < (yLabelXOrigin + labelSize / 2)
				&& y > (plotY1 + plotY2) / 2
						- mySketch.textWidth(yAttributeName) / 2
				&& y < (plotY1 + plotY2) / 2
						+ mySketch.textWidth(yAttributeName) / 2) {
			over = Y_AXIS;

		} else {
			over = -1;
		}

		return over;
	}