react-native-gifted-charts 1.4.36 → 1.4.38

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.
@@ -39,13 +39,13 @@ var RenderLineInBarChart = function (props) {
39
39
  spacing: spacing,
40
40
  containerHeight: containerHeight,
41
41
  maxValue: maxValue,
42
- yAxisOffset: yAxisOffset
42
+ yAxisOffset: yAxisOffset,
43
43
  };
44
44
  var renderAnimatedLine = function () {
45
45
  var _a, _b, _c;
46
46
  return (_jsx(Animated.View, { pointerEvents: "none", style: {
47
47
  position: 'absolute',
48
- height: containerHeight + 10,
48
+ height: containerHeightIncludingBelowXAxis + labelsExtraHeight,
49
49
  left: 6 - yAxisLabelWidth,
50
50
  bottom: 50 + xAxisLabelsVerticalShift, //stepHeight * -0.5 + xAxisThickness,
51
51
  width: animatedWidth,
@@ -598,7 +598,9 @@ export var LineChart = function (props) {
598
598
  lineSvgPropsOuter.strokeDasharray = strokeDashArray;
599
599
  }
600
600
  return (_jsxs(Svg, { height: containerHeightIncludingBelowXAxis +
601
- ((_b = props.overflowBottom) !== null && _b !== void 0 ? _b : dataPointsRadius1), width: totalWidth, onPress: props.onBackgroundPress, children: [lineGradient && getLineGradientComponent(), points.includes(SEGMENT_START) || points.includes(RANGE_ENTER) ? (ar.map(function (item, index) {
601
+ ((_b = props.overflowBottom) !== null && _b !== void 0 ? _b : dataPointsRadius1),
602
+ // width={widthValue}
603
+ onPress: props.onBackgroundPress, children: [lineGradient && getLineGradientComponent(), points.includes(SEGMENT_START) || points.includes(RANGE_ENTER) ? (ar.map(function (item, index) {
602
604
  var lineSvgProps = {
603
605
  d: item.d,
604
606
  fill: 'none',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gifted-charts",
3
- "version": "1.4.36",
3
+ "version": "1.4.38",
4
4
  "description": "The most complete library for Bar, Line, Area, Pie, Donut, Stacked Bar and Population Pyramid charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -25,7 +25,7 @@
25
25
  "registry": "https://registry.npmjs.org/"
26
26
  },
27
27
  "dependencies": {
28
- "gifted-charts-core": "^0.1.37"
28
+ "gifted-charts-core": "0.1.38"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@babel/cli": "^7.24.8",