private boolean checkTouch(float touchX, float touchY) {
        oldSelectedValue.set(selectedValue);
        selectedValue.clear();

        if (renderer.checkTouch(touchX, touchY)) {
            selectedValue.set(renderer.getSelectedValue());
        }

        // Check if selection is still on the same value, if not return false.
        if (oldSelectedValue.isSet() && selectedValue.isSet() && !oldSelectedValue.equals(selectedValue)) {
            return false;
        } else {
            return renderer.isTouched();
        }
    }
Allow parent view to intercept touch events if chart cannot be scroll horizontally or vertically according to
the
current value of {@link #containerScrollType}.
hellocharts-library/src/lecho/lib/hellocharts/gesture/ChartTouchHandler.java