public void setMaxZoom(float maxZoom) {
        if (maxZoom < 1) {
            maxZoom = 1;
        }

        this.maxZoom = maxZoom;

        computeMinimumWidthAndHeight();

        setCurrentViewport(currentViewport);

    }
Set maximum zoom level, default is 20.

@param maxZoom
hellocharts-library/src/lecho/lib/hellocharts/computator/ChartComputator.java