@easyv/charts 1.7.22 → 1.7.23
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/Label.js
CHANGED
|
@@ -152,7 +152,7 @@ var _default = exports["default"] = /*#__PURE__*/(0, _react.memo)(function (_ref
|
|
|
152
152
|
"data-data": JSON.stringify(data)
|
|
153
153
|
}, showIcon && !isNaN(attr.y) && /*#__PURE__*/React.createElement(Icon, {
|
|
154
154
|
cx: attr.x,
|
|
155
|
-
cy:
|
|
155
|
+
cy: y2,
|
|
156
156
|
config: icon
|
|
157
157
|
}), showLabel && /*#__PURE__*/React.createElement(Label, (0, _extends2["default"])({
|
|
158
158
|
value: showY,
|
package/package.json
CHANGED
package/src/components/Label.js
CHANGED
|
@@ -118,7 +118,7 @@ export default memo(
|
|
|
118
118
|
data-data={JSON.stringify(data)}
|
|
119
119
|
>
|
|
120
120
|
{showIcon && !isNaN(attr.y) && (
|
|
121
|
-
<Icon cx={attr.x} cy={
|
|
121
|
+
<Icon cx={attr.x} cy={y2} config={icon} />
|
|
122
122
|
)}
|
|
123
123
|
{showLabel && <Label value={showY} config={label} reverse={reverse} {...attr} />}
|
|
124
124
|
</g>
|