@easyv/charts 1.4.0 → 1.4.1

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.
@@ -177,9 +177,9 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
177
177
  paddingRight: marginRight
178
178
  } : {
179
179
  width: xLineRange,
180
- height: yLineRange + marginTop,
181
- transform: "translateY(".concat(-marginTop, "px)"),
182
- paddingTop: marginTop
180
+ height: yLineRange + marginTop // transform:`translateY(${-marginTop}px)`,
181
+ // paddingTop:marginTop
182
+
183
183
  }
184
184
  }, /*#__PURE__*/_react["default"].createElement("svg", {
185
185
  width: "100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -163,8 +163,8 @@ const Chart = memo(
163
163
  }:{
164
164
  width:xLineRange,
165
165
  height:yLineRange+marginTop,
166
- transform:`translateY(${-marginTop}px)`,
167
- paddingTop:marginTop
166
+ // transform:`translateY(${-marginTop}px)`,
167
+ // paddingTop:marginTop
168
168
  }}>
169
169
  <svg width="100%" height="100%" style={{overflow:"visible"}}>
170
170
  {series.map(({ Component, yOrZ, ...config }, index) => {