vue-data-ui 2.2.96 → 2.2.97

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.
@@ -12123,7 +12123,7 @@ function(e) {
12123
12123
  */
12124
12124
  function(e) {
12125
12125
  function t() {
12126
- return (Tt.canvg ? Promise.resolve(Tt.canvg) : import("./index.es-Cgqo-FBk.js")).catch(function(o) {
12126
+ return (Tt.canvg ? Promise.resolve(Tt.canvg) : import("./index.es-BO4N2aUv.js")).catch(function(o) {
12127
12127
  return Promise.reject(new Error("Could not load canvg: " + o));
12128
12128
  }).then(function(o) {
12129
12129
  return o.default ? o.default : o;
@@ -56300,7 +56300,7 @@ const S1 = (e) => (ia("data-v-2223f1be"), e = e(), ua(), e), lj = ["id"], oj = [
56300
56300
  )), Z = ae(() => O.value.width / $.value), ie = ae(() => P.value.filter((V) => !M.value.includes(V.id))), ce = ae(() => {
56301
56301
  let V = [];
56302
56302
  for (let j = 0; j < $.value; j += 1) {
56303
- const Be = Math.min(...ie.value.flatMap((de) => de.series.map((ge) => ge.values[j]) || 0)), E = Math.max(...ie.value.flatMap((de) => de.series.map((ge) => ge.values[j]) || 0)), N = E === Be ? Be / 4 : Be, le = E === Be ? E * 2 : E, G = wa(N, le, u.value.style.chart.yAxis.scaleTicks), be = G.ticks.map((de, ge) => {
56303
+ const Be = Math.min(...ie.value.flatMap((de) => de.series.map((ge) => ge.values[j] || 0) || 0)), E = Math.max(...ie.value.flatMap((de) => de.series.map((ge) => ge.values[j] || 0) || 0)), N = E === Be ? Be / 4 : Be, le = E === Be ? E * 2 : E, G = wa(N, le, u.value.style.chart.yAxis.scaleTicks), be = G.ticks.map((de, ge) => {
56304
56304
  const Y = G.min < 0 ? de + Math.abs(G.min) : de - Math.abs(G.min), he = G.min < 0 ? G.max + Math.abs(G.min) : G.max - Math.abs(G.min);
56305
56305
  return {
56306
56306
  y: O.value.bottom - O.value.height * (Y / he),
@@ -56327,7 +56327,7 @@ const S1 = (e) => (ia("data-v-2223f1be"), e = e(), ua(), e), lj = ["id"], oj = [
56327
56327
  axisIndex: le,
56328
56328
  datapointIndex: E,
56329
56329
  seriesIndex: j,
56330
- value: N,
56330
+ value: N || 0,
56331
56331
  x: O.value.left + Z.value * le + Z.value / 2,
56332
56332
  y: O.value.bottom - O.value.height * (G / be),
56333
56333
  comment: Be.comments && Be.comments[le] || ""
@@ -56773,7 +56773,7 @@ const S1 = (e) => (ia("data-v-2223f1be"), e = e(), ua(), e), lj = ["id"], oj = [
56773
56773
  }, 8, ["config"])) : I("", !0)
56774
56774
  ], 14, nY));
56775
56775
  }
56776
- }, CY = /* @__PURE__ */ Ut(kY, [["__scopeId", "data-v-5f17c41e"]]), xY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
56776
+ }, CY = /* @__PURE__ */ Ut(kY, [["__scopeId", "data-v-89b826a8"]]), xY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
56777
56777
  __proto__: null,
56778
56778
  default: CY
56779
56779
  }, Symbol.toStringTag, { value: "Module" }));