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

remove innerLines from stackedbarchart?

Open NancyGarg opened this issue 5 years ago • 3 comments

Can we remove background grid lines from stacked bar chart?

NancyGarg avatar May 27 '20 09:05 NancyGarg

I'm just adding the library to my project, but searching through the code the same thing, I found that you can put this:

chartConfig={{
    ...,
    propsForBackgroundLines: {
          strokeDasharray: "4",
          strokeWidth: 0, // If you put 0 in the value no line is displayed
          stroke: `rgba(0, 0, 0, 0)`,
        },
  }}

Santieherrero avatar May 27 '20 14:05 Santieherrero

  <LineChart  withInnerLines={false} />

DSKonstantin avatar Oct 27 '20 20:10 DSKonstantin

I just remove the horizontal line

minh-dai avatar Dec 20 '21 09:12 minh-dai