@easyv/charts 1.9.14 → 1.9.15
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.
|
@@ -73,8 +73,6 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
73
73
|
filterData = _ref.filterData,
|
|
74
74
|
aiFormatter = _ref.aiFormatter,
|
|
75
75
|
id = _ref.id;
|
|
76
|
-
console.log("chart", chart);
|
|
77
|
-
console.log("bar", bar);
|
|
78
76
|
var context = (0, _react.useContext)(_context.chartContext);
|
|
79
77
|
var _useState = (0, _react.useState)(false),
|
|
80
78
|
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
package/lib/components/Chart.js
CHANGED
|
@@ -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("hhh");
|
|
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));
|
|
@@ -229,7 +229,6 @@ var _default = exports["default"] = /*#__PURE__*/(0, _react.memo)(/*#__PURE__*/(
|
|
|
229
229
|
});
|
|
230
230
|
document.addEventListener("touchend", _up4);
|
|
231
231
|
};
|
|
232
|
-
console.log("series", series);
|
|
233
232
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
234
233
|
style: {
|
|
235
234
|
width: cWidth,
|
|
@@ -96,9 +96,7 @@ var _default = exports["default"] = /*#__PURE__*/(0, _react.memo)(function (_ref
|
|
|
96
96
|
direction = _ref3$xAxis.direction,
|
|
97
97
|
yScaler = _ref3.yAxis.scaler,
|
|
98
98
|
name = _ref3.name;
|
|
99
|
-
console.log("config", BarProp);
|
|
100
99
|
var maxWidth = maxWidth1 ? maxWidth1 : config.maxWidth;
|
|
101
|
-
console.log("maxWidth", maxWidth);
|
|
102
100
|
if (!data.length) return null;
|
|
103
101
|
var _getSeriesInfo = (0, _utils.getSeriesInfo)({
|
|
104
102
|
step: step,
|
|
@@ -161,7 +159,6 @@ var _default = exports["default"] = /*#__PURE__*/(0, _react.memo)(function (_ref
|
|
|
161
159
|
seriesWidth: seriesWidth,
|
|
162
160
|
maxWidth: maxWidth
|
|
163
161
|
});
|
|
164
|
-
console.log("attr", attr);
|
|
165
162
|
return /*#__PURE__*/_react["default"].createElement("g", {
|
|
166
163
|
key: i,
|
|
167
164
|
onClick: triggerClick,
|