@easyv/charts 1.5.12 → 1.5.13
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/Axis.js
CHANGED
|
@@ -235,7 +235,10 @@ var Label = function Label(_ref5) {
|
|
|
235
235
|
"data-data": JSON.stringify({
|
|
236
236
|
x: label
|
|
237
237
|
}),
|
|
238
|
-
style: _objectSpread(_objectSpread({}, _style), (0, _utils.getFontStyle)(font))
|
|
238
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, _style), (0, _utils.getFontStyle)(font)), {}, {
|
|
239
|
+
/** Safari Bug **/
|
|
240
|
+
position: "fixed"
|
|
241
|
+
})
|
|
239
242
|
}, /*#__PURE__*/_react["default"].createElement(_TextOverflow["default"], {
|
|
240
243
|
type: textOverflow,
|
|
241
244
|
speed: speed,
|
package/lib/components/Band.js
CHANGED
|
@@ -266,7 +266,7 @@ var _default = /*#__PURE__*/(0, _react.memo)(function (_ref3) {
|
|
|
266
266
|
height: "100%",
|
|
267
267
|
|
|
268
268
|
/** Safari Bug **/
|
|
269
|
-
position: "fixed",
|
|
269
|
+
// position: "fixed",
|
|
270
270
|
clipPath: setClipPath(),
|
|
271
271
|
opacity: fillType == "pattern" ? opacity : 1,
|
|
272
272
|
background: fillType == "pattern" ? "50% 50% / ".concat(size.width, "px ").concat(size.height, "px repeat ") + "url(" + url + ")" : (0, _utils.getBandBackground)(pattern, extent === flag ? highlightFill : fill),
|
|
@@ -464,6 +464,7 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
464
464
|
ref: seriesEl,
|
|
465
465
|
style: {
|
|
466
466
|
overflow: "visible",
|
|
467
|
+
position: "fixed",
|
|
467
468
|
transform: isVertical ? "translateX(".concat(marginRight, "px)") : "translateY(".concat(marginTop, "px)")
|
|
468
469
|
}
|
|
469
470
|
}, /*#__PURE__*/_react["default"].createElement("g", null, control && ctlIndicatorList.map(function (item, index) {
|
package/package.json
CHANGED
package/src/components/Axis.tsx
CHANGED
package/src/components/Band.tsx
CHANGED