Merge pull request #233 from Abhinandan-Kushwaha/abhi

Abhi
This commit is contained in:
Abhinandan Kushwaha 2022-06-20 19:18:06 +05:30 committed by GitHub
commit 6fdcf586fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "react-native-gifted-charts", "name": "react-native-gifted-charts",
"version": "1.2.35", "version": "1.2.36",
"description": "The most complete library for Bar, Line, Area, Pie, Donut and Stacked Bar charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.", "description": "The most complete library for Bar, Line, Area, Pie, Donut and Stacked Bar charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.",
"main": "src/index.tsx", "main": "src/index.tsx",
"files": [ "files": [

View File

@ -186,7 +186,7 @@ const RenderStackBars = (props: Props) => {
(Math.abs(stackItem.value) * (containerHeight || 200)) / (Math.abs(stackItem.value) * (containerHeight || 200)) /
(maxValue || 200) - (maxValue || 200) -
(stackItem.marginBottom || 0), (stackItem.marginBottom || 0),
backgroundColor: stackItem.color || props.color || 'black', backgroundColor: stackItem.color || item.color || props.color || 'black',
borderRadius: borderRadius:
stackItem.borderRadius || props.barBorderRadius || 0, stackItem.borderRadius || props.barBorderRadius || 0,
}, },