React-native-chart-kit: How can we remove grid at background in line graph

Created on 1 Nov 2018  路  4Comments  路  Source: indiespirit/react-native-chart-kit

Is there any way to remove grid at background in line graph?

Most helpful comment

withInnerLines={false}

All 4 comments

Currently no, but I can work on adding that pretty easily.

Alternatively, you can extend the AbstractChart and recreate your own LineChart

@mcabs3 , if possible please provide me such functionality(remove grid) asap. I will be really thankful for you :)
and Thank you for providing such an awesome library.

@tarunmehta-quovantis if you are under time crunch, copy the line-chart file and put it in your project (update the imports to use the library), and remove 186 - 191, and 200 - 205.

withInnerLines={false}

Was this page helpful?
0 / 5 - 0 ratings