indiespirit / react-native-chart-kit

📊React Native Chart Kit: Line Chart, Bezier Line Chart, Progress Ring, Bar chart, Pie chart, Contribution graph (heatmap)
https://expo.io/@indiespirit/react-native-chart-kit
MIT License
2.84k stars 656 forks source link

Barchart gradient color #379

Open trungtin2202 opened 4 years ago

trungtin2202 commented 4 years ago

Can i remove gradient in chart of barchart ?

i want to have background color normal, so can i have solutions ?

image

thanks for create the library <3

Pixelv2020 commented 4 years ago

I already tried to find out but I did not found any solution yet. :(

aboveyunhai commented 4 years ago

you can just make same color to same color

  backgroundGradientFrom: "color_you_want",
  backgroundGradientFromOpacity: 1,
  backgroundGradientTo: "color_you_want",
  backgroundGradientToOpacity: 1
zhangman523 commented 3 years ago

you can use flatColor={true}