react-native-chart-kit
react-native-chart-kit copied to clipboard
How to remove right space?

my options...
<LineChart
data={{
labels: ['January', 'February', 'March', 'April', 'May', 'June'],
datasets: [
{
data: [
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
],
},
{
data: [
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
Math.random() * 100,
],
},
],
}}
width={Dimensions.get('screen').width}
height={300}
chartConfig={{
backgroundGradientFrom: 'white',
backgroundGradientTo: 'white',
backgroundGradientFromOpacity: 0,
backgroundGradientToOpacity: 0,
decimalPlaces: 2,
color: () => 'black',
labelColor: () => 'black',
propsForLabels: {
fontSize: '11',
},
}}
withHorizontalLabels={false}
withInnerLines={false}
withOuterLines={false}
bezier
style={{
paddingRight: 0,
}}
/>
Did you solved the issue ? I am facing the same issue
Me too. Same issue here
Same issue