react-native-gifted-charts 0.2.4 → 0.2.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gifted-charts",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
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": [
@@ -450,7 +450,7 @@ export const LineChart = (props: propTypes) => {
450
450
  totalWidth += spacing;
451
451
  });
452
452
 
453
- const maxValue = props.maxValue || maxItem;
453
+ const maxValue = props.maxValue || maxItem || 10;
454
454
 
455
455
  useEffect(() => {
456
456
  // console.log('comes here............')