g-ui-web 1.3.57 → 1.3.58

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.
Binary file
package/lib/g-ui-web.js CHANGED
@@ -91866,8 +91866,10 @@ const ptt = (e, t) => {
91866
91866
  trigger: "axis",
91867
91867
  formatter: function(r) {
91868
91868
  var l;
91869
- for (var a = r[0].name, o = 0, i = r.length; o < i; o++)
91870
- a += `<br/><span style="display:inline-block;margin-right:4px;border-radius:2px;width:10px;height:10px;background-color:${r[o].color};"></span>` + r[o].seriesName + " : " + Ftt(r[o].value) + " " + Btt((l = t[o]) == null ? void 0 : l.unit);
91869
+ for (var a = r[0].name, o = 0, i = r.length; o < i; o++) {
91870
+ let s = "";
91871
+ r[o].seriesType === "line" ? s = `<span style="display:inline-block;margin-right:4px;width:10px;height:10px;border:2px solid ${r[o].color};border-radius:50%;"></span>` : s = `<span style="display:inline-block;margin-right:4px;border-radius:0;width:10px;height:10px;background-color:${r[o].color};"></span>`, a += "<br/>" + s + r[o].seriesName + " : " + Ftt(r[o].value) + " " + Btt((l = t[o]) == null ? void 0 : l.unit);
91872
+ }
91871
91873
  return a;
91872
91874
  }
91873
91875
  },
Binary file