@easyv/charts 1.5.26 → 1.5.27
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.
|
@@ -451,9 +451,10 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
451
451
|
|
|
452
452
|
if (target && target.data[0]) {
|
|
453
453
|
dataUnit = target.data[0].data.__unit__;
|
|
454
|
-
}
|
|
454
|
+
} //如果纵坐标没有对应的值,则不显示
|
|
455
|
+
|
|
455
456
|
|
|
456
|
-
return /*#__PURE__*/_react["default"].createElement(_.Axis, (0, _extends2["default"])({
|
|
457
|
+
return axisType != "x" && !target ? null : /*#__PURE__*/_react["default"].createElement(_.Axis, (0, _extends2["default"])({
|
|
457
458
|
ref: function ref(d) {
|
|
458
459
|
axisElList.current[index] = d;
|
|
459
460
|
},
|
package/package.json
CHANGED