@easyv/charts 1.9.8 → 1.9.9

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.
@@ -53,7 +53,6 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref2) {
53
53
  emit = _ref2.emit,
54
54
  emitEvent = _ref2.emitEvent,
55
55
  props = (0, _objectWithoutProperties2["default"])(_ref2, _excluded);
56
- console.log("999");
57
56
  var width = props.width,
58
57
  height = props.height;
59
58
  var isIOS = (0, _react.useRef)(/iPad|iPhone|iPod|iOS/i.test(navigator.userAgent) || /Mac OS X/i.test(navigator.userAgent) && !/Chrome/i.test(navigator.userAgent));
@@ -88,6 +88,7 @@ var pieLegendFormatter = exports.pieLegendFormatter = function pieLegendFormatte
88
88
  })
89
89
  }), showValue && /*#__PURE__*/React.createElement("span", {
90
90
  style: _objectSpread(_objectSpread({
91
+ display: "flex",
91
92
  whiteSpace: "nowrap"
92
93
  }, (0, _utils.getFontStyle)(valueFont)), {}, {
93
94
  marginLeft: valueGap,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.9.8",
3
+ "version": "1.9.9",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -44,8 +44,6 @@ const Chart = memo(
44
44
  emitEvent,
45
45
  ...props
46
46
  }) => {
47
- console.log("999");
48
-
49
47
  const { width, height } = props;
50
48
  const isIOS = useRef(
51
49
  /iPad|iPhone|iPod|iOS/i.test(navigator.userAgent) ||
@@ -75,6 +75,7 @@ export const pieLegendFormatter = (
75
75
  {showValue && (
76
76
  <span
77
77
  style={{
78
+ display:"flex",
78
79
  whiteSpace:"nowrap",
79
80
  ...getFontStyle(valueFont),
80
81
  marginLeft: valueGap,