public void setChartRotationEnabled(boolean isRotationEnabled) {
        if (touchHandler instanceof PieChartTouchHandler) {
            ((PieChartTouchHandler) touchHandler).setRotationEnabled(isRotationEnabled);
        }
    }
Set false if you don't wont the chart to be rotated by touch gesture. Rotating programmatically will still work.

@param isRotationEnabled
hellocharts-library/src/lecho/lib/hellocharts/view/PieChartView.java