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

How to remove right space?

Open kkh975 opened this issue 4 years ago • 2 comments

스크린샷 2021-05-31 오후 4 45 04

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,
  }}
/>

kkh975 avatar May 31 '21 07:05 kkh975

Did you solved the issue ? I am facing the same issue

abhiburk avatar Aug 09 '21 17:08 abhiburk

Me too. Same issue here

sirtok4 avatar Jun 27 '22 11:06 sirtok4

Same issue

TheYigidOS avatar Feb 27 '23 08:02 TheYigidOS