@easyv/charts 1.10.2 → 1.10.3
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
|
-
|
|
264
|
+
width: "100%",
|
|
265
|
+
height: "1px" //设置一个高度,让foreignObject正常显示内部内容,又不至于因为太高发生遮挡
|
|
266
266
|
// x={x}
|
|
267
267
|
// y={y}
|
|
268
268
|
,
|
package/package.json
CHANGED