@easyv/charts 1.10.6 → 1.10.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.
@@ -606,9 +606,9 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
606
606
  id: "chart-clip-".concat(id)
607
607
  }, /*#__PURE__*/_react["default"].createElement("rect", {
608
608
  x: clipX,
609
- y: "0",
609
+ y: -marginTop,
610
610
  width: xLineRange,
611
- height: yLineRange,
611
+ height: yLineRange + marginTop,
612
612
  fill: "transparent"
613
613
  }))), /*#__PURE__*/_react["default"].createElement("g", {
614
614
  clipPath: "url(#chart-clip-".concat(id, ")")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.10.6",
3
+ "version": "1.10.7",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -608,9 +608,9 @@ const Chart = memo(
608
608
  <clipPath id={`chart-clip-${id}`}>
609
609
  <rect
610
610
  x={clipX}
611
- y="0"
611
+ y={-marginTop}
612
612
  width={xLineRange}
613
- height={yLineRange}
613
+ height={yLineRange + marginTop}
614
614
  fill="transparent"
615
615
  />
616
616
  </clipPath>