mirror of
https://github.com/status-im/react-native-gifted-charts.git
synced 2025-02-23 09:08:13 +00:00
commit
6fdcf586fd
@ -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": [
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user