Giter Club home page Giter Club logo

Comments (8)

Em01 avatar Em01 commented on May 19, 2024 13

I know this is old but I was trying to figure out how to do this and it might be useful to someone. I was able to do this with the following:

  propsForBackgroundLines: {
    strokeWidth: 0
  }

from react-native-chart-kit.

JBaczuk avatar JBaczuk commented on May 19, 2024 4

You can also use withInnerLines={false}

from react-native-chart-kit.

Hermanya avatar Hermanya commented on May 19, 2024

You'd have to modify the source code of this lib. If you do that, and make it configurable, make sure to open a Pull Request.

from react-native-chart-kit.

tarunmehta-quovantis avatar tarunmehta-quovantis commented on May 19, 2024

@Ivanrs297 did you achieve it, Did you modified code?
If yes, please let me know how to remove background lines

from react-native-chart-kit.

SSOURABH58 avatar SSOURABH58 commented on May 19, 2024

@Em01 and @JBaczuk can you pls tell me exactly how to remove the grid. in which block should I put the above code solu.

from react-native-chart-kit.

JBaczuk avatar JBaczuk commented on May 19, 2024

@SSOURABH58

For example:


<LineChart
  {...otherProps}
  withInnerLines={false}
/>

from react-native-chart-kit.

FaisalKhawaj avatar FaisalKhawaj commented on May 19, 2024

You can use this line in chartConfig
backgroundGradientFrom: COLORS.WHITE.primary, backgroundGradientTo: COLORS.WHITE.primary,

from react-native-chart-kit.

Iyappan-mani avatar Iyappan-mani commented on May 19, 2024

use various

<LineChart
  {...otherProps}
  withInnerLines={false}
               or
    // this use vertical line remove 
    withVerticalLines={false}
               or 
   // this use Horizontal line remove 
    withHorizontalLines={false}
/>

from react-native-chart-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.