@easyv/charts 1.4.1 → 1.4.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/Label.js
CHANGED
|
@@ -169,10 +169,10 @@ var Icon = function Icon(_ref4) {
|
|
|
169
169
|
}) : mode == 'double' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Circle, (0, _extends2["default"])({
|
|
170
170
|
cx: cx,
|
|
171
171
|
cy: cy
|
|
172
|
-
},
|
|
172
|
+
}, outer)), /*#__PURE__*/React.createElement(Circle, (0, _extends2["default"])({
|
|
173
173
|
cx: cx,
|
|
174
174
|
cy: cy
|
|
175
|
-
},
|
|
175
|
+
}, inner))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("image", {
|
|
176
176
|
width: width,
|
|
177
177
|
height: height,
|
|
178
178
|
x: cx - width / 2,
|
|
@@ -821,6 +821,7 @@ var Current = function Current(_ref9) {
|
|
|
821
821
|
})
|
|
822
822
|
}, value, showSuffix && text && /*#__PURE__*/_react["default"].createElement("span", {
|
|
823
823
|
style: {
|
|
824
|
+
display: "inline-block",
|
|
824
825
|
transform: 'translate(' + translateSuffixX + 'px,' + translateSuffixY + 'px)',
|
|
825
826
|
fontSize: fontSize
|
|
826
827
|
}
|
package/package.json
CHANGED
package/src/components/Label.js
CHANGED
|
@@ -146,8 +146,8 @@ const Icon = ({
|
|
|
146
146
|
<Circle cx={cx} cy={cy} color={color} radius={radius} />
|
|
147
147
|
) : mode == 'double' ? (
|
|
148
148
|
<>
|
|
149
|
-
<Circle cx={cx} cy={cy} {...inner} />
|
|
150
149
|
<Circle cx={cx} cy={cy} {...outer} />
|
|
150
|
+
<Circle cx={cx} cy={cy} {...inner} />
|
|
151
151
|
</>
|
|
152
152
|
) : (
|
|
153
153
|
<>
|