hi again, one more question
do you have any idea how to remove this unwanted spacing , so i can make the bar fill the available width space(full)? i'm making a horizontal bar chart as a percentage chart so the total value for each chart is 100.

and also why this method is not working? u can see from the image that the offsets are still exist.
chart.setViewPortOffsets(0f, 0f, 0f, 0f);
thanks before
Yes, you can control this space via YAxis: https://github.com/PhilJay/MPAndroidChart/wiki/YAxis-%28YLabels%29
By setting the minima and maxima accordingly.
Also chart.setExtraOffsets(...) can help.