react-native-gifted-charts 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/LineChart/index.tsx +11 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-gifted-charts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "The most complete library for Bar, Line, Area, Pie and Donut charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"files": [
|
package/src/LineChart/index.tsx
CHANGED
|
@@ -1061,16 +1061,22 @@ export const LineChart = (props: propTypes) => {
|
|
|
1061
1061
|
marginBottom: stepHeight / -2,
|
|
1062
1062
|
},
|
|
1063
1063
|
]}>
|
|
1064
|
-
{
|
|
1064
|
+
{hideOrigin
|
|
1065
|
+
? index === horizSections.length - 1
|
|
1066
|
+
? ''
|
|
1067
|
+
: showFractionalValues
|
|
1068
|
+
? sectionItems.value
|
|
1069
|
+
? sectionItems.value
|
|
1070
|
+
: '0'
|
|
1071
|
+
: sectionItems.value
|
|
1072
|
+
? sectionItems.value.toString().split('.')[0]
|
|
1073
|
+
: '0'
|
|
1074
|
+
: showFractionalValues
|
|
1065
1075
|
? sectionItems.value
|
|
1066
1076
|
? sectionItems.value
|
|
1067
|
-
: hideOrigin
|
|
1068
|
-
? ''
|
|
1069
1077
|
: '0'
|
|
1070
1078
|
: sectionItems.value
|
|
1071
1079
|
? sectionItems.value.toString().split('.')[0]
|
|
1072
|
-
: hideOrigin
|
|
1073
|
-
? ''
|
|
1074
1080
|
: '0'}
|
|
1075
1081
|
</Text>
|
|
1076
1082
|
) : null}
|