@easyv/charts 1.10.1 → 1.10.2
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/lib/components/Axis.js
CHANGED
|
@@ -261,8 +261,8 @@ var Label = function Label(_ref5) {
|
|
|
261
261
|
var _style = style && ((0, _typeof2["default"])(style) == "object" ? style : style(_label));
|
|
262
262
|
//x轴显示
|
|
263
263
|
return /*#__PURE__*/_react["default"].createElement("foreignObject", {
|
|
264
|
-
width: "100%"
|
|
265
|
-
height
|
|
264
|
+
width: "100%"
|
|
265
|
+
// height="100%"
|
|
266
266
|
// x={x}
|
|
267
267
|
// y={y}
|
|
268
268
|
,
|
|
@@ -592,8 +592,9 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
592
592
|
transform: isVertical ? "translateX(".concat(-marginRight, "px)") : "translateY(".concat(-marginTop, "px)")
|
|
593
593
|
}
|
|
594
594
|
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
595
|
-
width: "100%"
|
|
596
|
-
height
|
|
595
|
+
width: "100%"
|
|
596
|
+
// height="100%"
|
|
597
|
+
,
|
|
597
598
|
ref: seriesEl,
|
|
598
599
|
style: {
|
|
599
600
|
overflow: "visible",
|
package/package.json
CHANGED
package/src/components/Axis.tsx
CHANGED