vue-data-ui 2.16.3 → 2.16.5

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.
Files changed (90) hide show
  1. package/README.md +6 -11
  2. package/dist/{Arrow-PZlKU_qt.js → Arrow-D9B36pfx.js} +1 -1
  3. package/dist/{BaseDraggableDialog-D9X4ToHS.js → BaseDraggableDialog-DloHiD4h.js} +2 -2
  4. package/dist/{BaseIcon-7mxb2L4b.js → BaseIcon-DJab5OQD.js} +1 -1
  5. package/dist/{ColorPicker-BcBCUtD5.js → ColorPicker-Br0rMnNb.js} +2 -2
  6. package/dist/{DataTable-BJxZbzUJ.js → DataTable-B6MXw9cG.js} +2 -2
  7. package/dist/{Legend-DsrfKIWW.js → Legend-DoxQwq_u.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-BYOuBVma.js → NonSvgPenAndPaper-DhbyLXKW.js} +3 -3
  9. package/dist/{PackageVersion-BHdwLNYh.js → PackageVersion-DCreTQN4.js} +1 -1
  10. package/dist/{PenAndPaper-5qbKUZba.js → PenAndPaper-BS60tkQN.js} +3 -3
  11. package/dist/{Shape-eTLLdapH.js → Shape-CrstrfQ9.js} +1 -1
  12. package/dist/{Slicer-Cx5l6qlm.js → Slicer-Bd0AkciG.js} +2 -2
  13. package/dist/{SparkTooltip-CJT266WK.js → SparkTooltip-B4j_rvhG.js} +1 -1
  14. package/dist/{Title-Ce2tGJxo.js → Title-BQLtfM0P.js} +1 -1
  15. package/dist/{Tooltip-DLbBFcp8.js → Tooltip-5JmGL7sR.js} +1 -1
  16. package/dist/{UserOptions-pCTGlSEB.js → UserOptions-DMGkAAIO.js} +3 -3
  17. package/dist/{dom-to-png-DINDDnHB.js → dom-to-png-g3Q8kjna.js} +1 -1
  18. package/dist/{img-BpsNgbdF.js → img-CTC5DLKL.js} +1 -1
  19. package/dist/{index-DY26lYgO.js → index-CZNLCg7T.js} +1 -1
  20. package/dist/{pdf-Bs-E3Ytt.js → pdf-DJVOD0cz.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +7 -4
  23. package/dist/types/vue-data-ui.d.ts +7 -4
  24. package/dist/{useNestedProp-eQUR3lYD.js → useNestedProp-BcPDA6Xr.js} +1 -1
  25. package/dist/{usePrinter-BFt-ckek.js → usePrinter-ButWuZVm.js} +2 -2
  26. package/dist/{vue-data-ui-oY6CDv3q.js → vue-data-ui-BB8Upnjm.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-C39mZF-6.js → vue-ui-3d-bar-o8P0DCbz.js} +5 -5
  29. package/dist/{vue-ui-accordion-rKdLqM-k.js → vue-ui-accordion-CO4hmfuX.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DJNUh43Z.js → vue-ui-age-pyramid-C9T5bAEl.js} +5 -5
  31. package/dist/{vue-ui-annotator-DLGzeVKH.js → vue-ui-annotator-CyOygaxE.js} +2 -2
  32. package/dist/{vue-ui-bullet-B9QqItlC.js → vue-ui-bullet-CPT1jdcz.js} +6 -6
  33. package/dist/{vue-ui-candlestick-BnkkBqx9.js → vue-ui-candlestick-BfZTMGE0.js} +6 -6
  34. package/dist/{vue-ui-carousel-table-Bm0txBwY.js → vue-ui-carousel-table-Bam9qqkj.js} +4 -4
  35. package/dist/{vue-ui-chestnut-D6kFV2nj.js → vue-ui-chestnut-BAIMBFaQ.js} +4 -4
  36. package/dist/{vue-ui-chord-TpwfcRf-.js → vue-ui-chord-92E1yKdu.js} +7 -7
  37. package/dist/{vue-ui-circle-pack-CHdJUl9a.js → vue-ui-circle-pack-DxXPqA7Z.js} +5 -5
  38. package/dist/{vue-ui-cursor-DqkmHeAq.js → vue-ui-cursor-Bvy_o8wb.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C_oRkxWW.js → vue-ui-dashboard--QRCkp7q.js} +62 -62
  40. package/dist/{vue-ui-digits-hulVWUQB.js → vue-ui-digits-Dl8RHLvt.js} +2 -2
  41. package/dist/{vue-ui-donut-BK9AIVk9.js → vue-ui-donut-BxSTOFDt.js} +7 -7
  42. package/dist/{vue-ui-donut-evolution-TnSDCyEF.js → vue-ui-donut-evolution-DNzTtWnJ.js} +7 -7
  43. package/dist/{vue-ui-dumbbell-D1QcBixO.js → vue-ui-dumbbell-D01p3t3P.js} +6 -6
  44. package/dist/{vue-ui-flow-Bm89MdRF.js → vue-ui-flow-BMvaRn7E.js} +6 -6
  45. package/dist/{vue-ui-funnel-CCs52cyK.js → vue-ui-funnel-Bd_3wouw.js} +5 -5
  46. package/dist/{vue-ui-galaxy-DEkiJKTV.js → vue-ui-galaxy-D4HJH1qq.js} +4 -4
  47. package/dist/{vue-ui-gauge-B6Q50fht.js → vue-ui-gauge-CgIlk2pu.js} +5 -5
  48. package/dist/{vue-ui-gizmo-yN-7B14A.js → vue-ui-gizmo-C1-QYvsn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BLY8ILUS.js → vue-ui-heatmap-tUn_BlSp.js} +6 -6
  50. package/dist/{vue-ui-history-plot-THtEQk6l.js → vue-ui-history-plot-TfVRzyIK.js} +6 -6
  51. package/dist/{vue-ui-kpi-COGMq-3q.js → vue-ui-kpi-BuL8MAMD.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-ZUufOMpu.js → vue-ui-mini-loader-DIeG36P8.js} +2 -2
  53. package/dist/{vue-ui-molecule-Db4hY19N.js → vue-ui-molecule-8RJNzWIw.js} +4 -4
  54. package/dist/{vue-ui-mood-radar-BKd8_c_5.js → vue-ui-mood-radar-DftzG_Bi.js} +6 -6
  55. package/dist/{vue-ui-nested-donuts-iHg0erN3.js → vue-ui-nested-donuts-B9JC_0xK.js} +6 -6
  56. package/dist/{vue-ui-onion-XjLbGZ79.js → vue-ui-onion-DTjaH-Bu.js} +6 -6
  57. package/dist/{vue-ui-parallel-coordinate-plot-2kZI5701.js → vue-ui-parallel-coordinate-plot-DwqfVqFB.js} +7 -7
  58. package/dist/{vue-ui-quadrant-ClS0wSel.js → vue-ui-quadrant-Cv3VWA6d.js} +7 -7
  59. package/dist/{vue-ui-quick-chart-DRMsq4Fi.js → vue-ui-quick-chart-imc0KrbF.js} +5 -5
  60. package/dist/{vue-ui-radar-u-Lj2WN1.js → vue-ui-radar-kNySclk1.js} +6 -6
  61. package/dist/{vue-ui-rating-Brt7e07f.js → vue-ui-rating-DBhEbgwD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-r6jmhAQ7.js → vue-ui-relation-circle-BJQhS0aG.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-CId7_736.js → vue-ui-ridgeline-Bhd1Uwm8.js} +7 -7
  64. package/dist/{vue-ui-rings-D9y6rehH.js → vue-ui-rings-C_IT2mi0.js} +7 -7
  65. package/dist/{vue-ui-scatter-Bc4CcAqw.js → vue-ui-scatter-i8XZreWa.js} +7 -7
  66. package/dist/{vue-ui-skeleton-SD-iCl3N.js → vue-ui-skeleton-D9B8DY_k.js} +3 -3
  67. package/dist/{vue-ui-smiley-D9qhKjHd.js → vue-ui-smiley-gmdnUWcW.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CeFKRNLK.js → vue-ui-spark-trend-DOF3vl8_.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BZZ-tbQC.js → vue-ui-sparkbar-BVOVq3dA.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-QoVkFES4.js → vue-ui-sparkgauge-DVO2Z0Rg.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-BIo-tLMo.js → vue-ui-sparkhistogram-CbV86a2i.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B1h6ZUex.js → vue-ui-sparkline-jDNAVZu-.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CytgXA36.js → vue-ui-sparkstackbar-auT8CUXm.js} +3 -3
  74. package/dist/{vue-ui-stackbar-YZnkjV6f.js → vue-ui-stackbar-DmO02We2.js} +275 -274
  75. package/dist/{vue-ui-strip-plot-BlTHTUMk.js → vue-ui-strip-plot-B25s87lj.js} +6 -6
  76. package/dist/{vue-ui-table-JQJez8Q-.js → vue-ui-table-B4xbQdK_.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BcZZI3x3.js → vue-ui-table-heatmap-DI57VcvH.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DQxudh2r.js → vue-ui-table-sparkline-DRgsZztN.js} +4 -4
  79. package/dist/{vue-ui-thermometer-CIbgeMVN.js → vue-ui-thermometer-DkeT5DV_.js} +5 -5
  80. package/dist/{vue-ui-timer-Ct_4deuZ.js → vue-ui-timer-uon_DLeH.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DfbbaIM7.js → vue-ui-tiremarks-BV0qXRF2.js} +5 -5
  82. package/dist/{vue-ui-treemap-UDy0IYEJ.js → vue-ui-treemap-DzJsjtz7.js} +7 -7
  83. package/dist/{vue-ui-vertical-bar-CN0Xepks.js → vue-ui-vertical-bar-CkLS_DGb.js} +8 -8
  84. package/dist/{vue-ui-waffle-DXxR_eqf.js → vue-ui-waffle-B2XiLGQx.js} +7 -7
  85. package/dist/{vue-ui-wheel-DzT_sOEH.js → vue-ui-wheel-BR1DDpKU.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-gqrusOAn.js → vue-ui-word-cloud-BvOT6hu2.js} +5 -5
  87. package/dist/{vue-ui-world-s0_YPX1N.js → vue-ui-world-BeP91MNX.js} +5 -5
  88. package/dist/{vue-ui-xy-TKuYnq-S.js → vue-ui-xy-BaR-ZDba.js} +332 -332
  89. package/dist/{vue-ui-xy-canvas-WDh-cIAl.js → vue-ui-xy-canvas-B4ZmECCK.js} +7 -7
  90. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { R as X, _ as ae, a8 as ue, a9 as ce, aa as de, ab as ge, ac as fe, ad as Ie, ae as xe, c as ne, A as Ne, E as me, w as be, s as Fe, o as _e, a2 as Ae, af as ye, x as Le, C as Ce, y as Se, a7 as ke, e as we, r as Oe, f as oe, I as Ge, ag as ve, U as pe, V as ze, q as Me, b as Te, z as Pe, d as Ve, ah as Re, v as He, ai as De, D as Be, a5 as We, aj as Ee, i as Ye, F as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-DY26lYgO.js";
1
+ import { R as X, _ as ie, a8 as ue, a9 as ce, aa as de, ab as ge, ac as fe, ad as Ie, ae as xe, c as ne, A as Ne, E as me, w as be, s as Fe, o as _e, a2 as ye, af as Ae, x as Le, C as Ce, y as Se, a7 as ke, e as we, r as Oe, f as oe, I as Ge, ag as ve, U as pe, V as ze, q as Me, b as Te, z as Pe, d as Ve, ah as Re, v as He, ai as De, D as Be, a5 as We, aj as Ee, i as Ye, F as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-CZNLCg7T.js";
2
2
  import { u as je } from "./useMouse-AicQS8Vf.js";
3
- import { u as ie } from "./useNestedProp-eQUR3lYD.js";
3
+ import { u as ae } from "./useNestedProp-BcPDA6Xr.js";
4
4
  import { u as $e } from "./useTimeLabels-Mrr0jrpL.js";
5
- import { defineAsyncComponent as Z, resolveComponent as q, createElementBlock as s, openBlock as i, normalizeStyle as _, normalizeClass as j, createBlock as U, createCommentVNode as h, createVNode as le, createSlots as et, withCtx as B, renderSlot as G, normalizeProps as $, guardReactiveProps as ee, createElementVNode as I, Fragment as u, renderList as x, toDisplayString as V, mergeProps as se, withDirectives as tt, vModelCheckbox as lt, createTextVNode as rt } from "vue";
6
- import { S as at } from "./Slicer-Cx5l6qlm.js";
7
- import it from "./Title-Ce2tGJxo.js";
8
- import { _ as st } from "./Shape-eTLLdapH.js";
5
+ import { defineAsyncComponent as Z, resolveComponent as q, createElementBlock as s, openBlock as a, normalizeStyle as _, normalizeClass as j, createBlock as U, createCommentVNode as h, createVNode as le, createSlots as et, withCtx as B, renderSlot as G, normalizeProps as $, guardReactiveProps as ee, createElementVNode as I, Fragment as u, renderList as x, toDisplayString as V, mergeProps as se, withDirectives as tt, vModelCheckbox as lt, createTextVNode as rt } from "vue";
6
+ import { S as it } from "./Slicer-Bd0AkciG.js";
7
+ import at from "./Title-BQLtfM0P.js";
8
+ import { _ as st } from "./Shape-CrstrfQ9.js";
9
9
  import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const ct = ne(), ot = {
11
11
  name: "vue-ui-xy",
@@ -24,20 +24,20 @@ const ct = ne(), ot = {
24
24
  }
25
25
  },
26
26
  components: {
27
- Slicer: at,
27
+ Slicer: it,
28
28
  // Must be ready in responsive mode
29
- Title: it,
29
+ Title: at,
30
30
  // Must be ready in responsive mode
31
31
  Shape: st,
32
- DataTable: Z(() => import("./DataTable-BJxZbzUJ.js")),
33
- Tooltip: Z(() => import("./Tooltip-DLbBFcp8.js")),
34
- UserOptions: Z(() => import("./UserOptions-pCTGlSEB.js")),
35
- BaseIcon: Z(() => import("./BaseIcon-7mxb2L4b.js")),
36
- TableSparkline: Z(() => import("./vue-ui-table-sparkline-DQxudh2r.js")),
37
- Skeleton: Z(() => import("./vue-ui-skeleton-SD-iCl3N.js")),
38
- Accordion: Z(() => import("./vue-ui-accordion-rKdLqM-k.js")),
39
- PackageVersion: Z(() => import("./PackageVersion-BHdwLNYh.js")),
40
- PenAndPaper: Z(() => import("./PenAndPaper-5qbKUZba.js"))
32
+ DataTable: Z(() => import("./DataTable-B6MXw9cG.js")),
33
+ Tooltip: Z(() => import("./Tooltip-5JmGL7sR.js")),
34
+ UserOptions: Z(() => import("./UserOptions-DMGkAAIO.js")),
35
+ BaseIcon: Z(() => import("./BaseIcon-DJab5OQD.js")),
36
+ TableSparkline: Z(() => import("./vue-ui-table-sparkline-DRgsZztN.js")),
37
+ Skeleton: Z(() => import("./vue-ui-skeleton-D9B8DY_k.js")),
38
+ Accordion: Z(() => import("./vue-ui-accordion-CO4hmfuX.js")),
39
+ PackageVersion: Z(() => import("./PackageVersion-DCreTQN4.js")),
40
+ PenAndPaper: Z(() => import("./PenAndPaper-BS60tkQN.js"))
41
41
  },
42
42
  data() {
43
43
  this.dataset.forEach((f, l) => {
@@ -174,7 +174,7 @@ const ct = ne(), ot = {
174
174
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
175
175
  const r = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), o = Math.max(...r.map((l) => l.series.length)), d = [];
176
176
  for (let l = 0; l < o; l += 1)
177
- d.push(r.map((e) => e.series[l] || 0).reduce((e, a) => (e || 0) + (a || 0), 0));
177
+ d.push(r.map((e) => e.series[l] || 0).reduce((e, i) => (e || 0) + (i || 0), 0));
178
178
  const f = Math.min(...d);
179
179
  return d.map((l) => l + (f < 0 ? Math.abs(f) : 0));
180
180
  },
@@ -224,7 +224,7 @@ const ct = ne(), ot = {
224
224
  yOffset: e.yOffset || 0,
225
225
  individualHeight: e.individualHeight || this.drawingArea.height
226
226
  })), f = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...r, ...o, ...d], l = f.flatMap((e) => e).length;
227
- return f.flatMap((e, a) => ({
227
+ return f.flatMap((e, i) => ({
228
228
  unique: e.unique,
229
229
  id: e.id,
230
230
  groupId: e.groupId,
@@ -234,10 +234,10 @@ const ct = ne(), ot = {
234
234
  scale: e.scale,
235
235
  yOffset: e.yOffset,
236
236
  individualHeight: e.individualHeight,
237
- x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (a + 1),
238
- yLabels: e.scaleYLabels || e.scale.ticks.map((y) => ({
239
- y: y >= 0 ? e.zero - e.individualHeight * (y / e.max) : e.zero + e.individualHeight * Math.abs(y) / e.max,
240
- value: y
237
+ x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (i + 1),
238
+ yLabels: e.scaleYLabels || e.scale.ticks.map((A) => ({
239
+ y: A >= 0 ? e.zero - e.individualHeight * (A / e.max) : e.zero + e.individualHeight * Math.abs(A) / e.max,
240
+ value: A
241
241
  }))
242
242
  }));
243
243
  },
@@ -376,199 +376,199 @@ const ct = ne(), ot = {
376
376
  return o;
377
377
  },
378
378
  barSet() {
379
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
380
- return r.filter((a) => a.type === "bar").map((a, y) => {
381
- this.checkAutoScaleError(a);
382
- const z = this.scaleGroups[a.scaleLabel].min, O = this.scaleGroups[a.scaleLabel].max;
383
- a.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - z) / (O - z));
379
+ const r = this.activeSeriesWithStackRatios.filter((i) => ["bar", "line", "plot"].includes(i.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
380
+ return r.filter((i) => i.type === "bar").map((i, A) => {
381
+ this.checkAutoScaleError(i);
382
+ const z = this.scaleGroups[i.scaleLabel].min, O = this.scaleGroups[i.scaleLabel].max;
383
+ i.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - z) / (O - z));
384
384
  const N = {
385
385
  valueMin: z,
386
386
  valueMax: O < 0 ? 0 : O
387
387
  }, F = {
388
- max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
389
- min: a.scaleMin || Math.min(...a.absoluteValues.filter((C) => ![void 0, null].includes(C))) > 0 ? 0 : Math.min(...a.absoluteValues.filter((C) => ![null, void 0].includes(C)))
390
- }, v = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + M, c = b.max + Math.abs(H), n = a.stackIndex, g = o - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * a.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = this.absoluteDataset.filter((C) => C.type === "bar").filter((C) => !this.segregatedSeries.includes(C.id)).length, te = a.series.map((C, R) => {
391
- const K = this.mutableConfig.useIndividualScale ? (a.absoluteValues[R] + M) / t : this.ratioToMax(C), Q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left + this.slot.bar * y + this.slot.bar * R * W - this.barSlot / 2 - y * this.barPeriodGap;
388
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
389
+ min: i.scaleMin || Math.min(...i.absoluteValues.filter((C) => ![void 0, null].includes(C))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((C) => ![null, void 0].includes(C)))
390
+ }, v = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + M, c = b.max + Math.abs(H), n = i.stackIndex, g = o - 1 - n, p = f ? 1 - i.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * i.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = this.absoluteDataset.filter((C) => C.type === "bar").filter((C) => !this.segregatedSeries.includes(C.id)).length, te = i.series.map((C, R) => {
391
+ const K = this.mutableConfig.useIndividualScale ? (i.absoluteValues[R] + M) / t : this.ratioToMax(C), Q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left + this.slot.bar * A + this.slot.bar * R * W - this.barSlot / 2 - A * this.barPeriodGap;
392
392
  return {
393
393
  yOffset: this.checkNaN(S),
394
394
  individualHeight: this.checkNaN(k),
395
395
  x: this.checkNaN(Q),
396
396
  y: this.drawingArea.bottom - S - k * K,
397
- value: a.absoluteValues[R],
397
+ value: i.absoluteValues[R],
398
398
  zeroPosition: this.checkNaN(T),
399
399
  individualMax: this.checkNaN(t),
400
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
400
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
401
401
  };
402
- }), E = a.absoluteValues.map((C) => b.min >= 0 ? (C - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (C + Math.abs(b.min)) / (b.max + Math.abs(b.min))), J = a.series.map((C, R) => {
403
- const K = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * y + this.slot.bar * R * this.absoluteDataset.filter((Q) => Q.type === "bar").filter((Q) => !this.segregatedSeries.includes(Q.id)).length;
402
+ }), E = i.absoluteValues.map((C) => b.min >= 0 ? (C - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (C + Math.abs(b.min)) / (b.max + Math.abs(b.min))), J = i.series.map((C, R) => {
403
+ const K = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * A + this.slot.bar * R * this.absoluteDataset.filter((Q) => Q.type === "bar").filter((Q) => !this.segregatedSeries.includes(Q.id)).length;
404
404
  return {
405
405
  yOffset: this.checkNaN(S),
406
406
  individualHeight: this.checkNaN(k),
407
407
  x: this.checkNaN(K),
408
408
  y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(S) - (this.checkNaN(k) * E[R] || 0)),
409
- value: a.absoluteValues[R],
409
+ value: i.absoluteValues[R],
410
410
  zeroPosition: this.checkNaN(T),
411
411
  individualMax: this.checkNaN(t),
412
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
412
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
413
413
  };
414
414
  }), w = L.ticks.map((C) => ({
415
415
  y: C >= 0 ? T - k * (C / t) : T + k * Math.abs(C) / t,
416
416
  value: C,
417
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
418
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
419
- datapoint: a
417
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
418
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
419
+ datapoint: i
420
420
  })), P = b.ticks.map((C) => {
421
421
  const R = (C - b.min) / (b.max - b.min);
422
422
  return {
423
423
  y: C >= 0 ? Y - k * R : Y + k * R,
424
424
  value: C,
425
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
426
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
427
- datapoint: a
425
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
426
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
427
+ datapoint: i
428
428
  };
429
429
  });
430
- return this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? P : w, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? Y : T, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? c : t, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = S, this.scaleGroups[a.scaleLabel].individualHeight = k, this.scaleGroups[a.scaleLabel].autoScaleYLabels = P, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((C) => C.scaleLabel === a.scaleLabel).length === 1, {
431
- ...a,
430
+ return this.scaleGroups[i.scaleLabel].name = i.name, this.scaleGroups[i.scaleLabel].groupName = i.scaleLabel, this.scaleGroups[i.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || i.color, this.scaleGroups[i.scaleLabel].color = i.color, this.scaleGroups[i.scaleLabel].scaleYLabels = i.autoScaling ? P : w, this.scaleGroups[i.scaleLabel].zeroPosition = i.autoScaling ? Y : T, this.scaleGroups[i.scaleLabel].individualMax = i.autoScaling ? c : t, this.scaleGroups[i.scaleLabel].scaleLabel = i.scaleLabel, this.scaleGroups[i.scaleLabel].id = i.id, this.scaleGroups[i.scaleLabel].yOffset = S, this.scaleGroups[i.scaleLabel].individualHeight = k, this.scaleGroups[i.scaleLabel].autoScaleYLabels = P, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((C) => C.scaleLabel === i.scaleLabel).length === 1, {
431
+ ...i,
432
432
  yOffset: S,
433
433
  autoScaleYLabels: P,
434
434
  individualHeight: k,
435
- scaleYLabels: a.autoScaling ? P : w,
436
- individualScale: a.autoScaling ? b : L,
437
- individualMax: a.autoScaling ? c : t,
438
- zeroPosition: a.autoScaling ? Y : T,
439
- plots: a.autoScaling ? J : te,
440
- groupId: this.scaleGroups[a.scaleLabel].groupId
435
+ scaleYLabels: i.autoScaling ? P : w,
436
+ individualScale: i.autoScaling ? b : L,
437
+ individualMax: i.autoScaling ? c : t,
438
+ zeroPosition: i.autoScaling ? Y : T,
439
+ plots: i.autoScaling ? J : te,
440
+ groupId: this.scaleGroups[i.scaleLabel].groupId
441
441
  };
442
442
  });
443
443
  },
444
444
  lineSet() {
445
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
446
- return r.filter((a) => a.type === "line").map((a, y) => {
447
- this.checkAutoScaleError(a);
448
- const z = this.scaleGroups[a.scaleLabel].min, O = this.scaleGroups[a.scaleLabel].max;
449
- a.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - z) / (O - z));
445
+ const r = this.activeSeriesWithStackRatios.filter((i) => ["bar", "line", "plot"].includes(i.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
446
+ return r.filter((i) => i.type === "line").map((i, A) => {
447
+ this.checkAutoScaleError(i);
448
+ const z = this.scaleGroups[i.scaleLabel].min, O = this.scaleGroups[i.scaleLabel].max;
449
+ i.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - z) / (O - z));
450
450
  const N = {
451
451
  valueMin: z,
452
452
  valueMax: O
453
453
  }, F = {
454
- max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
455
- min: a.scaleMin || (Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues))
456
- }, v = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + Math.abs(M), c = b.max + Math.abs(H), n = a.stackIndex, g = o - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * a.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = a.series.map((A, D) => {
457
- const he = this.mutableConfig.useIndividualScale ? (a.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(A);
454
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
455
+ min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
456
+ }, v = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + Math.abs(M), c = b.max + Math.abs(H), n = i.stackIndex, g = o - 1 - n, p = f ? 1 - i.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * i.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = i.series.map((y, D) => {
457
+ const he = this.mutableConfig.useIndividualScale ? (i.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(y);
458
458
  return {
459
459
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
460
460
  y: this.checkNaN(this.drawingArea.bottom - S - k * he),
461
- value: a.absoluteValues[D],
462
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
461
+ value: i.absoluteValues[D],
462
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
463
463
  };
464
- }), te = a.absoluteValues.map((A) => b.min >= 0 ? (A - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (A + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = a.series.map((A, D) => [void 0, null].includes(a.absoluteValues[D]) ? {
464
+ }), te = i.absoluteValues.map((y) => b.min >= 0 ? (y - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (y + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = i.series.map((y, D) => [void 0, null].includes(i.absoluteValues[D]) ? {
465
465
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
466
466
  y: T,
467
- value: a.absoluteValues[D],
468
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
467
+ value: i.absoluteValues[D],
468
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
469
469
  } : {
470
470
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
471
471
  y: this.checkNaN(this.drawingArea.bottom - S - (k * te[D] || 0)),
472
- value: a.absoluteValues[D],
473
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
474
- }), J = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(W) : this.createSmoothPath(W.filter((A) => A.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((A) => A.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(W) : this.createStraightPath(W.filter((A) => A.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((A) => A.value !== null)), R = L.ticks.map((A) => ({
475
- y: A >= 0 ? T - k * (A / t) : T + k * Math.abs(A) / t,
476
- value: A,
477
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
478
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
479
- datapoint: a
480
- })), K = b.ticks.map((A) => {
481
- const D = (A - b.min) / (b.max - b.min);
472
+ value: i.absoluteValues[D],
473
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
474
+ }), J = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(W) : this.createSmoothPath(W.filter((y) => y.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((y) => y.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(W) : this.createStraightPath(W.filter((y) => y.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((y) => y.value !== null)), R = L.ticks.map((y) => ({
475
+ y: y >= 0 ? T - k * (y / t) : T + k * Math.abs(y) / t,
476
+ value: y,
477
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
478
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
479
+ datapoint: i
480
+ })), K = b.ticks.map((y) => {
481
+ const D = (y - b.min) / (b.max - b.min);
482
482
  return {
483
- y: A >= 0 ? Y - k * D : Y + k * D,
484
- value: A,
485
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
486
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
487
- datapoint: a
483
+ y: y >= 0 ? Y - k * D : Y + k * D,
484
+ value: y,
485
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
486
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
487
+ datapoint: i
488
488
  };
489
489
  });
490
- this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? K : R, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? Y : T, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? c : t, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = S, this.scaleGroups[a.scaleLabel].individualHeight = k, this.scaleGroups[a.scaleLabel].autoScaleYLabels = K, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((A) => A.scaleLabel === a.scaleLabel).length === 1;
491
- const Q = this.mutableConfig.useIndividualScale ? a.autoScaling ? Y : T : this.zero, re = Math.max(Math.max(a.autoScaling ? Y : R.at(-1).y || 0, this.drawingArea.top), Q);
490
+ this.scaleGroups[i.scaleLabel].name = i.name, this.scaleGroups[i.scaleLabel].groupName = i.scaleLabel, this.scaleGroups[i.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || i.color, this.scaleGroups[i.scaleLabel].color = i.color, this.scaleGroups[i.scaleLabel].scaleYLabels = i.autoScaling ? K : R, this.scaleGroups[i.scaleLabel].zeroPosition = i.autoScaling ? Y : T, this.scaleGroups[i.scaleLabel].individualMax = i.autoScaling ? c : t, this.scaleGroups[i.scaleLabel].scaleLabel = i.scaleLabel, this.scaleGroups[i.scaleLabel].id = i.id, this.scaleGroups[i.scaleLabel].yOffset = S, this.scaleGroups[i.scaleLabel].individualHeight = k, this.scaleGroups[i.scaleLabel].autoScaleYLabels = K, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === i.scaleLabel).length === 1;
491
+ const Q = this.mutableConfig.useIndividualScale ? i.autoScaling ? Y : T : this.zero, re = Math.max(Math.max(i.autoScaling ? Y : R.at(-1).y || 0, this.drawingArea.top), Q);
492
492
  return {
493
- ...a,
493
+ ...i,
494
494
  yOffset: S,
495
495
  autoScaleYLabels: K,
496
496
  individualHeight: k,
497
- scaleYLabels: a.autoScaling ? K : R,
498
- individualScale: a.autoScaling ? b : L,
499
- individualMax: a.autoScaling ? c : t,
500
- zeroPosition: a.autoScaling ? Y : T,
501
- curve: a.autoScaling ? w : J,
502
- plots: a.autoScaling ? E : W,
503
- area: a.useArea ? this.mutableConfig.useIndividualScale ? this.FINAL_CONFIG.line.cutNullValues ? this.createIndividualAreaWithCuts(
504
- a.autoScaling ? E : W,
497
+ scaleYLabels: i.autoScaling ? K : R,
498
+ individualScale: i.autoScaling ? b : L,
499
+ individualMax: i.autoScaling ? c : t,
500
+ zeroPosition: i.autoScaling ? Y : T,
501
+ curve: i.autoScaling ? w : J,
502
+ plots: i.autoScaling ? E : W,
503
+ area: i.useArea ? this.mutableConfig.useIndividualScale ? this.FINAL_CONFIG.line.cutNullValues ? this.createIndividualAreaWithCuts(
504
+ i.autoScaling ? E : W,
505
505
  re
506
506
  ) : this.createIndividualArea(
507
- a.autoScaling ? E.filter((A) => A.value !== null) : W.filter((A) => A.value !== null),
507
+ i.autoScaling ? E.filter((y) => y.value !== null) : W.filter((y) => y.value !== null),
508
508
  re
509
- ) : this.createIndividualArea(W.filter((A) => A.value !== null), re) : "",
510
- curveAreas: a.useArea ? ce(
511
- a.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((A) => A.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? W : W.filter((A) => A.value !== null),
509
+ ) : this.createIndividualArea(W.filter((y) => y.value !== null), re) : "",
510
+ curveAreas: i.useArea ? ce(
511
+ i.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((y) => y.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? W : W.filter((y) => y.value !== null),
512
512
  re,
513
513
  this.FINAL_CONFIG.line.cutNullValues
514
514
  ) : [],
515
- straight: a.autoScaling ? C : P,
516
- groupId: this.scaleGroups[a.scaleLabel].groupId
515
+ straight: i.autoScaling ? C : P,
516
+ groupId: this.scaleGroups[i.scaleLabel].groupId
517
517
  };
518
518
  });
519
519
  },
520
520
  plotSet() {
521
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
522
- return r.filter((a) => a.type === "plot").map((a) => {
523
- this.checkAutoScaleError(a);
524
- const y = this.scaleGroups[a.scaleLabel].min, z = this.scaleGroups[a.scaleLabel].max;
525
- a.absoluteValues.filter((w) => ![null, void 0].includes(w)).map((w) => (w - y) / (z - y));
521
+ const r = this.activeSeriesWithStackRatios.filter((i) => ["bar", "line", "plot"].includes(i.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
522
+ return r.filter((i) => i.type === "plot").map((i) => {
523
+ this.checkAutoScaleError(i);
524
+ const A = this.scaleGroups[i.scaleLabel].min, z = this.scaleGroups[i.scaleLabel].max;
525
+ i.absoluteValues.filter((w) => ![null, void 0].includes(w)).map((w) => (w - A) / (z - A));
526
526
  const O = {
527
- valueMin: y,
527
+ valueMin: A,
528
528
  valueMax: z
529
529
  }, N = {
530
- max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
531
- min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
532
- }, F = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, v = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * v : N.max, F), L = this.calculateNiceScaleWithExactExtremes(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * v : O.valueMax, F), b = m.min >= 0 ? 0 : Math.abs(m.min), M = 0, H = m.max + b, t = L.max + Math.abs(M), c = a.stackIndex, n = o - 1 - c, g = f ? 1 - a.cumulatedStackRatio : 0, p = f ? e * g + d * n : 0, S = f ? e * a.stackRatio : this.drawingArea.height, k = this.drawingArea.bottom - p - S * b / H, T = this.drawingArea.bottom - p - S * M / t, Y = a.series.map((w, P) => {
533
- const C = this.mutableConfig.useIndividualScale ? (a.absoluteValues[P] + Math.abs(b)) / H : this.ratioToMax(w);
530
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
531
+ min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
532
+ }, F = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, v = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * v : N.max, F), L = this.calculateNiceScaleWithExactExtremes(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * v : O.valueMax, F), b = m.min >= 0 ? 0 : Math.abs(m.min), M = 0, H = m.max + b, t = L.max + Math.abs(M), c = i.stackIndex, n = o - 1 - c, g = f ? 1 - i.cumulatedStackRatio : 0, p = f ? e * g + d * n : 0, S = f ? e * i.stackRatio : this.drawingArea.height, k = this.drawingArea.bottom - p - S * b / H, T = this.drawingArea.bottom - p - S * M / t, Y = i.series.map((w, P) => {
533
+ const C = this.mutableConfig.useIndividualScale ? (i.absoluteValues[P] + Math.abs(b)) / H : this.ratioToMax(w);
534
534
  return {
535
535
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * P),
536
536
  y: this.checkNaN(this.drawingArea.bottom - p - S * C),
537
- value: a.absoluteValues[P],
538
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
537
+ value: i.absoluteValues[P],
538
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
539
539
  };
540
- }), W = a.absoluteValues.map((w) => L.min >= 0 ? (w - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (w + Math.abs(L.min)) / (L.max + Math.abs(L.min))), te = a.series.map((w, P) => ({
540
+ }), W = i.absoluteValues.map((w) => L.min >= 0 ? (w - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (w + Math.abs(L.min)) / (L.max + Math.abs(L.min))), te = i.series.map((w, P) => ({
541
541
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * P),
542
542
  y: this.checkNaN(this.drawingArea.bottom - p - (S * W[P] || 0)),
543
- value: a.absoluteValues[P],
544
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
543
+ value: i.absoluteValues[P],
544
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
545
545
  })), E = m.ticks.map((w) => ({
546
546
  y: w >= 0 ? k - S * (w / H) : k + S * Math.abs(w) / H,
547
547
  value: w,
548
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
549
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
550
- datapoint: a
548
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
549
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
550
+ datapoint: i
551
551
  })), J = L.ticks.map((w) => {
552
552
  const P = (w - L.min) / (L.max - L.min);
553
553
  return {
554
554
  y: w >= 0 ? T - S * P : T + S * P,
555
555
  value: w,
556
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
557
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
558
- datapoint: a
556
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
557
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
558
+ datapoint: i
559
559
  };
560
560
  });
561
- return this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? J : E, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? T : k, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? t : H, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = p, this.scaleGroups[a.scaleLabel].individualHeight = S, this.scaleGroups[a.scaleLabel].autoScaleYLabels = J, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((w) => w.scaleLabel === a.scaleLabel).length === 1, {
562
- ...a,
561
+ return this.scaleGroups[i.scaleLabel].name = i.name, this.scaleGroups[i.scaleLabel].groupName = i.scaleLabel, this.scaleGroups[i.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || i.color, this.scaleGroups[i.scaleLabel].color = i.color, this.scaleGroups[i.scaleLabel].scaleYLabels = i.autoScaling ? J : E, this.scaleGroups[i.scaleLabel].zeroPosition = i.autoScaling ? T : k, this.scaleGroups[i.scaleLabel].individualMax = i.autoScaling ? t : H, this.scaleGroups[i.scaleLabel].scaleLabel = i.scaleLabel, this.scaleGroups[i.scaleLabel].id = i.id, this.scaleGroups[i.scaleLabel].yOffset = p, this.scaleGroups[i.scaleLabel].individualHeight = S, this.scaleGroups[i.scaleLabel].autoScaleYLabels = J, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((w) => w.scaleLabel === i.scaleLabel).length === 1, {
562
+ ...i,
563
563
  yOffset: p,
564
564
  autoScaleYLabels: J,
565
565
  individualHeight: S,
566
- scaleYLabels: a.autoScaling ? J : E,
567
- individualScale: a.autoScaling ? L : m,
568
- individualMax: a.autoScaling ? t : H,
569
- zeroPosition: a.autoScaling ? T : k,
570
- plots: a.autoScaling ? te : Y,
571
- groupId: this.scaleGroups[a.scaleLabel].groupId
566
+ scaleYLabels: i.autoScaling ? J : E,
567
+ individualScale: i.autoScaling ? L : m,
568
+ individualMax: i.autoScaling ? t : H,
569
+ zeroPosition: i.autoScaling ? T : k,
570
+ plots: i.autoScaling ? te : Y,
571
+ groupId: this.scaleGroups[i.scaleLabel].groupId
572
572
  };
573
573
  });
574
574
  },
@@ -576,8 +576,8 @@ const ct = ne(), ot = {
576
576
  function r(f) {
577
577
  const l = /* @__PURE__ */ new Set();
578
578
  return f.forEach((e) => {
579
- const a = e.scaleLabel || "__noScaleLabel__";
580
- l.add(a);
579
+ const i = e.scaleLabel || "__noScaleLabel__";
580
+ l.add(i);
581
581
  }), l.size;
582
582
  }
583
583
  const o = r(this.absoluteDataset.filter((f) => !this.segregatedSeries.includes(f.id))), d = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? o * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
@@ -652,22 +652,22 @@ const ct = ne(), ot = {
652
652
  r && (o = o.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
653
653
  let d = [];
654
654
  for (let e = 0; e < this.maxSeries; e += 1) {
655
- const a = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, z) => y + z, 0);
655
+ const i = this.relativeDataset.map((A) => A.absoluteValues[e] ?? 0).reduce((A, z) => A + z, 0);
656
656
  d.push(
657
657
  [
658
658
  this.timeLabels[e].text ?? "-"
659
659
  ].concat(this.relativeDataset.map(
660
- (y) => this.applyDataLabel(
661
- y.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : y.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
662
- y.absoluteValues[e] ?? 0,
660
+ (A) => this.applyDataLabel(
661
+ A.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : A.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
662
+ A.absoluteValues[e] ?? 0,
663
663
  this.dataLabel({
664
- p: y.prefix || this.FINAL_CONFIG.chart.labels.prefix,
665
- v: y.absoluteValues[e] ?? 0,
666
- s: y.suffix || this.FINAL_CONFIG.chart.labels.suffix,
664
+ p: A.prefix || this.FINAL_CONFIG.chart.labels.prefix,
665
+ v: A.absoluteValues[e] ?? 0,
666
+ s: A.suffix || this.FINAL_CONFIG.chart.labels.suffix,
667
667
  r: this.FINAL_CONFIG.table.rounding
668
668
  })
669
669
  )
670
- )).concat(r ? (a ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
670
+ )).concat(r ? (i ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
671
671
  );
672
672
  }
673
673
  const f = {
@@ -730,13 +730,13 @@ const ct = ne(), ot = {
730
730
  config: this.FINAL_CONFIG
731
731
  }) : (d && d.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${d.text}</div>`), this.selectedSeries.forEach((l) => {
732
732
  if (this.isSafeValue(l.value)) {
733
- let e = "", a = "";
733
+ let e = "", i = "";
734
734
  switch (this.icons[l.type]) {
735
735
  case "bar":
736
736
  e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${l.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${l.slotAbsoluteIndex}` : l.color}" /></svg>`;
737
737
  break;
738
738
  case "line":
739
- !l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? a = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? a = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? a = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? a = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? a = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? a = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (a = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${ae({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${a}</svg>`;
739
+ !l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? i = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (i = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${ie({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${i}</svg>`;
740
740
  break;
741
741
  case "plot":
742
742
  if (!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape)) {
@@ -744,7 +744,7 @@ const ct = ne(), ot = {
744
744
  break;
745
745
  }
746
746
  if (l.shape === "star") {
747
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${ae({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
747
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${ie({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
748
748
  break;
749
749
  }
750
750
  if (l.shape === "triangle") {
@@ -810,7 +810,7 @@ const ct = ne(), ot = {
810
810
  (N) => N.show && (N.yAxis.yTop != null || N.yAxis.yBottom != null)
811
811
  );
812
812
  if (!o.length) return [];
813
- const { left: d, right: f } = this.drawingArea, l = this.zero, e = this.drawingArea.height, a = this.niceScale.min, z = this.niceScale.max - a, O = (N) => {
813
+ const { left: d, right: f } = this.drawingArea, l = this.zero, e = this.drawingArea.height, i = this.niceScale.min, z = this.niceScale.max - i, O = (N) => {
814
814
  const F = (N - 0) / z;
815
815
  return l - F * e;
816
816
  };
@@ -883,15 +883,15 @@ const ct = ne(), ot = {
883
883
  functionReturnsString: Se,
884
884
  hasDeepProperty: Ce,
885
885
  isFunction: Le,
886
- isSafeValue: ye,
887
- largestTriangleThreeBucketsArray: Ae,
886
+ isSafeValue: Ae,
887
+ largestTriangleThreeBucketsArray: ye,
888
888
  objectIsEmpty: _e,
889
889
  setOpacity: Fe,
890
890
  shiftHue: be,
891
891
  translateSize: me,
892
892
  treeShake: Ne,
893
893
  useMouse: je,
894
- useNestedProp: ie,
894
+ useNestedProp: ae,
895
895
  createUid: ne,
896
896
  placeXYTag: xe,
897
897
  createSmoothPathWithCuts: Ie,
@@ -955,11 +955,11 @@ const ct = ne(), ot = {
955
955
  userConfig: this.config,
956
956
  defaultConfig: r
957
957
  });
958
- return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? o.chart.highlightArea = this.config.chart.highlightArea : o.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? o.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : o.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? o.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : o.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? o.chart.zoom.startIndex = this.config.chart.zoom.startIndex : o.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? o.chart.zoom.endIndex = this.config.chart.zoom.endIndex : o.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? o.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : o.chart.grid.labels.yAxis.groupColor = null, this.config && this.config.chart.annotations && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length ? o.chart.annotations = this.config.chart.annotations.map((d) => ie({
958
+ return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? o.chart.highlightArea = this.config.chart.highlightArea : o.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? o.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : o.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? o.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : o.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? o.chart.zoom.startIndex = this.config.chart.zoom.startIndex : o.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? o.chart.zoom.endIndex = this.config.chart.zoom.endIndex : o.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? o.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : o.chart.grid.labels.yAxis.groupColor = null, this.config && this.config.chart.annotations && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length ? o.chart.annotations = this.config.chart.annotations.map((d) => ae({
959
959
  defaultConfig: r.chart.annotations[0],
960
960
  userConfig: d
961
961
  })) : o.chart.annotations = [], o.theme ? {
962
- ...ie({
962
+ ...ae({
963
963
  userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
964
964
  defaultConfig: o
965
965
  }),
@@ -997,18 +997,18 @@ const ct = ne(), ot = {
997
997
  const { height: d, width: f } = o.getBoundingClientRect();
998
998
  let l = null, e = 0;
999
999
  this.FINAL_CONFIG.chart.title.show && this.$refs.chartTitle && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
1000
- let a = null, y = 0;
1001
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (a = this.$refs.chartSlicer.$el, y = a.getBoundingClientRect().height);
1000
+ let i = null, A = 0;
1001
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (i = this.$refs.chartSlicer.$el, A = i.getBoundingClientRect().height);
1002
1002
  let z = null, O = 0;
1003
1003
  this.FINAL_CONFIG.chart.legend.show && this.$refs.chartLegend && (z = this.$refs.chartLegend, O = z.getBoundingClientRect().height);
1004
1004
  let N = 0;
1005
1005
  this.$refs.source && (N = this.$refs.source.getBoundingClientRect().height);
1006
1006
  let F = 0;
1007
- this.$refs.noTitle && (F = this.$refs.noTitle.getBoundingClientRect().height), this.height = d - e - O - y - N - F - 12, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1007
+ this.$refs.noTitle && (F = this.$refs.noTitle.getBoundingClientRect().height), this.height = d - e - O - A - N - F - 12, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1008
1008
  const v = new ResizeObserver((m) => {
1009
1009
  for (const L of m)
1010
- this.FINAL_CONFIG.chart.title.show && this.$refs.chartTitle ? e = this.$refs.chartTitle.getBoundingClientRect().height : e = 0, this.$refs.chartSlicer && this.$refs.chartSlicer.$el ? y = this.$refs.chartSlicer.$el.getBoundingClientRect().height : y = 0, this.$refs.chartLegend ? O = this.$refs.chartLegend.getBoundingClientRect().height : O = 0, this.$refs.source ? N = this.$refs.source.getBoundingClientRect().height : N = 0, this.$refs.noTitle ? F = this.$refs.noTitle.getBoundingClientRect().height : F = 0, requestAnimationFrame(() => {
1011
- this.height = L.contentRect.height - e - O - y - N - F - 12, this.width = L.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1010
+ this.FINAL_CONFIG.chart.title.show && this.$refs.chartTitle ? e = this.$refs.chartTitle.getBoundingClientRect().height : e = 0, this.$refs.chartSlicer && this.$refs.chartSlicer.$el ? A = this.$refs.chartSlicer.$el.getBoundingClientRect().height : A = 0, this.$refs.chartLegend ? O = this.$refs.chartLegend.getBoundingClientRect().height : O = 0, this.$refs.source ? N = this.$refs.source.getBoundingClientRect().height : N = 0, this.$refs.noTitle ? F = this.$refs.noTitle.getBoundingClientRect().height : F = 0, requestAnimationFrame(() => {
1011
+ this.height = L.contentRect.height - e - O - A - N - F - 12, this.width = L.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1012
1012
  });
1013
1013
  });
1014
1014
  this.resizeObserver = v, this.observedEl = o, v.observe(o);
@@ -1083,7 +1083,7 @@ const ct = ne(), ot = {
1083
1083
  l.push(`${e.x},${e.y} `);
1084
1084
  }), [d.x, d.y, ...l, f.x, f.y].toString();
1085
1085
  },
1086
- createStar: ae,
1086
+ createStar: ie,
1087
1087
  createPolygonPath: X,
1088
1088
  fillArray(r, o) {
1089
1089
  let d = Array(r).fill(0);
@@ -1118,7 +1118,7 @@ const ct = ne(), ot = {
1118
1118
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? r.x + this.drawingArea.width / this.maxSeries * 0.05 : r.x + this.slot.bar / 2;
1119
1119
  },
1120
1120
  calcRectY(r) {
1121
- return r.value >= 0 ? r.y : this.zero;
1121
+ return r.value >= 0 ? r.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(this.zero) ? this.drawingArea.bottom : this.zero;
1122
1122
  },
1123
1123
  calcIndividualRectY(r) {
1124
1124
  return r.value >= 0 ? r.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(r.zeroPosition) ? 0 : r.zeroPosition;
@@ -1186,7 +1186,7 @@ const ct = ne(), ot = {
1186
1186
  async generatePdf() {
1187
1187
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1188
1188
  try {
1189
- const { default: r } = await import("./pdf-Bs-E3Ytt.js");
1189
+ const { default: r } = await import("./pdf-DJVOD0cz.js");
1190
1190
  await r({
1191
1191
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1192
1192
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1200,7 +1200,7 @@ const ct = ne(), ot = {
1200
1200
  }, 100);
1201
1201
  },
1202
1202
  generateCsv(r = null) {
1203
- const o = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], d = ["", ...this.table.head.map((a) => a.label)], f = this.table.body, l = o.concat([d]).concat(f), e = this.createCsvContent(l);
1203
+ const o = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], d = ["", ...this.table.head.map((i) => i.label)], f = this.table.body, l = o.concat([d]).concat(f), e = this.createCsvContent(l);
1204
1204
  r ? r(e) : this.downloadCsv({ csvContent: e, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1205
1205
  },
1206
1206
  showSpinnerImage() {
@@ -1209,7 +1209,7 @@ const ct = ne(), ot = {
1209
1209
  async generateImage() {
1210
1210
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1211
1211
  try {
1212
- const { default: r } = await import("./img-BpsNgbdF.js");
1212
+ const { default: r } = await import("./img-CTC5DLKL.js");
1213
1213
  await r({
1214
1214
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1215
1215
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1229,13 +1229,13 @@ const ct = ne(), ot = {
1229
1229
  ref: "noTitle",
1230
1230
  class: "vue-data-ui-no-title-space",
1231
1231
  style: "height:36px; width: 100%; background:transparent"
1232
- }, dt = ["viewBox", "aria-label"], gt = ["x", "y", "width", "height"], ft = { key: 1 }, It = { class: "vue-ui-xy-grid" }, xt = ["stroke", "x1", "x2", "y1", "y2"], Nt = ["stroke", "x1", "x2", "y1", "y2"], mt = { key: 1 }, bt = ["x1", "x2", "y1", "y2", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke"], _t = ["x1", "x2", "y1", "y2", "stroke"], At = { key: 3 }, yt = ["x1", "x2", "y1", "y2", "stroke"], Lt = { key: 4 }, Ct = ["y1", "y2", "x1", "x2", "stroke"], St = ["id"], kt = ["stop-color"], wt = ["stop-color"], Ot = ["stop-color"], Gt = ["id"], vt = ["stop-color"], pt = ["stop-color"], zt = ["stop-color"], Mt = ["id"], Tt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Rt = ["stop-color"], Ht = ["stop-color"], Dt = ["id"], Bt = ["stop-color"], Wt = ["stop-color"], Et = ["x", "y", "height", "width", "fill"], Yt = ["x", "y", "width"], qt = ["x", "y", "height", "width", "fill"], Xt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ut = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zt = ["width", "x", "y"], Jt = { key: 0 }, Kt = ["id"], Qt = ["fill"], jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], $t = ["x", "y", "font-size", "fill"], el = ["stroke", "x1", "x2", "y1", "y2"], tl = { key: 2 }, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], al = { key: 4 }, il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["fill", "font-size", "transform"], nl = ["x1", "x2", "y1", "y2", "stroke"], cl = ["x", "y", "font-size", "fill"], ol = ["x1", "x2", "y1", "y2", "stroke"], hl = ["x", "y", "font-size", "fill"], ul = ["width", "x", "y"], dl = { style: { width: "100%" } }, gl = { key: 0 }, fl = ["id"], Il = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Nl = ["x", "y", "font-size", "fill"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fl = { key: 5 }, _l = { key: 0 }, Al = ["d", "fill"], yl = ["d", "fill"], Ll = ["d", "fill"], Cl = ["d", "fill"], Sl = ["d", "stroke", "stroke-width", "stroke-dasharray"], kl = ["d", "stroke", "stroke-width", "stroke-dasharray"], wl = ["width", "x", "y"], Ol = { style: { width: "100%" } }, Gl = { key: 3 }, vl = ["id"], pl = ["fill"], zl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ml = ["x", "y", "font-size", "fill"], Tl = { key: 6 }, Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill", "font-weight"], Rl = { key: 7 }, Hl = ["x", "y", "font-size", "fill"], Dl = { key: 8 }, Bl = ["x", "y"], Wl = ["innerHTML"], El = ["x", "y"], Yl = ["innerHTML"], ql = ["x1", "x2", "y1", "y2", "stroke"], Xl = { key: 9 }, Ul = ["x", "y", "font-size", "fill"], Zl = { key: 10 }, Jl = ["x", "y"], Kl = ["innerHTML"], Ql = ["x", "y"], jl = ["innerHTML"], $l = ["x1", "x2", "y1", "y2", "stroke"], er = ["x", "y", "font-size", "fill", "innerHTML"], tr = ["x", "y", "font-size", "fill", "innerHTML"], lr = ["x", "y", "font-size", "fill", "innerHTML"], rr = ["x", "y", "font-size", "fill", "innerHTML"], ar = ["id"], ir = ["stop-color"], sr = ["stop-color"], nr = ["x", "y", "width", "height", "fill", "onMouseenter"], cr = ["font-size", "fill", "transform"], or = ["x", "y", "font-size", "fill"], hr = { key: 12 }, ur = ["text-anchor", "font-size", "fill", "transform", "onClick"], dr = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gr = { key: 13 }, fr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ir = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xr = ["y", "x", "width", "height", "fill"], Nr = ["id", "x", "y", "font-size", "fill", "text-anchor"], mr = ["x", "y", "height", "width", "onMouseenter", "onClick"], br = {
1232
+ }, dt = ["viewBox", "aria-label"], gt = ["x", "y", "width", "height"], ft = { key: 1 }, It = { class: "vue-ui-xy-grid" }, xt = ["stroke", "x1", "x2", "y1", "y2"], Nt = ["stroke", "x1", "x2", "y1", "y2"], mt = { key: 1 }, bt = ["x1", "x2", "y1", "y2", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke"], _t = ["x1", "x2", "y1", "y2", "stroke"], yt = { key: 3 }, At = ["x1", "x2", "y1", "y2", "stroke"], Lt = { key: 4 }, Ct = ["y1", "y2", "x1", "x2", "stroke"], St = ["id"], kt = ["stop-color"], wt = ["stop-color"], Ot = ["stop-color"], Gt = ["id"], vt = ["stop-color"], pt = ["stop-color"], zt = ["stop-color"], Mt = ["id"], Tt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Rt = ["stop-color"], Ht = ["stop-color"], Dt = ["id"], Bt = ["stop-color"], Wt = ["stop-color"], Et = ["x", "y", "height", "width", "fill"], Yt = ["x", "y", "width"], qt = ["x", "y", "height", "width", "fill"], Xt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ut = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zt = ["width", "x", "y"], Jt = { key: 0 }, Kt = ["id"], Qt = ["fill"], jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], $t = ["x", "y", "font-size", "fill"], el = ["stroke", "x1", "x2", "y1", "y2"], tl = { key: 2 }, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], il = { key: 4 }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["fill", "font-size", "transform"], nl = ["x1", "x2", "y1", "y2", "stroke"], cl = ["x", "y", "font-size", "fill"], ol = ["x1", "x2", "y1", "y2", "stroke"], hl = ["x", "y", "font-size", "fill"], ul = ["width", "x", "y"], dl = { style: { width: "100%" } }, gl = { key: 0 }, fl = ["id"], Il = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Nl = ["x", "y", "font-size", "fill"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fl = { key: 5 }, _l = { key: 0 }, yl = ["d", "fill"], Al = ["d", "fill"], Ll = ["d", "fill"], Cl = ["d", "fill"], Sl = ["d", "stroke", "stroke-width", "stroke-dasharray"], kl = ["d", "stroke", "stroke-width", "stroke-dasharray"], wl = ["width", "x", "y"], Ol = { style: { width: "100%" } }, Gl = { key: 3 }, vl = ["id"], pl = ["fill"], zl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ml = ["x", "y", "font-size", "fill"], Tl = { key: 6 }, Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill", "font-weight"], Rl = { key: 7 }, Hl = ["x", "y", "font-size", "fill"], Dl = { key: 8 }, Bl = ["x", "y"], Wl = ["innerHTML"], El = ["x", "y"], Yl = ["innerHTML"], ql = ["x1", "x2", "y1", "y2", "stroke"], Xl = { key: 9 }, Ul = ["x", "y", "font-size", "fill"], Zl = { key: 10 }, Jl = ["x", "y"], Kl = ["innerHTML"], Ql = ["x", "y"], jl = ["innerHTML"], $l = ["x1", "x2", "y1", "y2", "stroke"], er = ["x", "y", "font-size", "fill", "innerHTML"], tr = ["x", "y", "font-size", "fill", "innerHTML"], lr = ["x", "y", "font-size", "fill", "innerHTML"], rr = ["x", "y", "font-size", "fill", "innerHTML"], ir = ["id"], ar = ["stop-color"], sr = ["stop-color"], nr = ["x", "y", "width", "height", "fill", "onMouseenter"], cr = ["font-size", "fill", "transform"], or = ["x", "y", "font-size", "fill"], hr = { key: 12 }, ur = ["text-anchor", "font-size", "fill", "transform", "onClick"], dr = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gr = { key: 13 }, fr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ir = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xr = ["y", "x", "width", "height", "fill"], Nr = ["id", "x", "y", "font-size", "fill", "text-anchor"], mr = ["x", "y", "height", "width", "onMouseenter", "onClick"], br = {
1233
1233
  key: 14,
1234
1234
  style: { "pointer-events": "none" }
1235
- }, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"], Ar = {
1235
+ }, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"], yr = {
1236
1236
  key: 5,
1237
1237
  class: "vue-data-ui-watermark"
1238
- }, yr = {
1238
+ }, Ar = {
1239
1239
  class: "vue-ui-xy-tag-arrow",
1240
1240
  height: "20",
1241
1241
  viewBox: "0 0 10 20",
@@ -1282,8 +1282,8 @@ const ct = ne(), ot = {
1282
1282
  "data-dom-to-png-ignore": ""
1283
1283
  }, qr = ["innerHTML"];
1284
1284
  function Xr(r, o, d, f, l, e) {
1285
- const a = q("PenAndPaper"), y = q("Title"), z = q("UserOptions"), O = q("PackageVersion"), N = q("Shape"), F = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), L = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
1286
- return i(), s("div", {
1285
+ const i = q("PenAndPaper"), A = q("Title"), z = q("UserOptions"), O = q("PackageVersion"), N = q("Shape"), F = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), L = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
1286
+ return a(), s("div", {
1287
1287
  id: `vue-ui-xy_${l.uniqueId}`,
1288
1288
  class: j(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1289
1289
  ref: "chart",
@@ -1291,7 +1291,7 @@ function Xr(r, o, d, f, l, e) {
1291
1291
  onMouseenter: o[7] || (o[7] = () => e.setUserOptionsVisibility(!0)),
1292
1292
  onMouseleave: o[8] || (o[8] = () => e.setUserOptionsVisibility(!1))
1293
1293
  }, [
1294
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (i(), U(a, {
1294
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), U(i, {
1295
1295
  key: 0,
1296
1296
  svgRef: l.svgRef,
1297
1297
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1299,14 +1299,14 @@ function Xr(r, o, d, f, l, e) {
1299
1299
  active: l.isAnnotator,
1300
1300
  onClose: e.toggleAnnotator
1301
1301
  }, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
1302
- e.hasOptionsNoTitle ? (i(), s("div", ut, null, 512)) : h("", !0),
1303
- e.FINAL_CONFIG.chart.title.show ? (i(), s("div", {
1302
+ e.hasOptionsNoTitle ? (a(), s("div", ut, null, 512)) : h("", !0),
1303
+ e.FINAL_CONFIG.chart.title.show ? (a(), s("div", {
1304
1304
  key: 2,
1305
1305
  ref: "chartTitle",
1306
1306
  class: "vue-ui-xy-title",
1307
1307
  style: _(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1308
1308
  }, [
1309
- (i(), U(y, {
1309
+ (a(), U(A, {
1310
1310
  key: `title_${l.titleStep}`,
1311
1311
  config: {
1312
1312
  title: {
@@ -1320,7 +1320,7 @@ function Xr(r, o, d, f, l, e) {
1320
1320
  }
1321
1321
  }, null, 8, ["config"]))
1322
1322
  ], 4)) : h("", !0),
1323
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (i(), U(z, {
1323
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (a(), U(z, {
1324
1324
  ref: "defails",
1325
1325
  key: `user_options_${l.step}`,
1326
1326
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1429,7 +1429,7 @@ function Xr(r, o, d, f, l, e) {
1429
1429
  key: "9"
1430
1430
  } : void 0
1431
1431
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : h("", !0),
1432
- e.isDataset ? (i(), s("svg", {
1432
+ e.isDataset ? (a(), s("svg", {
1433
1433
  key: 4,
1434
1434
  ref: "svgRef",
1435
1435
  xmlns: "http://www.w3.org/2000/svg",
@@ -1442,7 +1442,7 @@ function Xr(r, o, d, f, l, e) {
1442
1442
  "aria-live": "polite"
1443
1443
  }, [
1444
1444
  le(O),
1445
- r.$slots["chart-background"] ? (i(), s("foreignObject", {
1445
+ r.$slots["chart-background"] ? (a(), s("foreignObject", {
1446
1446
  key: 0,
1447
1447
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1448
1448
  y: e.drawingArea.top,
@@ -1454,9 +1454,9 @@ function Xr(r, o, d, f, l, e) {
1454
1454
  }, [
1455
1455
  G(r.$slots, "chart-background", {}, void 0, !0)
1456
1456
  ], 8, gt)) : h("", !0),
1457
- e.maxSeries > 0 ? (i(), s("g", ft, [
1457
+ e.maxSeries > 0 ? (a(), s("g", ft, [
1458
1458
  I("g", It, [
1459
- e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (i(), s("line", {
1459
+ e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), s("line", {
1460
1460
  key: 0,
1461
1461
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1462
1462
  "stroke-width": "1",
@@ -1467,8 +1467,8 @@ function Xr(r, o, d, f, l, e) {
1467
1467
  "stroke-linecap": "round",
1468
1468
  style: { animation: "none !important" }
1469
1469
  }, null, 8, xt)) : h("", !0),
1470
- l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(!0), s(u, { key: 2 }, x(e.allScales, (t) => (i(), s("g", null, [
1471
- t.id === l.selectedScale && t.yLabels.length ? (i(!0), s(u, { key: 0 }, x(t.yLabels, (c) => (i(), s("line", {
1470
+ l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(u, { key: 2 }, x(e.allScales, (t) => (a(), s("g", null, [
1471
+ t.id === l.selectedScale && t.yLabels.length ? (a(!0), s(u, { key: 0 }, x(t.yLabels, (c) => (a(), s("line", {
1472
1472
  x1: e.drawingArea.left + e.xPadding,
1473
1473
  x2: e.drawingArea.right - e.xPadding,
1474
1474
  y1: e.forceValidValue(c.y),
@@ -1477,7 +1477,7 @@ function Xr(r, o, d, f, l, e) {
1477
1477
  "stroke-width": 0.5,
1478
1478
  "stroke-linecap": "round",
1479
1479
  style: { animation: "none !important" }
1480
- }, null, 8, Ft))), 256)) : t.yLabels.length ? (i(!0), s(u, { key: 1 }, x(t.yLabels, (c) => (i(), s("line", {
1480
+ }, null, 8, Ft))), 256)) : t.yLabels.length ? (a(!0), s(u, { key: 1 }, x(t.yLabels, (c) => (a(), s("line", {
1481
1481
  x1: e.drawingArea.left + e.xPadding,
1482
1482
  x2: e.drawingArea.right - e.xPadding,
1483
1483
  y1: e.forceValidValue(c.y),
@@ -1487,8 +1487,8 @@ function Xr(r, o, d, f, l, e) {
1487
1487
  "stroke-linecap": "round",
1488
1488
  style: { animation: "none !important" }
1489
1489
  }, null, 8, _t))), 256)) : h("", !0)
1490
- ]))), 256)) : h("", !0) : (i(), s(u, { key: 1 }, [
1491
- e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (i(), s("line", {
1490
+ ]))), 256)) : h("", !0) : (a(), s(u, { key: 1 }, [
1491
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), s("line", {
1492
1492
  key: 0,
1493
1493
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1494
1494
  "stroke-width": "1",
@@ -1499,8 +1499,8 @@ function Xr(r, o, d, f, l, e) {
1499
1499
  "stroke-linecap": "round",
1500
1500
  style: { animation: "none !important" }
1501
1501
  }, null, 8, Nt)) : h("", !0),
1502
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(), s("g", mt, [
1503
- (i(!0), s(u, null, x(e.yLabels, (t) => (i(), s("line", {
1502
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), s("g", mt, [
1503
+ (a(!0), s(u, null, x(e.yLabels, (t) => (a(), s("line", {
1504
1504
  x1: e.drawingArea.left + e.xPadding,
1505
1505
  x2: e.drawingArea.right - e.xPadding,
1506
1506
  y1: e.forceValidValue(t.y),
@@ -1512,8 +1512,8 @@ function Xr(r, o, d, f, l, e) {
1512
1512
  }, null, 8, bt))), 256))
1513
1513
  ])) : h("", !0)
1514
1514
  ], 64)),
1515
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (i(), s("g", At, [
1516
- (i(!0), s(u, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (i(), s("line", {
1515
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", yt, [
1516
+ (a(!0), s(u, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (a(), s("line", {
1517
1517
  key: `grid_vertical_line_${c}`,
1518
1518
  x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1519
1519
  x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
@@ -1522,14 +1522,14 @@ function Xr(r, o, d, f, l, e) {
1522
1522
  "stroke-width": "0.5",
1523
1523
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1524
1524
  style: { animation: "none !important" }
1525
- }, null, 8, yt))), 128))
1525
+ }, null, 8, At))), 128))
1526
1526
  ])) : h("", !0),
1527
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", Lt, [
1528
- (i(!0), s(u, null, x(e.timeLabels, (t, c) => (i(), s("g", {
1527
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Lt, [
1528
+ (a(!0), s(u, null, x(e.timeLabels, (t, c) => (a(), s("g", {
1529
1529
  key: `time_label_${c}`
1530
1530
  }, [
1531
- t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s(u, { key: 0 }, [
1532
- e.FINAL_CONFIG.chart.grid.labels.xAxis.showCrosshairs ? (i(), s("line", {
1531
+ t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s(u, { key: 0 }, [
1532
+ e.FINAL_CONFIG.chart.grid.labels.xAxis.showCrosshairs ? (a(), s("line", {
1533
1533
  key: 0,
1534
1534
  y1: e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? e.zero - (e.zero === e.drawingArea.bottom ? 0 : e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize / 2) : e.drawingArea.bottom,
1535
1535
  y2: e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? e.zero + e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize / (e.zero === e.drawingArea.bottom ? 1 : 2) : e.drawingArea.bottom + e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize,
@@ -1544,7 +1544,7 @@ function Xr(r, o, d, f, l, e) {
1544
1544
  ]))), 128))
1545
1545
  ])) : h("", !0)
1546
1546
  ]),
1547
- (i(!0), s(u, null, x(e.barSet, (t, c) => (i(), s("defs", {
1547
+ (a(!0), s(u, null, x(e.barSet, (t, c) => (a(), s("defs", {
1548
1548
  key: `def_rect_${c}`
1549
1549
  }, [
1550
1550
  I("linearGradient", {
@@ -1584,7 +1584,7 @@ function Xr(r, o, d, f, l, e) {
1584
1584
  }, null, 8, zt)
1585
1585
  ], 8, Gt)
1586
1586
  ]))), 128)),
1587
- (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s("defs", {
1587
+ (a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s("defs", {
1588
1588
  key: `def_plot_${c}`
1589
1589
  }, [
1590
1590
  I("radialGradient", {
@@ -1605,7 +1605,7 @@ function Xr(r, o, d, f, l, e) {
1605
1605
  }, null, 8, Pt)
1606
1606
  ], 8, Mt)
1607
1607
  ]))), 128)),
1608
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s("defs", {
1608
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s("defs", {
1609
1609
  key: `def_line_${c}`
1610
1610
  }, [
1611
1611
  I("radialGradient", {
@@ -1642,9 +1642,9 @@ function Xr(r, o, d, f, l, e) {
1642
1642
  }, null, 8, Wt)
1643
1643
  ], 8, Dt)
1644
1644
  ]))), 128)),
1645
- (i(!0), s(u, null, x(e.highlightAreas, (t) => (i(), s("g", null, [
1646
- t.show ? (i(), s(u, { key: 0 }, [
1647
- (i(!0), s(u, null, x(t.span, (c, n) => (i(), s("g", null, [
1645
+ (a(!0), s(u, null, x(e.highlightAreas, (t) => (a(), s("g", null, [
1646
+ t.show ? (a(), s(u, { key: 0 }, [
1647
+ (a(!0), s(u, null, x(t.span, (c, n) => (a(), s("g", null, [
1648
1648
  I("rect", {
1649
1649
  style: _({
1650
1650
  transition: "none",
@@ -1657,8 +1657,8 @@ function Xr(r, o, d, f, l, e) {
1657
1657
  fill: e.setOpacity(t.color, t.opacity)
1658
1658
  }, null, 12, Et)
1659
1659
  ]))), 256)),
1660
- (i(!0), s(u, null, x(t.span, (c, n) => (i(), s("g", null, [
1661
- t.caption.text && n === 0 ? (i(), s("foreignObject", {
1660
+ (a(!0), s(u, null, x(t.span, (c, n) => (a(), s("g", null, [
1661
+ t.caption.text && n === 0 ? (a(), s("foreignObject", {
1662
1662
  key: 0,
1663
1663
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - l.slicer.start) - (t.caption.width === "auto" ? 0 : t.caption.width / 2 - e.drawingArea.width / e.maxSeries * t.span / 2),
1664
1664
  y: e.drawingArea.top + t.caption.offsetY,
@@ -1677,7 +1677,7 @@ function Xr(r, o, d, f, l, e) {
1677
1677
  ], 64)) : h("", !0)
1678
1678
  ]))), 256)),
1679
1679
  I("g", null, [
1680
- (i(!0), s(u, null, x(e.maxSeries, (t, c) => (i(), s("g", {
1680
+ (a(!0), s(u, null, x(e.maxSeries, (t, c) => (a(), s("g", {
1681
1681
  key: `tooltip_trap_highlighter_${c}`
1682
1682
  }, [
1683
1683
  I("rect", {
@@ -1689,15 +1689,15 @@ function Xr(r, o, d, f, l, e) {
1689
1689
  }, null, 8, qt)
1690
1690
  ]))), 128))
1691
1691
  ]),
1692
- e.barSet.length ? (i(!0), s(u, { key: 0 }, x(e.barSet, (t, c) => (i(), s("g", {
1692
+ e.barSet.length ? (a(!0), s(u, { key: 0 }, x(e.barSet, (t, c) => (a(), s("g", {
1693
1693
  key: `serie_bar_${c}`,
1694
1694
  class: j(`serie_bar_${c}`),
1695
1695
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1696
1696
  }, [
1697
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s("g", {
1697
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s("g", {
1698
1698
  key: `bar_plot_${c}_${g}`
1699
1699
  }, [
1700
- e.canShowValue(n.value) ? (i(), s("rect", {
1700
+ e.canShowValue(n.value) ? (a(), s("rect", {
1701
1701
  key: 0,
1702
1702
  x: e.calcRectX(n),
1703
1703
  y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
@@ -1708,7 +1708,7 @@ function Xr(r, o, d, f, l, e) {
1708
1708
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
1709
1709
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1710
1710
  }, null, 8, Xt)) : h("", !0),
1711
- e.canShowValue(n.value) && r.$slots.pattern ? (i(), s("rect", {
1711
+ e.canShowValue(n.value) && r.$slots.pattern ? (a(), s("rect", {
1712
1712
  key: 1,
1713
1713
  x: e.calcRectX(n),
1714
1714
  y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
@@ -1719,7 +1719,7 @@ function Xr(r, o, d, f, l, e) {
1719
1719
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
1720
1720
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1721
1721
  }, null, 8, Ut)) : h("", !0),
1722
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
1722
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1723
1723
  key: 2,
1724
1724
  style: { overflow: "visible" },
1725
1725
  height: "12",
@@ -1732,7 +1732,7 @@ function Xr(r, o, d, f, l, e) {
1732
1732
  }, void 0, !0)
1733
1733
  ], 8, Zt)) : h("", !0)
1734
1734
  ]))), 128)),
1735
- Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", Jt, [
1735
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (a(), s("g", Jt, [
1736
1736
  I("defs", null, [
1737
1737
  I("marker", {
1738
1738
  id: `bar_arrow_${c}`,
@@ -1748,7 +1748,7 @@ function Xr(r, o, d, f, l, e) {
1748
1748
  }, null, 8, Qt)
1749
1749
  ], 8, Kt)
1750
1750
  ]),
1751
- t.plots.length > 1 ? (i(), s("line", {
1751
+ t.plots.length > 1 ? (a(), s("line", {
1752
1752
  key: 0,
1753
1753
  x1: e.calcLinearProgression(t.plots).x1 + e.calcRectWidth(),
1754
1754
  x2: e.calcLinearProgression(t.plots).x2 + e.calcRectWidth(),
@@ -1759,7 +1759,7 @@ function Xr(r, o, d, f, l, e) {
1759
1759
  "stroke-dasharray": 2,
1760
1760
  "marker-end": `url(#bar_arrow_${c})`
1761
1761
  }, null, 8, jt)) : h("", !0),
1762
- t.plots.length > 1 ? (i(), s("text", {
1762
+ t.plots.length > 1 ? (a(), s("text", {
1763
1763
  key: 1,
1764
1764
  "text-anchor": "middle",
1765
1765
  x: e.calcLinearProgression(t.plots).x2 + e.calcRectWidth(),
@@ -1773,7 +1773,7 @@ function Xr(r, o, d, f, l, e) {
1773
1773
  })), 9, $t)) : h("", !0)
1774
1774
  ])) : h("", !0)
1775
1775
  ], 6))), 128)) : h("", !0),
1776
- !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (i(), s("line", {
1776
+ !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (a(), s("line", {
1777
1777
  key: 1,
1778
1778
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1779
1779
  "stroke-width": "1",
@@ -1784,7 +1784,7 @@ function Xr(r, o, d, f, l, e) {
1784
1784
  "stroke-linecap": "round",
1785
1785
  style: { animation: "none !important" }
1786
1786
  }, null, 8, el)) : h("", !0),
1787
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", tl, [
1787
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (a(), s("g", tl, [
1788
1788
  I("line", {
1789
1789
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1790
1790
  x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
@@ -1797,7 +1797,7 @@ function Xr(r, o, d, f, l, e) {
1797
1797
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1798
1798
  }, null, 8, ll)
1799
1799
  ])) : h("", !0),
1800
- e.FINAL_CONFIG.chart.grid.frame.show ? (i(), s("rect", {
1800
+ e.FINAL_CONFIG.chart.grid.frame.show ? (a(), s("rect", {
1801
1801
  key: 3,
1802
1802
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1803
1803
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -1811,9 +1811,9 @@ function Xr(r, o, d, f, l, e) {
1811
1811
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1812
1812
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1813
1813
  }, null, 8, rl)) : h("", !0),
1814
- e.FINAL_CONFIG.chart.grid.labels.show ? (i(), s("g", al, [
1815
- l.mutableConfig.useIndividualScale ? (i(), s(u, { key: 0 }, [
1816
- (i(!0), s(u, null, x(e.allScales, (t) => (i(), s("g", null, [
1814
+ e.FINAL_CONFIG.chart.grid.labels.show ? (a(), s("g", il, [
1815
+ l.mutableConfig.useIndividualScale ? (a(), s(u, { key: 0 }, [
1816
+ (a(!0), s(u, null, x(e.allScales, (t) => (a(), s("g", null, [
1817
1817
  I("line", {
1818
1818
  x1: t.x + e.xPadding,
1819
1819
  x2: t.x + e.xPadding,
@@ -1823,9 +1823,9 @@ function Xr(r, o, d, f, l, e) {
1823
1823
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1824
1824
  "stroke-linecap": "round",
1825
1825
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1826
- }, null, 12, il)
1826
+ }, null, 12, al)
1827
1827
  ]))), 256)),
1828
- (i(!0), s(u, null, x(e.allScales, (t) => (i(), s("g", {
1828
+ (a(!0), s(u, null, x(e.allScales, (t) => (a(), s("g", {
1829
1829
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1830
1830
  }, [
1831
1831
  I("text", {
@@ -1834,8 +1834,8 @@ function Xr(r, o, d, f, l, e) {
1834
1834
  "text-anchor": "middle",
1835
1835
  transform: `translate(${t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset - t.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1836
1836
  }, V(t.name) + " " + V(t.scaleLabel && t.unique && t.scaleLabel !== t.id ? `- ${t.scaleLabel}` : ""), 9, sl),
1837
- (i(!0), s(u, null, x(t.yLabels, (c, n) => (i(), s(u, null, [
1838
- e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
1837
+ (a(!0), s(u, null, x(t.yLabels, (c, n) => (a(), s(u, null, [
1838
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (a(), s("line", {
1839
1839
  key: 0,
1840
1840
  x1: t.x + 3 + e.xPadding - e.FINAL_CONFIG.chart.grid.labels.yAxis.crosshairSize,
1841
1841
  x2: t.x + e.xPadding,
@@ -1847,7 +1847,7 @@ function Xr(r, o, d, f, l, e) {
1847
1847
  style: { animation: "none !important" }
1848
1848
  }, null, 8, nl)) : h("", !0)
1849
1849
  ], 64))), 256)),
1850
- (i(!0), s(u, null, x(t.yLabels, (c, n) => (i(), s("text", {
1850
+ (a(!0), s(u, null, x(t.yLabels, (c, n) => (a(), s("text", {
1851
1851
  x: t.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1852
1852
  y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
1853
1853
  "font-size": l.fontSizes.dataLabels,
@@ -1865,10 +1865,10 @@ function Xr(r, o, d, f, l, e) {
1865
1865
  { datapoint: c.datapoint, seriesIndex: n }
1866
1866
  )), 9, cl))), 256))
1867
1867
  ], 4))), 256))
1868
- ], 64)) : (i(!0), s(u, { key: 1 }, x(e.yLabels, (t, c) => (i(), s("g", {
1868
+ ], 64)) : (a(!0), s(u, { key: 1 }, x(e.yLabels, (t, c) => (a(), s("g", {
1869
1869
  key: `yLabel_${c}`
1870
1870
  }, [
1871
- e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max && e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
1871
+ e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max && e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (a(), s("line", {
1872
1872
  key: 0,
1873
1873
  x1: e.drawingArea.left + e.xPadding,
1874
1874
  x2: e.drawingArea.left - e.FINAL_CONFIG.chart.grid.labels.yAxis.crosshairSize + e.xPadding,
@@ -1879,7 +1879,7 @@ function Xr(r, o, d, f, l, e) {
1879
1879
  "stroke-linecap": "round",
1880
1880
  style: { animation: "none !important" }
1881
1881
  }, null, 8, ol)) : h("", !0),
1882
- t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (i(), s("text", {
1882
+ t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (a(), s("text", {
1883
1883
  key: 1,
1884
1884
  x: e.drawingArea.left - 7 + e.xPadding,
1885
1885
  y: e.checkNaN(t.y + l.fontSizes.dataLabels / 3),
@@ -1898,15 +1898,15 @@ function Xr(r, o, d, f, l, e) {
1898
1898
  ) : ""), 9, hl)) : h("", !0)
1899
1899
  ]))), 128))
1900
1900
  ])) : h("", !0),
1901
- (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s("g", {
1901
+ (a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s("g", {
1902
1902
  key: `serie_plot_${c}`,
1903
1903
  class: j(`serie_plot_${c}`),
1904
1904
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1905
1905
  }, [
1906
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s("g", {
1906
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s("g", {
1907
1907
  key: `circle_plot_${c}_${g}`
1908
1908
  }, [
1909
- n && e.canShowValue(n.value) ? (i(), U(N, {
1909
+ n && e.canShowValue(n.value) ? (a(), U(N, {
1910
1910
  key: 0,
1911
1911
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
1912
1912
  color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? t.color : e.FINAL_CONFIG.plot.dot.fill,
@@ -1915,7 +1915,7 @@ function Xr(r, o, d, f, l, e) {
1915
1915
  stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
1916
1916
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1917
1917
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1918
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
1918
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1919
1919
  key: 1,
1920
1920
  style: { overflow: "visible" },
1921
1921
  height: "12",
@@ -1930,7 +1930,7 @@ function Xr(r, o, d, f, l, e) {
1930
1930
  ])
1931
1931
  ], 8, ul)) : h("", !0)
1932
1932
  ]))), 128)),
1933
- Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", gl, [
1933
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (a(), s("g", gl, [
1934
1934
  I("defs", null, [
1935
1935
  I("marker", {
1936
1936
  id: `plot_arrow_${c}`,
@@ -1946,7 +1946,7 @@ function Xr(r, o, d, f, l, e) {
1946
1946
  }, null, 8, Il)
1947
1947
  ], 8, fl)
1948
1948
  ]),
1949
- t.plots.length > 1 ? (i(), s("line", {
1949
+ t.plots.length > 1 ? (a(), s("line", {
1950
1950
  key: 0,
1951
1951
  x1: e.calcLinearProgression(t.plots).x1,
1952
1952
  x2: e.calcLinearProgression(t.plots).x2,
@@ -1957,7 +1957,7 @@ function Xr(r, o, d, f, l, e) {
1957
1957
  "stroke-dasharray": 2,
1958
1958
  "marker-end": `url(#plot_arrow_${c})`
1959
1959
  }, null, 8, xl)) : h("", !0),
1960
- t.plots.length > 1 ? (i(), s("text", {
1960
+ t.plots.length > 1 ? (a(), s("text", {
1961
1961
  key: 1,
1962
1962
  "text-anchor": "middle",
1963
1963
  x: e.calcLinearProgression(t.plots).x2,
@@ -1971,19 +1971,19 @@ function Xr(r, o, d, f, l, e) {
1971
1971
  })), 9, Nl)) : h("", !0)
1972
1972
  ])) : h("", !0)
1973
1973
  ], 6))), 128)),
1974
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s("g", {
1974
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s("g", {
1975
1975
  key: `serie_line_${c}`,
1976
1976
  class: j(`serie_line_${c}`),
1977
1977
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1978
1978
  }, [
1979
- t.smooth && t.plots.length > 1 && t.curve ? (i(), s("path", {
1979
+ t.smooth && t.plots.length > 1 && t.curve ? (a(), s("path", {
1980
1980
  key: 0,
1981
1981
  d: `M${t.curve}`,
1982
1982
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1983
1983
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1984
1984
  "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1985
1985
  fill: "none"
1986
- }, null, 8, ml)) : t.plots.length > 1 && t.straight ? (i(), s("path", {
1986
+ }, null, 8, ml)) : t.plots.length > 1 && t.straight ? (a(), s("path", {
1987
1987
  key: 1,
1988
1988
  d: `M${t.straight}`,
1989
1989
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1994,40 +1994,40 @@ function Xr(r, o, d, f, l, e) {
1994
1994
  "stroke-linejoin": "round"
1995
1995
  }, null, 8, bl)) : h("", !0)
1996
1996
  ], 6))), 128)),
1997
- r.$slots.pattern ? (i(), s("defs", Fl, [
1998
- (i(!0), s(u, null, x(e.safeDataset, (t, c) => G(r.$slots, "pattern", se({
1997
+ r.$slots.pattern ? (a(), s("defs", Fl, [
1998
+ (a(!0), s(u, null, x(e.safeDataset, (t, c) => G(r.$slots, "pattern", se({
1999
1999
  key: `serie_pattern_slot_${c}`
2000
2000
  }, { ref_for: !0 }, { ...t, seriesIndex: t.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
2001
2001
  ])) : h("", !0),
2002
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s("g", {
2002
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s("g", {
2003
2003
  key: `serie_line_${c}`,
2004
2004
  class: j(`serie_line_${c}`),
2005
2005
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2006
2006
  }, [
2007
- t.useArea && t.plots.length > 1 ? (i(), s("g", _l, [
2008
- t.smooth ? (i(!0), s(u, { key: 0 }, x(t.curveAreas, (n, g) => (i(), s(u, { key: g }, [
2007
+ t.useArea && t.plots.length > 1 ? (a(), s("g", _l, [
2008
+ t.smooth ? (a(!0), s(u, { key: 0 }, x(t.curveAreas, (n, g) => (a(), s(u, { key: g }, [
2009
2009
  I("path", {
2010
2010
  d: n,
2011
2011
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2012
- }, null, 8, Al),
2013
- r.$slots.pattern ? (i(), s("path", {
2012
+ }, null, 8, yl),
2013
+ r.$slots.pattern ? (a(), s("path", {
2014
2014
  key: 0,
2015
2015
  d: n,
2016
2016
  fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
2017
- }, null, 8, yl)) : h("", !0)
2018
- ], 64))), 128)) : (i(!0), s(u, { key: 1 }, x(t.area.split(";"), (n, g) => (i(), s(u, { key: g }, [
2017
+ }, null, 8, Al)) : h("", !0)
2018
+ ], 64))), 128)) : (a(!0), s(u, { key: 1 }, x(t.area.split(";"), (n, g) => (a(), s(u, { key: g }, [
2019
2019
  I("path", {
2020
2020
  d: `M${n}Z`,
2021
2021
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2022
2022
  }, null, 8, Ll),
2023
- r.$slots.pattern ? (i(), s("path", {
2023
+ r.$slots.pattern ? (a(), s("path", {
2024
2024
  key: 0,
2025
2025
  d: `M${n}Z`,
2026
2026
  fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
2027
2027
  }, null, 8, Cl)) : h("", !0)
2028
2028
  ], 64))), 128))
2029
2029
  ])) : h("", !0),
2030
- t.smooth && t.plots.length > 1 && t.curve ? (i(), s("path", {
2030
+ t.smooth && t.plots.length > 1 && t.curve ? (a(), s("path", {
2031
2031
  key: 1,
2032
2032
  d: `M${t.curve}`,
2033
2033
  stroke: t.color,
@@ -2035,7 +2035,7 @@ function Xr(r, o, d, f, l, e) {
2035
2035
  "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
2036
2036
  fill: "none",
2037
2037
  "stroke-linecap": "round"
2038
- }, null, 8, Sl)) : t.plots.length > 1 && t.straight ? (i(), s("path", {
2038
+ }, null, 8, Sl)) : t.plots.length > 1 && t.straight ? (a(), s("path", {
2039
2039
  key: 2,
2040
2040
  d: `M${t.straight}`,
2041
2041
  stroke: t.color,
@@ -2045,10 +2045,10 @@ function Xr(r, o, d, f, l, e) {
2045
2045
  "stroke-linecap": "round",
2046
2046
  "stroke-linejoin": "round"
2047
2047
  }, null, 8, kl)) : h("", !0),
2048
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2048
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2049
2049
  key: `circle_line_${c}_${g}`
2050
2050
  }, [
2051
- !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) ? (i(), U(N, {
2051
+ !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) ? (a(), U(N, {
2052
2052
  key: 0,
2053
2053
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
2054
2054
  color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? t.color : e.FINAL_CONFIG.line.dot.fill,
@@ -2057,7 +2057,7 @@ function Xr(r, o, d, f, l, e) {
2057
2057
  stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
2058
2058
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
2059
2059
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
2060
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
2060
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
2061
2061
  key: 1,
2062
2062
  style: { overflow: "visible" },
2063
2063
  height: "12",
@@ -2072,7 +2072,7 @@ function Xr(r, o, d, f, l, e) {
2072
2072
  ])
2073
2073
  ], 8, wl)) : h("", !0)
2074
2074
  ], 64))), 128)),
2075
- Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", Gl, [
2075
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (a(), s("g", Gl, [
2076
2076
  I("defs", null, [
2077
2077
  I("marker", {
2078
2078
  id: `line_arrow_${c}`,
@@ -2088,7 +2088,7 @@ function Xr(r, o, d, f, l, e) {
2088
2088
  }, null, 8, pl)
2089
2089
  ], 8, vl)
2090
2090
  ]),
2091
- t.plots.length > 1 ? (i(), s("line", {
2091
+ t.plots.length > 1 ? (a(), s("line", {
2092
2092
  key: 0,
2093
2093
  x1: e.calcLinearProgression(t.plots).x1,
2094
2094
  x2: e.calcLinearProgression(t.plots).x2,
@@ -2099,7 +2099,7 @@ function Xr(r, o, d, f, l, e) {
2099
2099
  "stroke-dasharray": 2,
2100
2100
  "marker-end": `url(#line_arrow_${c})`
2101
2101
  }, null, 8, zl)) : h("", !0),
2102
- t.plots.length > 1 ? (i(), s("text", {
2102
+ t.plots.length > 1 ? (a(), s("text", {
2103
2103
  key: 1,
2104
2104
  "text-anchor": "middle",
2105
2105
  x: e.calcLinearProgression(t.plots).x2,
@@ -2113,14 +2113,14 @@ function Xr(r, o, d, f, l, e) {
2113
2113
  })), 9, Ml)) : h("", !0)
2114
2114
  ])) : h("", !0)
2115
2115
  ], 6))), 128)),
2116
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (i(), s("g", Tl, [
2117
- (i(!0), s(u, null, x(e.barSet, (t, c) => (i(), s(u, {
2116
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (a(), s("g", Tl, [
2117
+ (a(!0), s(u, null, x(e.barSet, (t, c) => (a(), s(u, {
2118
2118
  key: `xLabel_bar_${c}`
2119
2119
  }, [
2120
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2120
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2121
2121
  key: `xLabel_bar_${c}_${g}`
2122
2122
  }, [
2123
- n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) && e.FINAL_CONFIG.bar.labels.show ? (i(), s("text", {
2123
+ n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) && e.FINAL_CONFIG.bar.labels.show ? (a(), s("text", {
2124
2124
  key: 0,
2125
2125
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
2126
2126
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
@@ -2142,7 +2142,7 @@ function Xr(r, o, d, f, l, e) {
2142
2142
  serie: t
2143
2143
  }
2144
2144
  ) : ""), 13, Pl)) : h("", !0),
2145
- n && e.FINAL_CONFIG.bar.serieName.show ? (i(), s("text", {
2145
+ n && e.FINAL_CONFIG.bar.serieName.show ? (a(), s("text", {
2146
2146
  key: 1,
2147
2147
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
2148
2148
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
@@ -2155,14 +2155,14 @@ function Xr(r, o, d, f, l, e) {
2155
2155
  ], 64))), 128))
2156
2156
  ], 64))), 128))
2157
2157
  ])) : h("", !0),
2158
- e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Rl, [
2159
- (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2158
+ e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (a(), s("g", Rl, [
2159
+ (a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
2160
2160
  key: `xLabel_plot_${c}`
2161
2161
  }, [
2162
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2162
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2163
2163
  key: `xLabel_plot_${c}_${g}`
2164
2164
  }, [
2165
- n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (i(), s("text", {
2165
+ n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (a(), s("text", {
2166
2166
  key: 0,
2167
2167
  x: n.x,
2168
2168
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
@@ -2186,15 +2186,15 @@ function Xr(r, o, d, f, l, e) {
2186
2186
  ) : ""), 13, Hl)) : h("", !0)
2187
2187
  ], 64))), 128))
2188
2188
  ], 64))), 128))
2189
- ])) : (i(), s("g", Dl, [
2190
- (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2189
+ ])) : (a(), s("g", Dl, [
2190
+ (a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
2191
2191
  key: `xLabel_plot_${c}`
2192
2192
  }, [
2193
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2193
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2194
2194
  key: `xLabel_plot_${c}_${g}`
2195
2195
  }, [
2196
- e.FINAL_CONFIG.plot.tag.followValue ? (i(), s(u, { key: 1 }, [
2197
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (i(), s("line", {
2196
+ e.FINAL_CONFIG.plot.tag.followValue ? (a(), s(u, { key: 1 }, [
2197
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (a(), s("line", {
2198
2198
  key: 0,
2199
2199
  class: "vue-ui-xy-tag-plot",
2200
2200
  x1: e.drawingArea.left,
@@ -2206,8 +2206,8 @@ function Xr(r, o, d, f, l, e) {
2206
2206
  "stroke-dasharray": "2",
2207
2207
  stroke: t.color
2208
2208
  }, null, 8, ql)) : h("", !0)
2209
- ], 64)) : (i(), s(u, { key: 0 }, [
2210
- n && g === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2209
+ ], 64)) : (a(), s(u, { key: 0 }, [
2210
+ n && g === 0 && t.useTag && t.useTag === "start" ? (a(), s("foreignObject", {
2211
2211
  key: 0,
2212
2212
  x: n.x,
2213
2213
  y: n.y - 20,
@@ -2229,7 +2229,7 @@ function Xr(r, o, d, f, l, e) {
2229
2229
  )
2230
2230
  }, null, 12, Wl)
2231
2231
  ], 12, Bl)) : h("", !0),
2232
- n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2232
+ n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (a(), s("foreignObject", {
2233
2233
  key: 1,
2234
2234
  x: n.x - t.name.length * (l.fontSizes.plotLabels / 2),
2235
2235
  y: n.y - 20,
@@ -2255,14 +2255,14 @@ function Xr(r, o, d, f, l, e) {
2255
2255
  ], 64))), 128))
2256
2256
  ], 64))), 128))
2257
2257
  ])),
2258
- e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Xl, [
2259
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2258
+ e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (a(), s("g", Xl, [
2259
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
2260
2260
  key: `xLabel_line_${c}`
2261
2261
  }, [
2262
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2262
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2263
2263
  key: `xLabel_line_${c}_${g}`
2264
2264
  }, [
2265
- n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (i(), s("text", {
2265
+ n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (a(), s("text", {
2266
2266
  key: 0,
2267
2267
  x: n.x,
2268
2268
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
@@ -2286,15 +2286,15 @@ function Xr(r, o, d, f, l, e) {
2286
2286
  ) : ""), 13, Ul)) : h("", !0)
2287
2287
  ], 64))), 128))
2288
2288
  ], 64))), 128))
2289
- ])) : (i(), s("g", Zl, [
2290
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2289
+ ])) : (a(), s("g", Zl, [
2290
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
2291
2291
  key: `xLabel_line_${c}`
2292
2292
  }, [
2293
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2293
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2294
2294
  key: `xLabel_line_${c}_${g}`
2295
2295
  }, [
2296
- e.FINAL_CONFIG.line.tag.followValue ? (i(), s(u, { key: 1 }, [
2297
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (i(), s("line", {
2296
+ e.FINAL_CONFIG.line.tag.followValue ? (a(), s(u, { key: 1 }, [
2297
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (a(), s("line", {
2298
2298
  key: 0,
2299
2299
  class: "vue-ui-xy-tag-line",
2300
2300
  x1: e.drawingArea.left,
@@ -2306,8 +2306,8 @@ function Xr(r, o, d, f, l, e) {
2306
2306
  "stroke-dasharray": "2",
2307
2307
  stroke: t.color
2308
2308
  }, null, 8, $l)) : h("", !0)
2309
- ], 64)) : (i(), s(u, { key: 0 }, [
2310
- n && g === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2309
+ ], 64)) : (a(), s(u, { key: 0 }, [
2310
+ n && g === 0 && t.useTag && t.useTag === "start" ? (a(), s("foreignObject", {
2311
2311
  key: 0,
2312
2312
  x: n.x,
2313
2313
  y: n.y - 20,
@@ -2329,7 +2329,7 @@ function Xr(r, o, d, f, l, e) {
2329
2329
  )
2330
2330
  }, null, 12, Kl)
2331
2331
  ], 12, Jl)) : h("", !0),
2332
- n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2332
+ n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (a(), s("foreignObject", {
2333
2333
  key: 1,
2334
2334
  x: n.x,
2335
2335
  y: n.y - 20,
@@ -2355,13 +2355,13 @@ function Xr(r, o, d, f, l, e) {
2355
2355
  ], 64))), 128))
2356
2356
  ], 64))), 128))
2357
2357
  ])),
2358
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2358
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
2359
2359
  key: `xLabel_line_${c}`
2360
2360
  }, [
2361
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2361
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2362
2362
  key: `xLabel_line_${c}_${g}`
2363
2363
  }, [
2364
- n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2364
+ n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (a(), s("text", {
2365
2365
  key: 0,
2366
2366
  x: n.x - l.fontSizes.plotLabels,
2367
2367
  y: n.y,
@@ -2378,7 +2378,7 @@ function Xr(r, o, d, f, l, e) {
2378
2378
  }),
2379
2379
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2380
2380
  }, null, 12, er)) : h("", !0),
2381
- n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2381
+ n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (a(), s("text", {
2382
2382
  key: 1,
2383
2383
  x: n.x + l.fontSizes.plotLabels,
2384
2384
  y: n.y,
@@ -2397,13 +2397,13 @@ function Xr(r, o, d, f, l, e) {
2397
2397
  }, null, 12, tr)) : h("", !0)
2398
2398
  ], 64))), 128))
2399
2399
  ], 64))), 128)),
2400
- (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2400
+ (a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
2401
2401
  key: `xLabel_plot_${c}`
2402
2402
  }, [
2403
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2403
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2404
2404
  key: `xLabel_plot_${c}_${g}`
2405
2405
  }, [
2406
- n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2406
+ n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (a(), s("text", {
2407
2407
  key: 0,
2408
2408
  x: n.x - l.fontSizes.plotLabels,
2409
2409
  y: n.y,
@@ -2420,7 +2420,7 @@ function Xr(r, o, d, f, l, e) {
2420
2420
  }),
2421
2421
  style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2422
2422
  }, null, 12, lr)) : h("", !0),
2423
- n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2423
+ n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (a(), s("text", {
2424
2424
  key: 1,
2425
2425
  x: n.x + l.fontSizes.plotLabels,
2426
2426
  y: n.y,
@@ -2439,9 +2439,9 @@ function Xr(r, o, d, f, l, e) {
2439
2439
  }, null, 12, rr)) : h("", !0)
2440
2440
  ], 64))), 128))
2441
2441
  ], 64))), 128)),
2442
- l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (i(), s(u, { key: 11 }, [
2442
+ l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (a(), s(u, { key: 11 }, [
2443
2443
  I("defs", null, [
2444
- (i(!0), s(u, null, x(e.allScales, (t, c) => (i(), s("linearGradient", {
2444
+ (a(!0), s(u, null, x(e.allScales, (t, c) => (a(), s("linearGradient", {
2445
2445
  id: `individual_scale_gradient_${l.uniqueId}_${c}`,
2446
2446
  x1: "0%",
2447
2447
  x2: "100%",
@@ -2452,15 +2452,15 @@ function Xr(r, o, d, f, l, e) {
2452
2452
  offset: "0%",
2453
2453
  "stop-color": e.FINAL_CONFIG.chart.backgroundColor,
2454
2454
  "stop-opacity": "0"
2455
- }, null, 8, ir),
2455
+ }, null, 8, ar),
2456
2456
  I("stop", {
2457
2457
  offset: "100%",
2458
2458
  "stop-color": t.color,
2459
2459
  "stop-opacity": "0.2"
2460
2460
  }, null, 8, sr)
2461
- ], 8, ar))), 256))
2461
+ ], 8, ir))), 256))
2462
2462
  ]),
2463
- (i(!0), s(u, null, x(e.allScales, (t, c) => (i(), s("rect", {
2463
+ (a(!0), s(u, null, x(e.allScales, (t, c) => (a(), s("rect", {
2464
2464
  x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2465
2465
  y: e.drawingArea.top,
2466
2466
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
@@ -2471,7 +2471,7 @@ function Xr(r, o, d, f, l, e) {
2471
2471
  }, null, 40, nr))), 256))
2472
2472
  ], 64)) : h("", !0),
2473
2473
  I("g", null, [
2474
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (i(), s("text", {
2474
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (a(), s("text", {
2475
2475
  key: 0,
2476
2476
  "font-size": l.fontSizes.yAxis,
2477
2477
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
@@ -2479,7 +2479,7 @@ function Xr(r, o, d, f, l, e) {
2479
2479
  "text-anchor": "middle",
2480
2480
  style: { transition: "none" }
2481
2481
  }, V(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, cr)) : h("", !0),
2482
- e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (i(), s("text", {
2482
+ e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), s("text", {
2483
2483
  key: 1,
2484
2484
  "text-anchor": "middle",
2485
2485
  x: l.width / 2,
@@ -2488,8 +2488,8 @@ function Xr(r, o, d, f, l, e) {
2488
2488
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2489
2489
  }, V(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, or)) : h("", !0)
2490
2490
  ]),
2491
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", hr, [
2492
- r.$slots["time-label"] ? (i(!0), s(u, { key: 0 }, x(e.timeLabels, (t, c) => G(r.$slots, "time-label", se({
2491
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", hr, [
2492
+ r.$slots["time-label"] ? (a(!0), s(u, { key: 0 }, x(e.timeLabels, (t, c) => G(r.$slots, "time-label", se({
2493
2493
  key: `time_label_${c}`,
2494
2494
  ref_for: !0
2495
2495
  }, {
@@ -2502,12 +2502,12 @@ function Xr(r, o, d, f, l, e) {
2502
2502
  content: t.text,
2503
2503
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2504
2504
  show: t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2505
- }), void 0, !0)), 128)) : (i(!0), s(u, { key: 1 }, x(e.timeLabels, (t, c) => (i(), s("g", {
2505
+ }), void 0, !0)), 128)) : (a(!0), s(u, { key: 1 }, x(e.timeLabels, (t, c) => (a(), s("g", {
2506
2506
  key: `time_label_${c}`
2507
2507
  }, [
2508
- t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s(u, { key: 0 }, [
2508
+ t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s(u, { key: 0 }, [
2509
2509
  String(t.text).includes(`
2510
- `) ? (i(), s("text", {
2510
+ `) ? (a(), s("text", {
2511
2511
  key: 1,
2512
2512
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2513
2513
  "font-size": l.fontSizes.xAxis,
@@ -2524,7 +2524,7 @@ function Xr(r, o, d, f, l, e) {
2524
2524
  y: 0
2525
2525
  }),
2526
2526
  onClick: () => e.selectTimeLabel(t, c)
2527
- }, null, 12, dr)) : (i(), s("text", {
2527
+ }, null, 12, dr)) : (a(), s("text", {
2528
2528
  key: 0,
2529
2529
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2530
2530
  "font-size": l.fontSizes.xAxis,
@@ -2538,11 +2538,11 @@ function Xr(r, o, d, f, l, e) {
2538
2538
  ], 64)) : h("", !0)
2539
2539
  ]))), 128))
2540
2540
  ])) : h("", !0),
2541
- e.annotationsY.length && !l.mutableConfig.isStacked ? (i(), s("g", gr, [
2542
- (i(!0), s(u, null, x(e.annotationsY, (t) => (i(), s("g", {
2541
+ e.annotationsY.length && !l.mutableConfig.isStacked ? (a(), s("g", gr, [
2542
+ (a(!0), s(u, null, x(e.annotationsY, (t) => (a(), s("g", {
2543
2543
  key: t.uid
2544
2544
  }, [
2545
- t.yTop && t.show ? (i(), s("line", {
2545
+ t.yTop && t.show && isFinite(t.yTop) ? (a(), s("line", {
2546
2546
  key: 0,
2547
2547
  x1: t.x1,
2548
2548
  y1: t.yTop,
@@ -2554,7 +2554,7 @@ function Xr(r, o, d, f, l, e) {
2554
2554
  "stroke-linecap": "round",
2555
2555
  style: { animation: "none !important" }
2556
2556
  }, null, 8, fr)) : h("", !0),
2557
- t.yBottom && t.show ? (i(), s("line", {
2557
+ t.yBottom && t.show && isFinite(t.yBottom) ? (a(), s("line", {
2558
2558
  key: 1,
2559
2559
  x1: t.x1,
2560
2560
  y1: t.yBottom,
@@ -2566,7 +2566,7 @@ function Xr(r, o, d, f, l, e) {
2566
2566
  "stroke-linecap": "round",
2567
2567
  style: { animation: "none !important" }
2568
2568
  }, null, 8, Ir)) : h("", !0),
2569
- t.hasArea && t.show ? (i(), s("rect", {
2569
+ t.hasArea && t.show && isFinite(t.yTop) && isFinite(t.yBottom) ? (a(), s("rect", {
2570
2570
  key: 2,
2571
2571
  y: Math.min(t.yTop, t.yBottom),
2572
2572
  x: t.x1,
@@ -2575,11 +2575,11 @@ function Xr(r, o, d, f, l, e) {
2575
2575
  fill: e.setOpacity(t.config.area.fill, t.config.area.opacity),
2576
2576
  style: { animation: "none !important" }
2577
2577
  }, null, 8, xr)) : h("", !0),
2578
- t.config.label.text && t.show ? (i(), s("rect", se({
2578
+ t.config.label.text && t.show && isFinite(t._box.y) ? (a(), s("rect", se({
2579
2579
  key: 3,
2580
2580
  class: "vue-ui-xy-annotation-label-box"
2581
2581
  }, { ref_for: !0 }, t._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : h("", !0),
2582
- t.config.label.text && t.show ? (i(), s("text", {
2582
+ t.config.label.text && t.show && isFinite(t._text.y) ? (a(), s("text", {
2583
2583
  key: 4,
2584
2584
  id: t.id,
2585
2585
  class: "vue-ui-xy-annotation-label",
@@ -2592,7 +2592,7 @@ function Xr(r, o, d, f, l, e) {
2592
2592
  ]))), 128))
2593
2593
  ])) : h("", !0),
2594
2594
  I("g", null, [
2595
- (i(!0), s(u, null, x(e.maxSeries, (t, c) => (i(), s("rect", {
2595
+ (a(!0), s(u, null, x(e.maxSeries, (t, c) => (a(), s("rect", {
2596
2596
  key: `tooltip_trap_${c}`,
2597
2597
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
2598
2598
  y: e.drawingArea.top,
@@ -2604,8 +2604,8 @@ function Xr(r, o, d, f, l, e) {
2604
2604
  onClick: (n) => e.selectX(c)
2605
2605
  }, null, 40, mr))), 128))
2606
2606
  ]),
2607
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", br, [
2608
- (i(), s("foreignObject", {
2607
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (a(), s("g", br, [
2608
+ (a(), s("foreignObject", {
2609
2609
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
2610
2610
  y: e.drawingArea.bottom,
2611
2611
  width: "200",
@@ -2627,16 +2627,16 @@ function Xr(r, o, d, f, l, e) {
2627
2627
  ])) : h("", !0),
2628
2628
  G(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2629
2629
  ], 14, dt)) : h("", !0),
2630
- r.$slots.watermark ? (i(), s("div", Ar, [
2630
+ r.$slots.watermark ? (a(), s("div", yr, [
2631
2631
  G(r.$slots, "watermark", $(ee({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2632
2632
  ])) : h("", !0),
2633
- (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2633
+ (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
2634
2634
  key: `tag_line_${c}`
2635
2635
  }, [
2636
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2636
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2637
2637
  key: `tag_line_${c}_${g}`
2638
2638
  }, [
2639
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (i(), s("div", {
2639
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (a(), s("div", {
2640
2640
  key: 0,
2641
2641
  ref_for: !0,
2642
2642
  ref: (p) => e.setTagRef(c, g, p, "right", "line"),
@@ -2667,7 +2667,7 @@ function Xr(r, o, d, f, l, e) {
2667
2667
  opacity: 1
2668
2668
  })
2669
2669
  }, [
2670
- (i(), s("svg", yr, [
2670
+ (a(), s("svg", Ar, [
2671
2671
  I("path", {
2672
2672
  d: "M 0,10 10,0 10,20 Z",
2673
2673
  fill: t.color,
@@ -2688,7 +2688,7 @@ function Xr(r, o, d, f, l, e) {
2688
2688
  )
2689
2689
  }, null, 8, Cr)
2690
2690
  ], 4)) : h("", !0),
2691
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (i(), s("div", {
2691
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (a(), s("div", {
2692
2692
  key: 1,
2693
2693
  ref_for: !0,
2694
2694
  ref: (p) => e.setTagRef(c, g, p, "left", "line"),
@@ -2719,7 +2719,7 @@ function Xr(r, o, d, f, l, e) {
2719
2719
  opacity: 1
2720
2720
  })
2721
2721
  }, [
2722
- (i(), s("svg", Sr, [
2722
+ (a(), s("svg", Sr, [
2723
2723
  I("path", {
2724
2724
  d: "M 0,0 10,10 0,20 Z",
2725
2725
  fill: t.color,
@@ -2742,13 +2742,13 @@ function Xr(r, o, d, f, l, e) {
2742
2742
  ], 4)) : h("", !0)
2743
2743
  ], 64))), 128))
2744
2744
  ], 64))), 128)),
2745
- (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2745
+ (a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
2746
2746
  key: `tag_plot_${c}`
2747
2747
  }, [
2748
- (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2748
+ (a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
2749
2749
  key: `tag_plot_${c}_${g}`
2750
2750
  }, [
2751
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (i(), s("div", {
2751
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (a(), s("div", {
2752
2752
  key: 0,
2753
2753
  ref_for: !0,
2754
2754
  ref: (p) => e.setTagRef(c, g, p, "right", "plot"),
@@ -2779,7 +2779,7 @@ function Xr(r, o, d, f, l, e) {
2779
2779
  opacity: 1
2780
2780
  })
2781
2781
  }, [
2782
- (i(), s("svg", Or, [
2782
+ (a(), s("svg", Or, [
2783
2783
  I("path", {
2784
2784
  d: "M 0,10 10,0 10,20 Z",
2785
2785
  fill: t.color,
@@ -2800,7 +2800,7 @@ function Xr(r, o, d, f, l, e) {
2800
2800
  )
2801
2801
  }, null, 8, vr)
2802
2802
  ], 4)) : h("", !0),
2803
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (i(), s("div", {
2803
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (a(), s("div", {
2804
2804
  key: 1,
2805
2805
  ref_for: !0,
2806
2806
  ref: (p) => e.setTagRef(c, g, p, "left", "plot"),
@@ -2831,7 +2831,7 @@ function Xr(r, o, d, f, l, e) {
2831
2831
  opacity: 1
2832
2832
  })
2833
2833
  }, [
2834
- (i(), s("svg", pr, [
2834
+ (a(), s("svg", pr, [
2835
2835
  I("path", {
2836
2836
  d: "M 0,0 10,10 0,20 Z",
2837
2837
  fill: t.color,
@@ -2854,7 +2854,7 @@ function Xr(r, o, d, f, l, e) {
2854
2854
  ], 4)) : h("", !0)
2855
2855
  ], 64))), 128))
2856
2856
  ], 64))), 128)),
2857
- e.isDataset ? h("", !0) : (i(), U(F, {
2857
+ e.isDataset ? h("", !0) : (a(), U(F, {
2858
2858
  key: 6,
2859
2859
  config: {
2860
2860
  type: "line",
@@ -2872,7 +2872,7 @@ function Xr(r, o, d, f, l, e) {
2872
2872
  }
2873
2873
  }
2874
2874
  }, null, 8, ["config"])),
2875
- e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (i(), U(v, {
2875
+ e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (a(), U(v, {
2876
2876
  ref: "chartSlicer",
2877
2877
  key: `slicer_${l.slicerStep}`,
2878
2878
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2913,18 +2913,18 @@ function Xr(r, o, d, f, l, e) {
2913
2913
  ]),
2914
2914
  _: 3
2915
2915
  }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : h("", !0),
2916
- e.FINAL_CONFIG.chart.legend.show ? (i(), s("div", {
2916
+ e.FINAL_CONFIG.chart.legend.show ? (a(), s("div", {
2917
2917
  key: 8,
2918
2918
  ref: "chartLegend",
2919
2919
  class: "vue-ui-xy-legend",
2920
2920
  style: _(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2921
2921
  }, [
2922
- (i(!0), s(u, null, x(e.absoluteDataset, (t, c) => (i(), s("div", {
2922
+ (a(!0), s(u, null, x(e.absoluteDataset, (t, c) => (a(), s("div", {
2923
2923
  key: `div_legend_item_${c}`,
2924
2924
  onClick: (n) => e.segregate(t),
2925
2925
  class: j({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(t.id) })
2926
2926
  }, [
2927
- l.icons[t.type] === "line" ? (i(), s("svg", Pr, [
2927
+ l.icons[t.type] === "line" ? (a(), s("svg", Pr, [
2928
2928
  I("rect", {
2929
2929
  x: "0",
2930
2930
  y: "7.5",
@@ -2943,8 +2943,8 @@ function Xr(r, o, d, f, l, e) {
2943
2943
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2944
2944
  strokeWidth: 0.5
2945
2945
  }, null, 8, ["color", "shape", "stroke"])
2946
- ])) : l.icons[t.type] === "bar" ? (i(), s("svg", Rr, [
2947
- l.icons[t.type] === "bar" && r.$slots.pattern ? (i(), s("rect", {
2946
+ ])) : l.icons[t.type] === "bar" ? (a(), s("svg", Rr, [
2947
+ l.icons[t.type] === "bar" && r.$slots.pattern ? (a(), s("rect", {
2948
2948
  key: 0,
2949
2949
  x: "0",
2950
2950
  y: "0",
@@ -2954,7 +2954,7 @@ function Xr(r, o, d, f, l, e) {
2954
2954
  stroke: "none",
2955
2955
  fill: t.color
2956
2956
  }, null, 8, Hr)) : h("", !0),
2957
- l.icons[t.type] === "bar" ? (i(), s("rect", {
2957
+ l.icons[t.type] === "bar" ? (a(), s("rect", {
2958
2958
  key: 1,
2959
2959
  x: "0",
2960
2960
  y: "0",
@@ -2964,7 +2964,7 @@ function Xr(r, o, d, f, l, e) {
2964
2964
  stroke: "none",
2965
2965
  fill: r.$slots.pattern ? `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})` : t.color
2966
2966
  }, null, 8, Dr)) : h("", !0)
2967
- ])) : (i(), s("svg", Br, [
2967
+ ])) : (a(), s("svg", Br, [
2968
2968
  le(N, {
2969
2969
  plot: { x: 6, y: 6 },
2970
2970
  radius: 5,
@@ -2976,10 +2976,10 @@ function Xr(r, o, d, f, l, e) {
2976
2976
  style: _(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2977
2977
  }, V(t.name), 5)
2978
2978
  ], 10, Tr))), 128))
2979
- ], 4)) : (i(), s("div", Wr, [
2979
+ ], 4)) : (a(), s("div", Wr, [
2980
2980
  G(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2981
2981
  ], 512)),
2982
- r.$slots.source ? (i(), s("div", Er, [
2982
+ r.$slots.source ? (a(), s("div", Er, [
2983
2983
  G(r.$slots, "source", {}, void 0, !0)
2984
2984
  ], 512)) : h("", !0),
2985
2985
  le(m, {
@@ -3006,7 +3006,7 @@ function Xr(r, o, d, f, l, e) {
3006
3006
  ]),
3007
3007
  _: 3
3008
3008
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
3009
- e.isDataset ? (i(), U(H, {
3009
+ e.isDataset ? (a(), U(H, {
3010
3010
  key: 11,
3011
3011
  hideDetails: "",
3012
3012
  config: {
@@ -3044,11 +3044,11 @@ function Xr(r, o, d, f, l, e) {
3044
3044
  }, null, 8, ["stroke"])
3045
3045
  ])
3046
3046
  ]),
3047
- l.showSparklineTable ? (i(), U(b, {
3047
+ l.showSparklineTable ? (a(), U(b, {
3048
3048
  key: `sparkline_${l.segregateStep}`,
3049
3049
  dataset: e.tableSparklineDataset,
3050
3050
  config: e.tableSparklineConfig
3051
- }, null, 8, ["dataset", "config"])) : (i(), U(M, {
3051
+ }, null, 8, ["dataset", "config"])) : (a(), U(M, {
3052
3052
  key: `table_${l.tableStep}`,
3053
3053
  colNames: e.dataTable.colNames,
3054
3054
  head: e.dataTable.head,
@@ -3076,7 +3076,7 @@ function Xr(r, o, d, f, l, e) {
3076
3076
  }, 8, ["config"])) : h("", !0)
3077
3077
  ], 46, ht);
3078
3078
  }
3079
- const la = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-b425447d"]]);
3079
+ const li = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-06fd2d47"]]);
3080
3080
  export {
3081
- la as default
3081
+ li as default
3082
3082
  };