Mpandroidchart: How to reduce the space between the bar without increasing the bar width

Created on 15 Dec 2015  路  2Comments  路  Source: PhilJay/MPAndroidChart

Hi I need to put three bar which is static not more than three , so I want to put the bars in centre and dont want much space between the bars and bar size also be same and small

Most helpful comment

With latest version setBarSpacePercent doesn't exists.

All 2 comments

In your BarDataSet you should call .setBarSpacePercent(0). It will set spaces between bars to 0.

With latest version setBarSpacePercent doesn't exists.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

botondbutuza picture botondbutuza  路  3Comments

SutharRohit picture SutharRohit  路  3Comments

DarkHelmet67 picture DarkHelmet67  路  3Comments

AndroidJiang picture AndroidJiang  路  3Comments

chathudan picture chathudan  路  3Comments