tvcharts 0.8.74 → 0.8.75
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/dist/echarts.js
CHANGED
|
@@ -72115,7 +72115,7 @@ function makeStyleCoord2(out2, zr, zrX, zrY) {
|
|
|
72115
72115
|
var TooltipRichContent_default = TooltipRichContent;
|
|
72116
72116
|
|
|
72117
72117
|
// src/component/tooltip/TooltipTextHtmlContent.ts
|
|
72118
|
-
var margin2 =
|
|
72118
|
+
var margin2 = 8;
|
|
72119
72119
|
var TooltipTextHtmlContent = class {
|
|
72120
72120
|
constructor(api2) {
|
|
72121
72121
|
this._show = false;
|
|
@@ -72141,8 +72141,8 @@ var TooltipTextHtmlContent = class {
|
|
|
72141
72141
|
style.opacity = "1";
|
|
72142
72142
|
style.transform = "translateX(-50%) translateY(-100%)";
|
|
72143
72143
|
el.innerHTML = `<div>
|
|
72144
|
-
<div style="min-width: 32px; padding:
|
|
72145
|
-
<div style="width:
|
|
72144
|
+
<div style="min-width: 32px; padding: 2px 8px; color: #fff; background-color: rgb(42, 46, 57); font-size: 14px; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 16px 0px, rgba(0, 0, 0, 0.12) 0px 3px 6px -4px, rgba(0, 0, 0, 0.05) 0px 9px 28px 8px;">${text}</div>
|
|
72145
|
+
<div style="width: 6px; height: 6px; transform: translateX(-50%) translateY(50%) rotate(45deg); position: absolute; bottom: 0px; left: 50%; background-color: rgb(42, 46, 57);"></div>
|
|
72146
72146
|
</div>`;
|
|
72147
72147
|
}
|
|
72148
72148
|
getSize() {
|
|
@@ -75165,7 +75165,7 @@ var PlaybackOrderView4 = class extends Component_default2 {
|
|
|
75165
75165
|
x,
|
|
75166
75166
|
y
|
|
75167
75167
|
});
|
|
75168
|
-
},
|
|
75168
|
+
}, 500);
|
|
75169
75169
|
closePositionRect.attr("style", {fill: blendColors(orderBg, this.backgroundColor)});
|
|
75170
75170
|
};
|
|
75171
75171
|
orderClosePositionEl.onmouseout = () => {
|
|
@@ -75216,7 +75216,7 @@ var PlaybackOrderView4 = class extends Component_default2 {
|
|
|
75216
75216
|
x,
|
|
75217
75217
|
y
|
|
75218
75218
|
});
|
|
75219
|
-
},
|
|
75219
|
+
}, 500);
|
|
75220
75220
|
orderTpRect.attr("style", {fill: blendColors(stopProfitBg, this.backgroundColor)});
|
|
75221
75221
|
};
|
|
75222
75222
|
orderTpEl.onmouseout = () => {
|
|
@@ -75271,7 +75271,7 @@ var PlaybackOrderView4 = class extends Component_default2 {
|
|
|
75271
75271
|
x,
|
|
75272
75272
|
y
|
|
75273
75273
|
});
|
|
75274
|
-
},
|
|
75274
|
+
}, 500);
|
|
75275
75275
|
};
|
|
75276
75276
|
orderSlEl.onmouseout = () => {
|
|
75277
75277
|
orderSlRect.attr("style", {fill: this.backgroundColor});
|
|
@@ -75329,7 +75329,7 @@ var PlaybackOrderView4 = class extends Component_default2 {
|
|
|
75329
75329
|
x,
|
|
75330
75330
|
y
|
|
75331
75331
|
});
|
|
75332
|
-
},
|
|
75332
|
+
}, 500);
|
|
75333
75333
|
};
|
|
75334
75334
|
orderCloseEl.onmouseout = () => {
|
|
75335
75335
|
orderCloseRect.attr("invisible", true);
|
|
@@ -75493,7 +75493,7 @@ var PlaybackOrderView4 = class extends Component_default2 {
|
|
|
75493
75493
|
const startX = rect.x + baseX - descRectWidth / 2 - buttonWidth;
|
|
75494
75494
|
orderClosePositionEl.attr("x", startX);
|
|
75495
75495
|
const tpX = startX + labelRectWidth + orderTpLMargin;
|
|
75496
|
-
const circleX = rect.x + baseX + descRectWidth / 2 + circleMargin;
|
|
75496
|
+
const circleX = Math.floor(rect.x + baseX + descRectWidth / 2 + circleMargin) + 0.5;
|
|
75497
75497
|
this.circleX = circleX;
|
|
75498
75498
|
this.circleMargin = circleMargin;
|
|
75499
75499
|
orderTpEl.attr("x", tpX);
|
|
@@ -75813,7 +75813,7 @@ var PlaybackOrderView4 = class extends Component_default2 {
|
|
|
75813
75813
|
x,
|
|
75814
75814
|
y
|
|
75815
75815
|
});
|
|
75816
|
-
},
|
|
75816
|
+
}, 500);
|
|
75817
75817
|
};
|
|
75818
75818
|
stopCloseEl2.onmouseout = () => {
|
|
75819
75819
|
this.clearTimer();
|