@Override
        public boolean onScale(ScaleGestureDetector detector) {
            if (isZoomEnabled) {
                float scale = 2.0f - detector.getScaleFactor();
                if (Float.isInfinite(scale)) {
                    scale = 1;
                }
                return chartZoomer.scale(computator, detector.getFocusX(), detector.getFocusY(), scale);
            }

            return false;
        }
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