I\'m getting following error for using MPAndroidChart:
java.lang.ArrayIndexOutOfBoundsException: length=4; index=4 at com.github.mikephil.charting.renderer.PieChartRe