react-native-chart-kit icon indicating copy to clipboard operation
react-native-chart-kit copied to clipboard

Set horizontal padding

Open nihil-pro opened this issue 4 years ago • 9 comments

Hi Is there a way to set horizontal padding? It's too big even with yLabels.

Screenshot 2022-02-18 at 23 37 40

nihil-pro avatar Feb 18 '22 20:02 nihil-pro

+1

I'm facing the same. It gets messy when we have many bars so the x labels overlay each other.

guicastrol avatar Feb 24 '22 13:02 guicastrol

+1

Having the same issue.

aliraza96 avatar Mar 04 '22 10:03 aliraza96

+1

I am facing the same

CristianMor avatar Mar 07 '22 21:03 CristianMor

I have same problem but with linear chart, in the example below the x-labels are so much disaligned Screenshot from 2022-03-09 11-04-29

enzzoperez avatar Mar 09 '22 14:03 enzzoperez

facing the same problem

davidtmiranda avatar Mar 14 '22 21:03 davidtmiranda

Yes I do want to remove that padding on the left.

bytesagar avatar Mar 21 '22 10:03 bytesagar

Any update?

impactcolor avatar Apr 07 '22 02:04 impactcolor

+1 Having the same issue.

kienndhn avatar Apr 13 '22 08:04 kienndhn

Hey! I got a solution for this.

<Linechart
// ..some props
withHorizontalLabels={false}
style={{ paddingRight: 0 }}
/>

ShaheerAliKhan avatar Apr 18 '22 11:04 ShaheerAliKhan