vue-data-ui 2.15.2 → 2.15.3-beta.1

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 (88) hide show
  1. package/dist/{Arrow-BWXCPv6v.js → Arrow-CnJZnBYf.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BVDVgkJA.js → BaseDraggableDialog-BAa42XHv.js} +2 -2
  3. package/dist/{BaseIcon-Bp7UPYnW.js → BaseIcon-DF6_C1b7.js} +1 -1
  4. package/dist/{ColorPicker-B5OAwv96.js → ColorPicker-DfON1qqw.js} +2 -2
  5. package/dist/{DataTable-93xWsJ6c.js → DataTable-D1z8QNYA.js} +2 -2
  6. package/dist/{Legend-hctdyKA6.js → Legend-DxIqVulH.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CseO56IR.js → NonSvgPenAndPaper-DFloh2Ck.js} +3 -3
  8. package/dist/{PackageVersion-yIH1jHJc.js → PackageVersion-4rcS4AKd.js} +2 -2
  9. package/dist/{PenAndPaper-D6C8iSCb.js → PenAndPaper-DjstHn-R.js} +3 -3
  10. package/dist/{Shape-KmPcM_8X.js → Shape-D_rfFbG9.js} +1 -1
  11. package/dist/{Slicer-5-W1e_S-.js → Slicer-goQq7NMR.js} +3 -3
  12. package/dist/{SparkTooltip-B9dKuZbW.js → SparkTooltip-DU3mQgwA.js} +1 -1
  13. package/dist/{Title-D7i6kdEt.js → Title-CockcxDV.js} +1 -1
  14. package/dist/{Tooltip-CgE5JMdg.js → Tooltip-DdKO14TG.js} +1 -1
  15. package/dist/{UserOptions-DjQRjUl1.js → UserOptions-Cd8p0jOB.js} +133 -132
  16. package/dist/{dom-to-png-DyD8S_Jr.js → dom-to-png-D-gXdtVC.js} +1 -1
  17. package/dist/{img-BUo2ttV5.js → img-Cgn5kWVZ.js} +1 -1
  18. package/dist/{index-0xl6yeT_.js → index-BfqjfeX1.js} +1 -1
  19. package/dist/{pdf-DXd78sXk.js → pdf-DUfjsZR7.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-BpsGhH52.js → useNestedProp-BShoWBIZ.js} +1 -1
  22. package/dist/{usePrinter-G7F4lL2Z.js → usePrinter-DkvsYvq3.js} +2 -2
  23. package/dist/{useResponsive-JZ9xq-JV.js → useResponsive-DfdjqQps.js} +67 -67
  24. package/dist/{vue-data-ui-1c3WZYGe.js → vue-data-ui-0wN1np6C.js} +63 -63
  25. package/dist/vue-data-ui.js +1 -1
  26. package/dist/{vue-ui-3d-bar-BM1HD1_j.js → vue-ui-3d-bar-CHziOVh1.js} +5 -5
  27. package/dist/{vue-ui-accordion-gr1Dczju.js → vue-ui-accordion-YetFh-tn.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-cFxPrty5.js → vue-ui-age-pyramid-CEIGpg1I.js} +6 -6
  29. package/dist/{vue-ui-annotator-CoN1JEMD.js → vue-ui-annotator-CTbTbHHu.js} +2 -2
  30. package/dist/{vue-ui-bullet-ClcGk_b0.js → vue-ui-bullet-CKtNQ8Ji.js} +6 -6
  31. package/dist/{vue-ui-candlestick-DO-1KYTl.js → vue-ui-candlestick-DiNuEgll.js} +7 -7
  32. package/dist/{vue-ui-carousel-table-9Ku_ebjG.js → vue-ui-carousel-table-BbyQQJ8o.js} +4 -4
  33. package/dist/{vue-ui-chestnut-3Gjab_Sk.js → vue-ui-chestnut-h-MndGHu.js} +4 -4
  34. package/dist/{vue-ui-chord-DeOUOOCR.js → vue-ui-chord-By1w6sv3.js} +8 -8
  35. package/dist/{vue-ui-circle-pack-BfdGvoPl.js → vue-ui-circle-pack-Dmux8VGh.js} +6 -6
  36. package/dist/{vue-ui-cursor-BAlIn5n7.js → vue-ui-cursor-gSL3fooq.js} +2 -2
  37. package/dist/{vue-ui-dashboard-DYn5g5A0.js → vue-ui-dashboard-CEZdmopu.js} +62 -62
  38. package/dist/{vue-ui-digits-COnU0Bjx.js → vue-ui-digits-D9ISVmbr.js} +2 -2
  39. package/dist/{vue-ui-donut-CVMUWBHY.js → vue-ui-donut-BEMj03Tj.js} +8 -8
  40. package/dist/{vue-ui-donut-evolution-DdODzbv7.js → vue-ui-donut-evolution-B1apMch_.js} +7 -7
  41. package/dist/{vue-ui-dumbbell-zue1EgiF.js → vue-ui-dumbbell-5EQPCpYh.js} +7 -7
  42. package/dist/{vue-ui-flow-CT_KSVPw.js → vue-ui-flow-DBYdCdpG.js} +6 -6
  43. package/dist/{vue-ui-funnel-B6y2syp1.js → vue-ui-funnel-LdJ-3uOZ.js} +6 -6
  44. package/dist/{vue-ui-galaxy-6hf2O-OT.js → vue-ui-galaxy-CW5azgLQ.js} +4 -4
  45. package/dist/{vue-ui-gauge-D5sdINkF.js → vue-ui-gauge-CJAdaO9X.js} +6 -6
  46. package/dist/{vue-ui-gizmo-l8GqobB9.js → vue-ui-gizmo-CU8xAgan.js} +3 -3
  47. package/dist/{vue-ui-heatmap-oMWjyEU1.js → vue-ui-heatmap-CTs0M-Zm.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CPDfop4z.js → vue-ui-history-plot-TXWqOeT6.js} +7 -7
  49. package/dist/{vue-ui-kpi-DdT8c2qN.js → vue-ui-kpi-DHTxUZn2.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-sUauCnke.js → vue-ui-mini-loader-D2djBXsz.js} +2 -2
  51. package/dist/{vue-ui-molecule-CGiz21KJ.js → vue-ui-molecule-BCManlLn.js} +4 -4
  52. package/dist/{vue-ui-mood-radar-DuBZs64f.js → vue-ui-mood-radar-CtVYNJXO.js} +6 -6
  53. package/dist/{vue-ui-nested-donuts-CjwnVuni.js → vue-ui-nested-donuts-BslXY_CK.js} +7 -7
  54. package/dist/{vue-ui-onion-Dtb6f9Pj.js → vue-ui-onion-DRx4ljQK.js} +7 -7
  55. package/dist/{vue-ui-parallel-coordinate-plot-eUARPFQz.js → vue-ui-parallel-coordinate-plot-BlgQn6P-.js} +8 -8
  56. package/dist/{vue-ui-quadrant-BENOLZTh.js → vue-ui-quadrant-DYCA35Wr.js} +8 -8
  57. package/dist/{vue-ui-quick-chart-BbiNJN8H.js → vue-ui-quick-chart-C-evaaJD.js} +6 -6
  58. package/dist/{vue-ui-radar-Ca928f5C.js → vue-ui-radar-pwOacG5D.js} +7 -7
  59. package/dist/{vue-ui-rating-Chk3Bc6U.js → vue-ui-rating-CzHqNCxY.js} +2 -2
  60. package/dist/{vue-ui-relation-circle-GliccPBT.js → vue-ui-relation-circle-Dg4j1ckQ.js} +6 -6
  61. package/dist/{vue-ui-ridgeline-j8bwod-1.js → vue-ui-ridgeline-toklH0_k.js} +8 -8
  62. package/dist/{vue-ui-rings-AHi_l7MY.js → vue-ui-rings-Bn0RT3Xf.js} +8 -8
  63. package/dist/{vue-ui-scatter-cC3vGu_O.js → vue-ui-scatter-CKkrEGNB.js} +8 -8
  64. package/dist/{vue-ui-skeleton-1aUzcGMM.js → vue-ui-skeleton-D5pBm9ON.js} +3 -3
  65. package/dist/{vue-ui-smiley-A-HBdymI.js → vue-ui-smiley-CfXsfU3L.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-Ctx6IJHJ.js → vue-ui-spark-trend-K2PyOwgX.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-T2LuTMDI.js → vue-ui-sparkbar-Opf2uOhe.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-FEVecElc.js → vue-ui-sparkgauge-CgbvDV8N.js} +3 -3
  69. package/dist/{vue-ui-sparkhistogram-Bu8hx-SD.js → vue-ui-sparkhistogram-Ca3CYxUT.js} +4 -4
  70. package/dist/{vue-ui-sparkline-B0dlaC56.js → vue-ui-sparkline-BsoHf0SG.js} +4 -4
  71. package/dist/{vue-ui-sparkstackbar-CvYbH--B.js → vue-ui-sparkstackbar-By_I0Bcw.js} +3 -3
  72. package/dist/{vue-ui-stackbar-CPsdBNF8.js → vue-ui-stackbar-hpwJy-SS.js} +9 -9
  73. package/dist/{vue-ui-strip-plot-Dl7Zg_Ou.js → vue-ui-strip-plot-0FkQ1opN.js} +7 -7
  74. package/dist/{vue-ui-table-heatmap-KzYY-CQt.js → vue-ui-table-heatmap-0N7kIuAq.js} +5 -5
  75. package/dist/{vue-ui-table-1A4jcDSx.js → vue-ui-table-jBdWniX_.js} +3 -3
  76. package/dist/{vue-ui-table-sparkline-D9_N4McK.js → vue-ui-table-sparkline-BFNdWvEV.js} +4 -4
  77. package/dist/{vue-ui-thermometer-CJUIRDs5.js → vue-ui-thermometer-CcF6Eoy1.js} +5 -5
  78. package/dist/{vue-ui-timer-DjPOb80m.js → vue-ui-timer-D3LD0a-E.js} +6 -6
  79. package/dist/{vue-ui-tiremarks-mTtcrs7r.js → vue-ui-tiremarks-D31e_O17.js} +5 -5
  80. package/dist/{vue-ui-treemap-D8oyCUmA.js → vue-ui-treemap-BHRJ5q6V.js} +8 -8
  81. package/dist/{vue-ui-vertical-bar-CsNUVJfk.js → vue-ui-vertical-bar-5uNpO6Wk.js} +9 -9
  82. package/dist/{vue-ui-waffle-CEvNLzHh.js → vue-ui-waffle-Dk7LPVUS.js} +8 -8
  83. package/dist/{vue-ui-wheel-Dw_Z669Z.js → vue-ui-wheel-DxS8v2Se.js} +6 -6
  84. package/dist/{vue-ui-word-cloud-BsK5IGnI.js → vue-ui-word-cloud-Do4YBHah.js} +6 -6
  85. package/dist/{vue-ui-world-_xucFe9e.js → vue-ui-world-BesYjRlX.js} +5 -5
  86. package/dist/{vue-ui-xy-BE4LWW9m.js → vue-ui-xy-BH64lH1q.js} +356 -352
  87. package/dist/{vue-ui-xy-canvas-3Fbzqt4p.js → vue-ui-xy-canvas-TvQa-9m_.js} +8 -8
  88. 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, F 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, G as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-0xl6yeT_.js";
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, F 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, G as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-BfqjfeX1.js";
2
2
  import { u as je } from "./useMouse-AicQS8Vf.js";
3
- import { u as ie } from "./useNestedProp-BpsGhH52.js";
3
+ import { u as ie } from "./useNestedProp-BShoWBIZ.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 F, normalizeClass as j, createBlock as U, createCommentVNode as h, createVNode as le, createSlots as et, withCtx as B, renderSlot as O, normalizeProps as $, guardReactiveProps as ee, createElementVNode as I, Fragment as g, 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-5-W1e_S-.js";
7
- import it from "./Title-D7i6kdEt.js";
8
- import { _ as st } from "./Shape-KmPcM_8X.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-goQq7NMR.js";
7
+ import it from "./Title-CockcxDV.js";
8
+ import { _ as st } from "./Shape-D_rfFbG9.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",
@@ -29,15 +29,15 @@ const ct = ne(), ot = {
29
29
  Title: it,
30
30
  // Must be ready in responsive mode
31
31
  Shape: st,
32
- DataTable: Z(() => import("./DataTable-93xWsJ6c.js")),
33
- Tooltip: Z(() => import("./Tooltip-CgE5JMdg.js")),
34
- UserOptions: Z(() => import("./UserOptions-DjQRjUl1.js")),
35
- BaseIcon: Z(() => import("./BaseIcon-Bp7UPYnW.js")),
36
- TableSparkline: Z(() => import("./vue-ui-table-sparkline-D9_N4McK.js")),
37
- Skeleton: Z(() => import("./vue-ui-skeleton-1aUzcGMM.js")),
38
- Accordion: Z(() => import("./vue-ui-accordion-gr1Dczju.js")),
39
- PackageVersion: Z(() => import("./PackageVersion-yIH1jHJc.js")),
40
- PenAndPaper: Z(() => import("./PenAndPaper-D6C8iSCb.js"))
32
+ DataTable: Z(() => import("./DataTable-D1z8QNYA.js")),
33
+ Tooltip: Z(() => import("./Tooltip-DdKO14TG.js")),
34
+ UserOptions: Z(() => import("./UserOptions-Cd8p0jOB.js")),
35
+ BaseIcon: Z(() => import("./BaseIcon-DF6_C1b7.js")),
36
+ TableSparkline: Z(() => import("./vue-ui-table-sparkline-BFNdWvEV.js")),
37
+ Skeleton: Z(() => import("./vue-ui-skeleton-D5pBm9ON.js")),
38
+ Accordion: Z(() => import("./vue-ui-accordion-YetFh-tn.js")),
39
+ PackageVersion: Z(() => import("./PackageVersion-4rcS4AKd.js")),
40
+ PenAndPaper: Z(() => import("./PenAndPaper-DjstHn-R.js"))
41
41
  },
42
42
  data() {
43
43
  this.dataset.forEach((f, l) => {
@@ -48,7 +48,7 @@ const ct = ne(), ot = {
48
48
  index: l
49
49
  });
50
50
  });
51
- const r = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, o = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: r }).length)), u = {
51
+ const r = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, o = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: r }).length)), d = {
52
52
  start: 0,
53
53
  end: o
54
54
  };
@@ -101,7 +101,7 @@ const ct = ne(), ot = {
101
101
  step: 0,
102
102
  tableStep: 0,
103
103
  titleStep: 0,
104
- slicer: u,
104
+ slicer: d,
105
105
  __to__: null,
106
106
  maxX: o,
107
107
  showSparklineTable: !0,
@@ -129,8 +129,8 @@ const ct = ne(), ot = {
129
129
  watch: {
130
130
  dataset: {
131
131
  handler(r, o) {
132
- this.maxX = Math.max(...this.dataset.map((u) => this.largestTriangleThreeBucketsArray({
133
- data: u.series,
132
+ this.maxX = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({
133
+ data: d.series,
134
134
  threshold: this.FINAL_CONFIG.downsample.threshold
135
135
  }).length)), this.slicer = {
136
136
  start: 0,
@@ -172,11 +172,11 @@ const ct = ne(), ot = {
172
172
  },
173
173
  minimap() {
174
174
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
175
- const r = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), o = Math.max(...r.map((l) => l.series.length)), u = [];
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
- u.push(r.map((e) => e.series[l] || 0).reduce((e, a) => (e || 0) + (a || 0), 0));
178
- const f = Math.min(...u);
179
- return u.map((l) => l + (f < 0 ? Math.abs(f) : 0));
177
+ d.push(r.map((e) => e.series[l] || 0).reduce((e, a) => (e || 0) + (a || 0), 0));
178
+ const f = Math.min(...d);
179
+ return d.map((l) => l + (f < 0 ? Math.abs(f) : 0));
180
180
  },
181
181
  customPalette() {
182
182
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -211,7 +211,7 @@ const ct = ne(), ot = {
211
211
  id: e.id,
212
212
  yOffset: e.yOffset || 0,
213
213
  individualHeight: e.individualHeight || this.drawingArea.height
214
- })), u = this.plotSet.map((e) => ({
214
+ })), d = this.plotSet.map((e) => ({
215
215
  name: e.name,
216
216
  color: e.color,
217
217
  scale: e.individualScale,
@@ -223,7 +223,7 @@ const ct = ne(), ot = {
223
223
  id: e.id,
224
224
  yOffset: e.yOffset || 0,
225
225
  individualHeight: e.individualHeight || this.drawingArea.height
226
- })), f = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...r, ...o, ...u], l = f.flatMap((e) => e).length;
226
+ })), f = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...r, ...o, ...d], l = f.flatMap((e) => e).length;
227
227
  return f.flatMap((e, a) => ({
228
228
  unique: e.unique,
229
229
  id: e.id,
@@ -235,9 +235,9 @@ const ct = ne(), ot = {
235
235
  yOffset: e.yOffset,
236
236
  individualHeight: e.individualHeight,
237
237
  x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (a + 1),
238
- yLabels: e.scaleYLabels || e.scale.ticks.map((L) => ({
239
- y: L >= 0 ? e.zero - e.individualHeight * (L / e.max) : e.zero + e.individualHeight * Math.abs(L) / e.max,
240
- value: L
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
241
241
  }))
242
242
  }));
243
243
  },
@@ -289,14 +289,14 @@ const ct = ne(), ot = {
289
289
  },
290
290
  safeDataset() {
291
291
  return this.useSafeValues ? this.dataset.map((r, o) => {
292
- const u = this.largestTriangleThreeBucketsArray({
292
+ const d = this.largestTriangleThreeBucketsArray({
293
293
  data: r.series,
294
294
  threshold: this.FINAL_CONFIG.downsample.threshold
295
295
  }), f = `uniqueId_${o}`;
296
296
  return {
297
297
  ...r,
298
298
  slotAbsoluteIndex: o,
299
- series: u.map((l) => this.isSafeValue(l) ? l : null).slice(this.slicer.start, this.slicer.end),
299
+ series: d.map((l) => this.isSafeValue(l) ? l : null).slice(this.slicer.start, this.slicer.end),
300
300
  color: this.convertColorToHex(r.color ? r.color : this.customPalette[o] ? this.customPalette[o] : this.palette[o]),
301
301
  id: f,
302
302
  scaleLabel: r.scaleLabel || f
@@ -306,13 +306,13 @@ const ct = ne(), ot = {
306
306
  relativeDataset() {
307
307
  return this.safeDataset.map((r, o) => ({
308
308
  ...r,
309
- series: r.series.map((u) => u + this.relativeZero),
309
+ series: r.series.map((d) => d + this.relativeZero),
310
310
  absoluteValues: r.series
311
311
  })).filter((r) => !this.segregatedSeries.includes(r.id));
312
312
  },
313
313
  tableSparklineDataset() {
314
314
  return this.relativeDataset.map((r) => {
315
- const o = r.absoluteValues.map((u) => [void 0, null].includes(u) ? 0 : u);
315
+ const o = r.absoluteValues.map((d) => [void 0, null].includes(d) ? 0 : d);
316
316
  return {
317
317
  id: r.id,
318
318
  name: r.name,
@@ -351,7 +351,7 @@ const ct = ne(), ot = {
351
351
  return this.safeDataset.map((r, o) => ({
352
352
  absoluteIndex: o,
353
353
  ...r,
354
- series: r.series.map((u) => u + this.relativeZero),
354
+ series: r.series.map((d) => d + this.relativeZero),
355
355
  absoluteValues: r.series,
356
356
  segregate: () => this.segregate(r),
357
357
  isSegregated: this.segregatedSeries.includes(r.id)
@@ -364,10 +364,10 @@ const ct = ne(), ot = {
364
364
  return this.assignStackRatios(this.absoluteDataset.filter((r) => !this.segregatedSeries.includes(r.id)));
365
365
  },
366
366
  scaleGroups() {
367
- const r = Object.groupBy(this.activeSeriesWithStackRatios, (u) => u.scaleLabel), o = {};
368
- for (const [u, f] of Object.entries(r)) {
367
+ const r = Object.groupBy(this.activeSeriesWithStackRatios, (d) => d.scaleLabel), o = {};
368
+ for (const [d, f] of Object.entries(r)) {
369
369
  const l = f.flatMap((e) => e.absoluteValues);
370
- o[u] = {
370
+ o[d] = {
371
371
  min: Math.min(...l) || 0,
372
372
  max: Math.max(...l) || 1,
373
373
  groupId: `scale_group_${this.createUid()}`
@@ -376,19 +376,19 @@ 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, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (o - 1) : 0, e = this.drawingArea.height - l;
380
- return r.filter((a) => a.type === "bar").map((a, L) => {
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
381
  this.checkAutoScaleError(a);
382
- const z = this.scaleGroups[a.scaleLabel].min, G = this.scaleGroups[a.scaleLabel].max;
383
- a.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - z) / (G - z));
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));
384
384
  const N = {
385
385
  valueMin: z,
386
- valueMax: G < 0 ? 0 : G
387
- }, A = {
386
+ valueMax: O < 0 ? 0 : O
387
+ }, F = {
388
388
  max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
389
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, y = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(A.min, A.max === A.min ? A.max * m : A.max, v) : this.calculateNiceScaleWithExactExtremes(A.min, A.max === A.min ? A.max * m : A.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 = y.min >= 0 ? 0 : Math.abs(y.min), H = 0, t = y.max + M, c = b.max + Math.abs(H), n = a.stackIndex, d = o - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + u * d : 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 * L + this.slot.bar * R * W - this.barSlot / 2 - L * this.barPeriodGap;
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;
392
392
  return {
393
393
  yOffset: this.checkNaN(S),
394
394
  individualHeight: this.checkNaN(k),
@@ -400,7 +400,7 @@ const ct = ne(), ot = {
400
400
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
401
401
  };
402
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 * L + this.slot.bar * R * this.absoluteDataset.filter((Q) => Q.type === "bar").filter((Q) => !this.segregatedSeries.includes(Q.id)).length;
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;
404
404
  return {
405
405
  yOffset: this.checkNaN(S),
406
406
  individualHeight: this.checkNaN(k),
@@ -411,7 +411,7 @@ const ct = ne(), ot = {
411
411
  individualMax: this.checkNaN(t),
412
412
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
413
413
  };
414
- }), w = y.ticks.map((C) => ({
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
417
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
@@ -433,7 +433,7 @@ const ct = ne(), ot = {
433
433
  autoScaleYLabels: P,
434
434
  individualHeight: k,
435
435
  scaleYLabels: a.autoScaling ? P : w,
436
- individualScale: a.autoScaling ? b : y,
436
+ individualScale: a.autoScaling ? b : L,
437
437
  individualMax: a.autoScaling ? c : t,
438
438
  zeroPosition: a.autoScaling ? Y : T,
439
439
  plots: a.autoScaling ? J : te,
@@ -442,26 +442,26 @@ const ct = ne(), ot = {
442
442
  });
443
443
  },
444
444
  lineSet() {
445
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (o - 1) : 0, e = this.drawingArea.height - l;
446
- return r.filter((a) => a.type === "line").map((a, L) => {
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
447
  this.checkAutoScaleError(a);
448
- const z = this.scaleGroups[a.scaleLabel].min, G = this.scaleGroups[a.scaleLabel].max;
449
- a.absoluteValues.filter((_) => ![null, void 0].includes(_)).map((_) => (_ - z) / (G - z));
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));
450
450
  const N = {
451
451
  valueMin: z,
452
- valueMax: G
453
- }, A = {
452
+ valueMax: O
453
+ }, F = {
454
454
  max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
455
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, y = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(A.min, A.max === A.min ? A.max * m : A.max, v) : this.calculateNiceScaleWithExactExtremes(A.min, A.max === A.min ? A.max * m : A.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 = y.min >= 0 ? 0 : Math.abs(y.min), H = 0, t = y.max + Math.abs(M), c = b.max + Math.abs(H), n = a.stackIndex, d = o - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + u * d : 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((_, D) => {
457
- const he = this.mutableConfig.useIndividualScale ? (a.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(_);
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);
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
461
  value: a.absoluteValues[D],
462
462
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
463
463
  };
464
- }), te = a.absoluteValues.map((_) => b.min >= 0 ? (_ - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (_ + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = a.series.map((_, D) => [void 0, null].includes(a.absoluteValues[D]) ? {
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]) ? {
465
465
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
466
466
  y: T,
467
467
  value: a.absoluteValues[D],
@@ -471,23 +471,23 @@ const ct = ne(), ot = {
471
471
  y: this.checkNaN(this.drawingArea.bottom - S - (k * te[D] || 0)),
472
472
  value: a.absoluteValues[D],
473
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((_) => _.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((_) => _.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(W) : this.createStraightPath(W.filter((_) => _.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((_) => _.value !== null)), R = y.ticks.map((_) => ({
475
- y: _ >= 0 ? T - k * (_ / t) : T + k * Math.abs(_) / t,
476
- value: _,
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
477
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
478
478
  suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
479
479
  datapoint: a
480
- })), K = b.ticks.map((_) => {
481
- const D = (_ - b.min) / (b.max - b.min);
480
+ })), K = b.ticks.map((A) => {
481
+ const D = (A - b.min) / (b.max - b.min);
482
482
  return {
483
- y: _ >= 0 ? Y - k * D : Y + k * D,
484
- value: _,
483
+ y: A >= 0 ? Y - k * D : Y + k * D,
484
+ value: A,
485
485
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
486
486
  suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
487
487
  datapoint: a
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((_) => _.scaleLabel === a.scaleLabel).length === 1;
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
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);
492
492
  return {
493
493
  ...a,
@@ -495,7 +495,7 @@ const ct = ne(), ot = {
495
495
  autoScaleYLabels: K,
496
496
  individualHeight: k,
497
497
  scaleYLabels: a.autoScaling ? K : R,
498
- individualScale: a.autoScaling ? b : y,
498
+ individualScale: a.autoScaling ? b : L,
499
499
  individualMax: a.autoScaling ? c : t,
500
500
  zeroPosition: a.autoScaling ? Y : T,
501
501
  curve: a.autoScaling ? w : J,
@@ -504,11 +504,11 @@ const ct = ne(), ot = {
504
504
  a.autoScaling ? E : W,
505
505
  re
506
506
  ) : this.createIndividualArea(
507
- a.autoScaling ? E.filter((_) => _.value !== null) : W.filter((_) => _.value !== null),
507
+ a.autoScaling ? E.filter((A) => A.value !== null) : W.filter((A) => A.value !== null),
508
508
  re
509
- ) : this.createIndividualArea(W.filter((_) => _.value !== null), re) : "",
509
+ ) : this.createIndividualArea(W.filter((A) => A.value !== null), re) : "",
510
510
  curveAreas: a.useArea ? ce(
511
- a.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((_) => _.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? W : W.filter((_) => _.value !== null),
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),
512
512
  re,
513
513
  this.FINAL_CONFIG.line.cutNullValues
514
514
  ) : [],
@@ -518,18 +518,18 @@ const ct = ne(), ot = {
518
518
  });
519
519
  },
520
520
  plotSet() {
521
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (o - 1) : 0, e = this.drawingArea.height - l;
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
522
  return r.filter((a) => a.type === "plot").map((a) => {
523
523
  this.checkAutoScaleError(a);
524
- const L = this.scaleGroups[a.scaleLabel].min, z = this.scaleGroups[a.scaleLabel].max;
525
- a.absoluteValues.filter((w) => ![null, void 0].includes(w)).map((w) => (w - L) / (z - L));
526
- const G = {
527
- valueMin: L,
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));
526
+ const O = {
527
+ valueMin: y,
528
528
  valueMax: z
529
529
  }, N = {
530
530
  max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
531
531
  min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
532
- }, A = 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, A), y = this.calculateNiceScaleWithExactExtremes(G.valueMin, G.valueMax === G.valueMin ? G.valueMax * v : G.valueMax, A), b = m.min >= 0 ? 0 : Math.abs(m.min), M = 0, H = m.max + b, t = y.max + Math.abs(M), c = a.stackIndex, n = o - 1 - c, d = f ? 1 - a.cumulatedStackRatio : 0, p = f ? e * d + u * 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) => {
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
533
  const C = this.mutableConfig.useIndividualScale ? (a.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),
@@ -537,7 +537,7 @@ const ct = ne(), ot = {
537
537
  value: a.absoluteValues[P],
538
538
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
539
539
  };
540
- }), W = a.absoluteValues.map((w) => y.min >= 0 ? (w - Math.abs(y.min)) / (y.max - Math.abs(y.min)) : (w + Math.abs(y.min)) / (y.max + Math.abs(y.min))), te = a.series.map((w, P) => ({
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) => ({
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
543
  value: a.absoluteValues[P],
@@ -548,8 +548,8 @@ const ct = ne(), ot = {
548
548
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
549
549
  suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
550
550
  datapoint: a
551
- })), J = y.ticks.map((w) => {
552
- const P = (w - y.min) / (y.max - y.min);
551
+ })), J = L.ticks.map((w) => {
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,
@@ -564,7 +564,7 @@ const ct = ne(), ot = {
564
564
  autoScaleYLabels: J,
565
565
  individualHeight: S,
566
566
  scaleYLabels: a.autoScaling ? J : E,
567
- individualScale: a.autoScaling ? y : m,
567
+ individualScale: a.autoScaling ? L : m,
568
568
  individualMax: a.autoScaling ? t : H,
569
569
  zeroPosition: a.autoScaling ? T : k,
570
570
  plots: a.autoScaling ? te : Y,
@@ -580,14 +580,14 @@ const ct = ne(), ot = {
580
580
  l.add(a);
581
581
  }), l.size;
582
582
  }
583
- const o = r(this.absoluteDataset.filter((f) => !this.segregatedSeries.includes(f.id))), u = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? o * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
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;
584
584
  return {
585
585
  top: this.FINAL_CONFIG.chart.padding.top,
586
586
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
587
587
  bottom: this.height - this.FINAL_CONFIG.chart.padding.bottom,
588
- left: this.FINAL_CONFIG.chart.padding.left + u,
588
+ left: this.FINAL_CONFIG.chart.padding.left + d,
589
589
  height: this.height - (this.FINAL_CONFIG.chart.padding.top + this.FINAL_CONFIG.chart.padding.bottom),
590
- width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + u)
590
+ width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + d)
591
591
  };
592
592
  },
593
593
  max() {
@@ -634,13 +634,13 @@ const ct = ne(), ot = {
634
634
  },
635
635
  table() {
636
636
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
637
- const r = this.relativeDataset.map((u) => ({
638
- label: u.name,
639
- color: u.color,
640
- type: u.type
637
+ const r = this.relativeDataset.map((d) => ({
638
+ label: d.name,
639
+ color: d.color,
640
+ type: d.type
641
641
  })), o = [];
642
- return this.timeLabels.forEach((u, f) => {
643
- const l = [u.text];
642
+ return this.timeLabels.forEach((d, f) => {
643
+ const l = [d.text];
644
644
  this.relativeDataset.forEach((e) => {
645
645
  l.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
646
646
  }), o.push(l);
@@ -650,20 +650,20 @@ const ct = ne(), ot = {
650
650
  const r = this.FINAL_CONFIG.table.showSum;
651
651
  let o = [""].concat(this.relativeDataset.map((e) => e.name));
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
- let u = [];
653
+ let d = [];
654
654
  for (let e = 0; e < this.maxSeries; e += 1) {
655
- const a = this.relativeDataset.map((L) => L.absoluteValues[e] ?? 0).reduce((L, z) => L + z, 0);
656
- u.push(
655
+ const a = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, z) => y + z, 0);
656
+ d.push(
657
657
  [
658
658
  this.timeLabels[e].text ?? "-"
659
659
  ].concat(this.relativeDataset.map(
660
- (L) => this.applyDataLabel(
661
- L.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : L.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
662
- L.absoluteValues[e] ?? 0,
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,
663
663
  this.dataLabel({
664
- p: L.prefix || this.FINAL_CONFIG.chart.labels.prefix,
665
- v: L.absoluteValues[e] ?? 0,
666
- s: L.suffix || this.FINAL_CONFIG.chart.labels.suffix,
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,
667
667
  r: this.FINAL_CONFIG.table.rounding
668
668
  })
669
669
  )
@@ -683,7 +683,7 @@ const ct = ne(), ot = {
683
683
  },
684
684
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
685
685
  }, l = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
686
- return { head: o, body: u, config: f, colNames: l };
686
+ return { head: o, body: d, config: f, colNames: l };
687
687
  },
688
688
  dataTooltipSlot() {
689
689
  return {
@@ -703,7 +703,7 @@ const ct = ne(), ot = {
703
703
  name: r.name,
704
704
  color: r.color,
705
705
  type: r.type,
706
- value: r.absoluteValues.find((o, u) => u === this.selectedSerieIndex),
706
+ value: r.absoluteValues.find((o, d) => d === this.selectedSerieIndex),
707
707
  comments: r.comments || [],
708
708
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
709
709
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix
@@ -711,7 +711,7 @@ const ct = ne(), ot = {
711
711
  },
712
712
  tooltipContent() {
713
713
  let r = "", o = this.selectedSeries.map((l) => l.value).filter((l) => this.isSafeValue(l) && l !== null).reduce((l, e) => Math.abs(l) + Math.abs(e), 0);
714
- const u = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
714
+ const d = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
715
715
  return this.isFunction(f) && this.functionReturnsString(() => f({
716
716
  seriesIndex: this.selectedSerieIndex,
717
717
  datapoint: this.selectedSeries,
@@ -728,7 +728,7 @@ const ct = ne(), ot = {
728
728
  lines: this.lineSet,
729
729
  plots: this.plotSet,
730
730
  config: this.FINAL_CONFIG
731
- }) : (u && u.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%">${u.text}</div>`), this.selectedSeries.forEach((l) => {
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
733
  let e = "", a = "";
734
734
  switch (this.icons[l.type]) {
@@ -810,26 +810,26 @@ 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: u, right: f } = this.drawingArea, l = this.zero, e = this.drawingArea.height, a = this.niceScale.min, z = this.niceScale.max - a, G = (N) => {
814
- const A = (N - 0) / z;
815
- return l - A * e;
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) => {
814
+ const F = (N - 0) / z;
815
+ return l - F * e;
816
816
  };
817
817
  return o.map((N) => {
818
- const { yAxis: { yTop: A, yBottom: v, label: m } } = N, y = A != null && v != null && A !== v, b = A == null ? null : G(A), M = v == null ? null : G(v), H = this.getTextMeasurer(m.fontSize);
818
+ const { yAxis: { yTop: F, yBottom: v, label: m } } = N, L = F != null && v != null && F !== v, b = F == null ? null : O(F), M = v == null ? null : O(v), H = this.getTextMeasurer(m.fontSize);
819
819
  H.font = `${m.fontSize}px sans-serif`;
820
- const t = H.measureText(m.text).width, c = m.fontSize, n = (m.position === "start" ? u + m.padding.left : f - m.padding.right) + m.offsetX, p = (b != null && M != null ? Math.min(b, M) : b ?? M) - m.fontSize / 3 + m.offsetY - m.padding.top;
820
+ const t = H.measureText(m.text).width, c = m.fontSize, n = (m.position === "start" ? d + m.padding.left : f - m.padding.right) + m.offsetX, p = (b != null && M != null ? Math.min(b, M) : b ?? M) - m.fontSize / 3 + m.offsetY - m.padding.top;
821
821
  let S;
822
822
  m.textAnchor === "middle" ? S = n - t / 2 - m.padding.left : m.textAnchor === "end" ? S = n - t - m.padding.right : S = n - m.padding.left;
823
823
  const k = p - c * 0.75 - m.padding.top;
824
824
  return {
825
825
  show: ![b, M, k].includes(NaN),
826
826
  id: `annotation_y_${this.createUid()}`,
827
- hasArea: y,
828
- areaHeight: y ? Math.abs(b - M) : 0,
827
+ hasArea: L,
828
+ areaHeight: L ? Math.abs(b - M) : 0,
829
829
  yTop: b,
830
830
  yBottom: M,
831
831
  config: N.yAxis,
832
- x1: u,
832
+ x1: d,
833
833
  x2: f,
834
834
  _text: { x: n, y: p },
835
835
  _box: {
@@ -903,19 +903,19 @@ const ct = ne(), ot = {
903
903
  usesSelectTimeLabelEvent() {
904
904
  return !!this.$.vnode.props?.onSelectTimeLabel;
905
905
  },
906
- getTextMeasurer(r, o, u) {
906
+ getTextMeasurer(r, o, d) {
907
907
  if (!this._textMeasurer) {
908
908
  const f = document.createElement("canvas");
909
909
  this._textMeasurer = f.getContext("2d");
910
910
  }
911
- return this._textMeasurer.font = `${u || "normal"} ${r}px ${o || "sans-serif"}`, this._textMeasurer;
911
+ return this._textMeasurer.font = `${d || "normal"} ${r}px ${o || "sans-serif"}`, this._textMeasurer;
912
912
  },
913
913
  hideTags() {
914
914
  const r = document.querySelectorAll(".vue-ui-xy-tag");
915
915
  r.length && Array.from(r).forEach((o) => o.style.opacity = "0");
916
916
  },
917
- setTagRef(r, o, u, f, l) {
918
- u && (this.tagRefs[`${r}_${o}_${f}_${l}`] = u);
917
+ setTagRef(r, o, d, f, l) {
918
+ d && (this.tagRefs[`${r}_${o}_${f}_${l}`] = d);
919
919
  },
920
920
  setUserOptionsVisibility(r = !1) {
921
921
  this.showUserOptionsOnChartHover && (this.userOptionsVisible = r);
@@ -924,7 +924,7 @@ const ct = ne(), ot = {
924
924
  this.isAnnotator = !this.isAnnotator;
925
925
  },
926
926
  selectTimeLabel(r, o) {
927
- const u = this.relativeDataset.map((f) => ({
927
+ const d = this.relativeDataset.map((f) => ({
928
928
  shape: f.shape || null,
929
929
  name: f.name,
930
930
  color: f.color,
@@ -935,16 +935,16 @@ const ct = ne(), ot = {
935
935
  suffix: f.suffix || this.FINAL_CONFIG.chart.labels.suffix
936
936
  }));
937
937
  this.$emit("selectTimeLabel", {
938
- datapoint: u,
938
+ datapoint: d,
939
939
  absoluteIndex: r.absoluteIndex,
940
940
  label: r.text
941
941
  });
942
942
  },
943
943
  getHighlightAreaPosition(r) {
944
- const o = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (r.from - this.slicer.start), u = this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span;
944
+ const o = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (r.from - this.slicer.start), d = this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span;
945
945
  return {
946
946
  x: o < this.drawingArea.left ? this.drawingArea.left : o,
947
- width: u
947
+ width: d
948
948
  };
949
949
  },
950
950
  prepareConfig() {
@@ -955,9 +955,9 @@ 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 && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length && (o.chart.annotations = this.config.chart.annotations.map((u) => 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 && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length && (o.chart.annotations = this.config.chart.annotations.map((d) => ie({
959
959
  defaultConfig: r.chart.annotations[0],
960
- userConfig: u
960
+ userConfig: d
961
961
  }))), o.theme ? {
962
962
  ...ie({
963
963
  userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
@@ -978,9 +978,9 @@ const ct = ne(), ot = {
978
978
  index: o
979
979
  });
980
980
  }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((r) => {
981
- r.series.forEach((o, u) => {
981
+ r.series.forEach((o, d) => {
982
982
  this.isSafeValue(o) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
983
- -----> The serie '${r.name}' contains the value '${o}' at index ${u}.
983
+ -----> The serie '${r.name}' contains the value '${o}' at index ${d}.
984
984
  '${o}' was converted to null to allow the chart to display.`);
985
985
  });
986
986
  }), this.showUserOptionsOnChartHover = this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.keepUserOptionState = this.FINAL_CONFIG.chart.userOptions.keepStateOnChartLeave, this.userOptionsVisible = !this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.mutableConfig = {
@@ -994,21 +994,21 @@ const ct = ne(), ot = {
994
994
  }, this.FINAL_CONFIG.responsive) {
995
995
  const o = this.$refs.chart.parentNode;
996
996
  this.resizeObserver && (this.resizeObserver.unobserve(this.observedEl), this.resizeObserver.disconnect());
997
- const { height: u, width: f } = o.getBoundingClientRect();
997
+ const { height: d, width: f } = o.getBoundingClientRect();
998
998
  let l = null, e = 0;
999
- this.FINAL_CONFIG.chart.title.show && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
1000
- let a = null, L = 0;
1001
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (a = this.$refs.chartSlicer.$el, L = a.getBoundingClientRect().height);
1002
- let z = null, G = 0;
1003
- this.FINAL_CONFIG.chart.legend.show && (z = this.$refs.chartLegend, G = z.getBoundingClientRect().height);
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);
1002
+ let z = null, O = 0;
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
- let A = 0;
1007
- this.$refs.noTitle && (A = this.$refs.noTitle.getBoundingClientRect().height), this.height = u - e - G - L - N - A, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
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();
1008
1008
  const v = new ResizeObserver((m) => {
1009
- for (const y of m)
1010
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (L = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (G = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (N = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
1011
- this.height = y.contentBoxSize[0].blockSize - e - G - L - N - 24, this.width = y.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
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();
1012
1012
  });
1013
1013
  });
1014
1014
  this.resizeObserver = v, this.observedEl = o, v.observe(o);
@@ -1078,18 +1078,18 @@ const ct = ne(), ot = {
1078
1078
  },
1079
1079
  createArea(r, o) {
1080
1080
  if (!r[0]) return [-10, -10, "", -10, -10];
1081
- const u = { x: r[0].x, y: o }, f = { x: r.at(-1).x, y: o }, l = [];
1081
+ const d = { x: r[0].x, y: o }, f = { x: r.at(-1).x, y: o }, l = [];
1082
1082
  return r.forEach((e) => {
1083
1083
  l.push(`${e.x},${e.y} `);
1084
- }), [u.x, u.y, ...l, f.x, f.y].toString();
1084
+ }), [d.x, d.y, ...l, f.x, f.y].toString();
1085
1085
  },
1086
1086
  createStar: ae,
1087
1087
  createPolygonPath: X,
1088
1088
  fillArray(r, o) {
1089
- let u = Array(r).fill(0);
1089
+ let d = Array(r).fill(0);
1090
1090
  for (let f = 0; f < o.length && f < r; f += 1)
1091
- u[f] = o[f];
1092
- return u;
1091
+ d[f] = o[f];
1092
+ return d;
1093
1093
  },
1094
1094
  async setupSlicer() {
1095
1095
  (this.FINAL_CONFIG.chart.zoom.startIndex !== null || this.FINAL_CONFIG.chart.zoom.endIndex !== null) && this.$refs.chartSlicer ? (this.FINAL_CONFIG.chart.zoom.startIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setStartValue(this.FINAL_CONFIG.chart.zoom.startIndex)), this.FINAL_CONFIG.chart.zoom.endIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setEndValue(this.validSlicerEnd(this.FINAL_CONFIG.chart.zoom.endIndex + 1)))) : (this.slicer = {
@@ -1101,7 +1101,7 @@ const ct = ne(), ot = {
1101
1101
  this.setupSlicer();
1102
1102
  },
1103
1103
  validSlicerEnd(r) {
1104
- const o = Math.max(...this.dataset.map((u) => this.largestTriangleThreeBucketsArray({ data: u.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
1104
+ const o = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({ data: d.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
1105
1105
  return r > o ? o : r < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && r < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : r;
1106
1106
  },
1107
1107
  calcRectHeight(r) {
@@ -1127,12 +1127,12 @@ const ct = ne(), ot = {
1127
1127
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(r);
1128
1128
  },
1129
1129
  findClosestValue(r, o) {
1130
- let u = o[0], f = Math.abs(r - o[0]);
1130
+ let d = o[0], f = Math.abs(r - o[0]);
1131
1131
  for (let l = 1; l < o.length; l += 1) {
1132
1132
  const e = Math.abs(r - o[l]);
1133
- e < f && o[l] < r && (u = o[l], f = e);
1133
+ e < f && o[l] < r && (d = o[l], f = e);
1134
1134
  }
1135
- return u;
1135
+ return d;
1136
1136
  },
1137
1137
  ratioToMax(r) {
1138
1138
  return r / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
@@ -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-DXd78sXk.js");
1189
+ const { default: r } = await import("./pdf-DUfjsZR7.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], [""]], u = ["", ...this.table.head.map((a) => a.label)], f = this.table.body, l = o.concat([u]).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((a) => a.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-BUo2ttV5.js");
1212
+ const { default: r } = await import("./img-Cgn5kWVZ.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",
@@ -1281,13 +1281,13 @@ const ct = ne(), ot = {
1281
1281
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1282
1282
  "data-dom-to-png-ignore": ""
1283
1283
  }, qr = ["innerHTML"];
1284
- function Xr(r, o, u, f, l, e) {
1285
- const a = q("PenAndPaper"), L = q("Title"), z = q("UserOptions"), G = q("PackageVersion"), N = q("Shape"), A = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), y = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
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
1286
  return i(), 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",
1290
- style: F(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1290
+ style: _(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1291
1291
  onMouseenter: o[7] || (o[7] = () => e.setUserOptionsVisibility(!0)),
1292
1292
  onMouseleave: o[8] || (o[8] = () => e.setUserOptionsVisibility(!1))
1293
1293
  }, [
@@ -1304,9 +1304,9 @@ function Xr(r, o, u, f, l, e) {
1304
1304
  key: 2,
1305
1305
  ref: "chartTitle",
1306
1306
  class: "vue-ui-xy-title",
1307
- style: F(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1307
+ style: _(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1308
1308
  }, [
1309
- (i(), U(L, {
1309
+ (i(), U(y, {
1310
1310
  key: `title_${l.titleStep}`,
1311
1311
  config: {
1312
1312
  title: {
@@ -1334,7 +1334,7 @@ function Xr(r, o, u, f, l, e) {
1334
1334
  hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
1335
1335
  hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
1336
1336
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
1337
- hasStack: u.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1337
+ hasStack: d.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1338
1338
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1339
1339
  isStacked: l.mutableConfig.isStacked,
1340
1340
  isFullscreen: l.isFullscreen,
@@ -1354,77 +1354,77 @@ function Xr(r, o, u, f, l, e) {
1354
1354
  onToggleStack: e.toggleStack,
1355
1355
  onToggleTooltip: e.toggleTooltip,
1356
1356
  onToggleAnnotator: e.toggleAnnotator,
1357
- style: F({
1357
+ style: _({
1358
1358
  visibility: l.keepUserOptionState ? l.userOptionsVisible ? "visible" : "hidden" : "visible"
1359
1359
  })
1360
1360
  }, et({ _: 2 }, [
1361
1361
  r.$slots.menuIcon ? {
1362
1362
  name: "menuIcon",
1363
1363
  fn: B(({ isOpen: t, color: c }) => [
1364
- O(r.$slots, "menuIcon", $(ee({ isOpen: t, color: c })), void 0, !0)
1364
+ G(r.$slots, "menuIcon", $(ee({ isOpen: t, color: c })), void 0, !0)
1365
1365
  ]),
1366
1366
  key: "0"
1367
1367
  } : void 0,
1368
1368
  r.$slots.optionTooltip ? {
1369
1369
  name: "optionTooltip",
1370
1370
  fn: B(() => [
1371
- O(r.$slots, "optionTooltip", {}, void 0, !0)
1371
+ G(r.$slots, "optionTooltip", {}, void 0, !0)
1372
1372
  ]),
1373
1373
  key: "1"
1374
1374
  } : void 0,
1375
1375
  r.$slots.optionPdf ? {
1376
1376
  name: "optionPdf",
1377
1377
  fn: B(() => [
1378
- O(r.$slots, "optionPdf", {}, void 0, !0)
1378
+ G(r.$slots, "optionPdf", {}, void 0, !0)
1379
1379
  ]),
1380
1380
  key: "2"
1381
1381
  } : void 0,
1382
1382
  r.$slots.optionCsv ? {
1383
1383
  name: "optionCsv",
1384
1384
  fn: B(() => [
1385
- O(r.$slots, "optionCsv", {}, void 0, !0)
1385
+ G(r.$slots, "optionCsv", {}, void 0, !0)
1386
1386
  ]),
1387
1387
  key: "3"
1388
1388
  } : void 0,
1389
1389
  r.$slots.optionImg ? {
1390
1390
  name: "optionImg",
1391
1391
  fn: B(() => [
1392
- O(r.$slots, "optionImg", {}, void 0, !0)
1392
+ G(r.$slots, "optionImg", {}, void 0, !0)
1393
1393
  ]),
1394
1394
  key: "4"
1395
1395
  } : void 0,
1396
1396
  r.$slots.optionTable ? {
1397
1397
  name: "optionTable",
1398
1398
  fn: B(() => [
1399
- O(r.$slots, "optionTable", {}, void 0, !0)
1399
+ G(r.$slots, "optionTable", {}, void 0, !0)
1400
1400
  ]),
1401
1401
  key: "5"
1402
1402
  } : void 0,
1403
1403
  r.$slots.optionLabels ? {
1404
1404
  name: "optionLabels",
1405
1405
  fn: B(() => [
1406
- O(r.$slots, "optionLabels", {}, void 0, !0)
1406
+ G(r.$slots, "optionLabels", {}, void 0, !0)
1407
1407
  ]),
1408
1408
  key: "6"
1409
1409
  } : void 0,
1410
1410
  r.$slots.optionStack ? {
1411
1411
  name: "optionStack",
1412
1412
  fn: B(() => [
1413
- O(r.$slots, "optionStack", {}, void 0, !0)
1413
+ G(r.$slots, "optionStack", {}, void 0, !0)
1414
1414
  ]),
1415
1415
  key: "7"
1416
1416
  } : void 0,
1417
1417
  r.$slots.optionFullscreen ? {
1418
1418
  name: "optionFullscreen",
1419
1419
  fn: B(({ toggleFullscreen: t, isFullscreen: c }) => [
1420
- O(r.$slots, "optionFullscreen", $(ee({ toggleFullscreen: t, isFullscreen: c })), void 0, !0)
1420
+ G(r.$slots, "optionFullscreen", $(ee({ toggleFullscreen: t, isFullscreen: c })), void 0, !0)
1421
1421
  ]),
1422
1422
  key: "8"
1423
1423
  } : void 0,
1424
1424
  r.$slots.optionAnnotator ? {
1425
1425
  name: "optionAnnotator",
1426
1426
  fn: B(({ toggleAnnotator: t, isAnnotator: c }) => [
1427
- O(r.$slots, "optionAnnotator", $(ee({ toggleAnnotator: t, isAnnotator: c })), void 0, !0)
1427
+ G(r.$slots, "optionAnnotator", $(ee({ toggleAnnotator: t, isAnnotator: c })), void 0, !0)
1428
1428
  ]),
1429
1429
  key: "9"
1430
1430
  } : void 0
@@ -1436,12 +1436,12 @@ function Xr(r, o, u, f, l, e) {
1436
1436
  class: j([{ "vue-data-ui-fullscreen--on": l.isFullscreen, "vue-data-ui-fulscreen--off": !l.isFullscreen }, "vue-ui-xy-svg"]),
1437
1437
  width: "100%",
1438
1438
  viewBox: l.viewBox,
1439
- style: F(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1439
+ style: _(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1440
1440
  "aria-label": e.chartAriaLabel,
1441
1441
  role: "img",
1442
1442
  "aria-live": "polite"
1443
1443
  }, [
1444
- le(G),
1444
+ le(O),
1445
1445
  r.$slots["chart-background"] ? (i(), s("foreignObject", {
1446
1446
  key: 0,
1447
1447
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -1452,7 +1452,7 @@ function Xr(r, o, u, f, l, e) {
1452
1452
  pointerEvents: "none"
1453
1453
  }
1454
1454
  }, [
1455
- O(r.$slots, "chart-background", {}, void 0, !0)
1455
+ G(r.$slots, "chart-background", {}, void 0, !0)
1456
1456
  ], 8, gt)) : h("", !0),
1457
1457
  e.maxSeries > 0 ? (i(), s("g", ft, [
1458
1458
  I("g", It, [
@@ -1467,8 +1467,8 @@ function Xr(r, o, u, 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(g, { key: 2 }, x(e.allScales, (t) => (i(), s("g", null, [
1471
- t.id === l.selectedScale && t.yLabels.length ? (i(!0), s(g, { key: 0 }, x(t.yLabels, (c) => (i(), s("line", {
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", {
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, u, 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(g, { key: 1 }, x(t.yLabels, (c) => (i(), s("line", {
1480
+ }, null, 8, Ft))), 256)) : t.yLabels.length ? (i(!0), s(u, { key: 1 }, x(t.yLabels, (c) => (i(), 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,7 +1487,7 @@ function Xr(r, o, u, 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(g, { key: 1 }, [
1490
+ ]))), 256)) : h("", !0) : (i(), s(u, { key: 1 }, [
1491
1491
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (i(), s("line", {
1492
1492
  key: 0,
1493
1493
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1500,7 +1500,7 @@ function Xr(r, o, u, f, l, e) {
1500
1500
  style: { animation: "none !important" }
1501
1501
  }, null, 8, Nt)) : h("", !0),
1502
1502
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(), s("g", mt, [
1503
- (i(!0), s(g, null, x(e.yLabels, (t) => (i(), s("line", {
1503
+ (i(!0), s(u, null, x(e.yLabels, (t) => (i(), 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),
@@ -1513,7 +1513,7 @@ function Xr(r, o, u, f, l, e) {
1513
1513
  ])) : h("", !0)
1514
1514
  ], 64)),
1515
1515
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (i(), s("g", At, [
1516
- (i(!0), s(g, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (i(), s("line", {
1516
+ (i(!0), s(u, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (i(), 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,
@@ -1525,10 +1525,10 @@ function Xr(r, o, u, f, l, e) {
1525
1525
  }, null, 8, yt))), 128))
1526
1526
  ])) : h("", !0),
1527
1527
  e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", Lt, [
1528
- (i(!0), s(g, null, x(e.timeLabels, (t, c) => (i(), s("g", {
1528
+ (i(!0), s(u, null, x(e.timeLabels, (t, c) => (i(), 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(g, { key: 0 }, [
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
1532
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showCrosshairs ? (i(), 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,
@@ -1544,7 +1544,7 @@ function Xr(r, o, u, f, l, e) {
1544
1544
  ]))), 128))
1545
1545
  ])) : h("", !0)
1546
1546
  ]),
1547
- (i(!0), s(g, null, x(e.barSet, (t, c) => (i(), s("defs", {
1547
+ (i(!0), s(u, null, x(e.barSet, (t, c) => (i(), s("defs", {
1548
1548
  key: `def_rect_${c}`
1549
1549
  }, [
1550
1550
  I("linearGradient", {
@@ -1584,7 +1584,7 @@ function Xr(r, o, u, f, l, e) {
1584
1584
  }, null, 8, zt)
1585
1585
  ], 8, Gt)
1586
1586
  ]))), 128)),
1587
- (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s("defs", {
1587
+ (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s("defs", {
1588
1588
  key: `def_plot_${c}`
1589
1589
  }, [
1590
1590
  I("radialGradient", {
@@ -1605,7 +1605,7 @@ function Xr(r, o, u, f, l, e) {
1605
1605
  }, null, 8, Pt)
1606
1606
  ], 8, Mt)
1607
1607
  ]))), 128)),
1608
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s("defs", {
1608
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s("defs", {
1609
1609
  key: `def_line_${c}`
1610
1610
  }, [
1611
1611
  I("radialGradient", {
@@ -1642,38 +1642,42 @@ function Xr(r, o, u, f, l, e) {
1642
1642
  }, null, 8, Wt)
1643
1643
  ], 8, Dt)
1644
1644
  ]))), 128)),
1645
- (i(!0), s(g, null, x(e.highlightAreas, (t) => (i(), s("g", null, [
1646
- t.show ? (i(!0), s(g, { key: 0 }, x(t.span, (c, n) => (i(), s("g", null, [
1647
- I("rect", {
1648
- style: F({
1649
- transition: "none",
1650
- opacity: t.from + n >= l.slicer.start && t.from + n <= l.slicer.end - 1 ? 1 : 0
1651
- }),
1652
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - l.slicer.start),
1653
- y: e.drawingArea.top,
1654
- height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1655
- width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1656
- fill: e.setOpacity(t.color, t.opacity)
1657
- }, null, 12, Et),
1658
- t.caption.text && n === 0 ? (i(), s("foreignObject", {
1659
- key: 0,
1660
- 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),
1661
- y: e.drawingArea.top + t.caption.offsetY,
1662
- style: F({
1663
- overflow: "visible",
1664
- opacity: t.to >= l.slicer.start && t.from < l.slicer.end ? 1 : 0
1665
- }),
1666
- height: "1",
1667
- width: t.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * t.span : t.caption.width
1668
- }, [
1669
- I("div", {
1670
- style: F(`padding:${t.caption.padding}px;text-align:${t.caption.textAlign};font-size:${t.caption.fontSize}px;color:${t.caption.color};font-weight:${t.caption.bold ? "bold" : "normal"}`)
1671
- }, V(t.caption.text), 5)
1672
- ], 12, Yt)) : h("", !0)
1673
- ]))), 256)) : h("", !0)
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, [
1648
+ I("rect", {
1649
+ style: _({
1650
+ transition: "none",
1651
+ opacity: t.from + n >= l.slicer.start && t.from + n <= l.slicer.end - 1 ? 1 : 0
1652
+ }),
1653
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - l.slicer.start),
1654
+ y: e.drawingArea.top,
1655
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1656
+ width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1657
+ fill: e.setOpacity(t.color, t.opacity)
1658
+ }, null, 12, Et)
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", {
1662
+ key: 0,
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
+ y: e.drawingArea.top + t.caption.offsetY,
1665
+ style: _({
1666
+ overflow: "visible",
1667
+ opacity: t.to >= l.slicer.start && t.from < l.slicer.end ? 1 : 0
1668
+ }),
1669
+ height: "1",
1670
+ width: t.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * t.span : t.caption.width
1671
+ }, [
1672
+ I("div", {
1673
+ style: _(`padding:${t.caption.padding}px;text-align:${t.caption.textAlign};font-size:${t.caption.fontSize}px;color:${t.caption.color};font-weight:${t.caption.bold ? "bold" : "normal"}`)
1674
+ }, V(t.caption.text), 5)
1675
+ ], 12, Yt)) : h("", !0)
1676
+ ]))), 256))
1677
+ ], 64)) : h("", !0)
1674
1678
  ]))), 256)),
1675
1679
  I("g", null, [
1676
- (i(!0), s(g, null, x(e.maxSeries, (t, c) => (i(), s("g", {
1680
+ (i(!0), s(u, null, x(e.maxSeries, (t, c) => (i(), s("g", {
1677
1681
  key: `tooltip_trap_highlighter_${c}`
1678
1682
  }, [
1679
1683
  I("rect", {
@@ -1685,13 +1689,13 @@ function Xr(r, o, u, f, l, e) {
1685
1689
  }, null, 8, qt)
1686
1690
  ]))), 128))
1687
1691
  ]),
1688
- e.barSet.length ? (i(!0), s(g, { key: 0 }, x(e.barSet, (t, c) => (i(), s("g", {
1692
+ e.barSet.length ? (i(!0), s(u, { key: 0 }, x(e.barSet, (t, c) => (i(), s("g", {
1689
1693
  key: `serie_bar_${c}`,
1690
1694
  class: j(`serie_bar_${c}`),
1691
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1695
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1692
1696
  }, [
1693
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s("g", {
1694
- key: `bar_plot_${c}_${d}`
1697
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s("g", {
1698
+ key: `bar_plot_${c}_${g}`
1695
1699
  }, [
1696
1700
  e.canShowValue(n.value) ? (i(), s("rect", {
1697
1701
  key: 0,
@@ -1723,8 +1727,8 @@ function Xr(r, o, u, f, l, e) {
1723
1727
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1724
1728
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1725
1729
  }, [
1726
- O(r.$slots, "plot-comment", {
1727
- plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: d }
1730
+ G(r.$slots, "plot-comment", {
1731
+ plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: g }
1728
1732
  }, void 0, !0)
1729
1733
  ], 8, Zt)) : h("", !0)
1730
1734
  ]))), 128)),
@@ -1808,8 +1812,8 @@ function Xr(r, o, u, f, l, e) {
1808
1812
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1809
1813
  }, null, 8, rl)) : h("", !0),
1810
1814
  e.FINAL_CONFIG.chart.grid.labels.show ? (i(), s("g", al, [
1811
- l.mutableConfig.useIndividualScale ? (i(), s(g, { key: 0 }, [
1812
- (i(!0), s(g, null, x(e.allScales, (t) => (i(), s("g", null, [
1815
+ l.mutableConfig.useIndividualScale ? (i(), s(u, { key: 0 }, [
1816
+ (i(!0), s(u, null, x(e.allScales, (t) => (i(), s("g", null, [
1813
1817
  I("line", {
1814
1818
  x1: t.x + e.xPadding,
1815
1819
  x2: t.x + e.xPadding,
@@ -1818,11 +1822,11 @@ function Xr(r, o, u, f, l, e) {
1818
1822
  stroke: t.color,
1819
1823
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1820
1824
  "stroke-linecap": "round",
1821
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1825
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1822
1826
  }, null, 12, il)
1823
1827
  ]))), 256)),
1824
- (i(!0), s(g, null, x(e.allScales, (t) => (i(), s("g", {
1825
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1828
+ (i(!0), s(u, null, x(e.allScales, (t) => (i(), s("g", {
1829
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1826
1830
  }, [
1827
1831
  I("text", {
1828
1832
  fill: t.color,
@@ -1830,7 +1834,7 @@ function Xr(r, o, u, f, l, e) {
1830
1834
  "text-anchor": "middle",
1831
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)`
1832
1836
  }, V(t.name) + " " + V(t.scaleLabel && t.unique && t.scaleLabel !== t.id ? `- ${t.scaleLabel}` : ""), 9, sl),
1833
- (i(!0), s(g, null, x(t.yLabels, (c, n) => (i(), s(g, null, [
1837
+ (i(!0), s(u, null, x(t.yLabels, (c, n) => (i(), s(u, null, [
1834
1838
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
1835
1839
  key: 0,
1836
1840
  x1: t.x + 3 + e.xPadding - e.FINAL_CONFIG.chart.grid.labels.yAxis.crosshairSize,
@@ -1843,7 +1847,7 @@ function Xr(r, o, u, f, l, e) {
1843
1847
  style: { animation: "none !important" }
1844
1848
  }, null, 8, nl)) : h("", !0)
1845
1849
  ], 64))), 256)),
1846
- (i(!0), s(g, null, x(t.yLabels, (c, n) => (i(), s("text", {
1850
+ (i(!0), s(u, null, x(t.yLabels, (c, n) => (i(), s("text", {
1847
1851
  x: t.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1848
1852
  y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
1849
1853
  "font-size": l.fontSizes.dataLabels,
@@ -1861,7 +1865,7 @@ function Xr(r, o, u, f, l, e) {
1861
1865
  { datapoint: c.datapoint, seriesIndex: n }
1862
1866
  )), 9, cl))), 256))
1863
1867
  ], 4))), 256))
1864
- ], 64)) : (i(!0), s(g, { key: 1 }, x(e.yLabels, (t, c) => (i(), s("g", {
1868
+ ], 64)) : (i(!0), s(u, { key: 1 }, x(e.yLabels, (t, c) => (i(), s("g", {
1865
1869
  key: `yLabel_${c}`
1866
1870
  }, [
1867
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", {
@@ -1894,20 +1898,20 @@ function Xr(r, o, u, f, l, e) {
1894
1898
  ) : ""), 9, hl)) : h("", !0)
1895
1899
  ]))), 128))
1896
1900
  ])) : h("", !0),
1897
- (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s("g", {
1901
+ (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s("g", {
1898
1902
  key: `serie_plot_${c}`,
1899
1903
  class: j(`serie_plot_${c}`),
1900
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1904
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1901
1905
  }, [
1902
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s("g", {
1903
- key: `circle_plot_${c}_${d}`
1906
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s("g", {
1907
+ key: `circle_plot_${c}_${g}`
1904
1908
  }, [
1905
1909
  n && e.canShowValue(n.value) ? (i(), U(N, {
1906
1910
  key: 0,
1907
1911
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
1908
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,
1909
1913
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1910
- radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (l.plotRadii.plot || 6) * 1.5 : l.plotRadii.plot || 6,
1914
+ radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (l.plotRadii.plot || 6) * 1.5 : l.plotRadii.plot || 6,
1911
1915
  stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
1912
1916
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1913
1917
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
@@ -1920,8 +1924,8 @@ function Xr(r, o, u, f, l, e) {
1920
1924
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1921
1925
  }, [
1922
1926
  I("div", dl, [
1923
- O(r.$slots, "plot-comment", {
1924
- plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: d }
1927
+ G(r.$slots, "plot-comment", {
1928
+ plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: g }
1925
1929
  }, void 0, !0)
1926
1930
  ])
1927
1931
  ], 8, ul)) : h("", !0)
@@ -1967,10 +1971,10 @@ function Xr(r, o, u, f, l, e) {
1967
1971
  })), 9, Nl)) : h("", !0)
1968
1972
  ])) : h("", !0)
1969
1973
  ], 6))), 128)),
1970
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s("g", {
1974
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s("g", {
1971
1975
  key: `serie_line_${c}`,
1972
1976
  class: j(`serie_line_${c}`),
1973
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1977
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1974
1978
  }, [
1975
1979
  t.smooth && t.plots.length > 1 && t.curve ? (i(), s("path", {
1976
1980
  key: 0,
@@ -1991,17 +1995,17 @@ function Xr(r, o, u, f, l, e) {
1991
1995
  }, null, 8, bl)) : h("", !0)
1992
1996
  ], 6))), 128)),
1993
1997
  r.$slots.pattern ? (i(), s("defs", Fl, [
1994
- (i(!0), s(g, null, x(e.safeDataset, (t, c) => O(r.$slots, "pattern", se({
1998
+ (i(!0), s(u, null, x(e.safeDataset, (t, c) => G(r.$slots, "pattern", se({
1995
1999
  key: `serie_pattern_slot_${c}`
1996
2000
  }, { ref_for: !0 }, { ...t, seriesIndex: t.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
1997
2001
  ])) : h("", !0),
1998
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s("g", {
2002
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s("g", {
1999
2003
  key: `serie_line_${c}`,
2000
2004
  class: j(`serie_line_${c}`),
2001
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2005
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2002
2006
  }, [
2003
2007
  t.useArea && t.plots.length > 1 ? (i(), s("g", _l, [
2004
- t.smooth ? (i(!0), s(g, { key: 0 }, x(t.curveAreas, (n, d) => (i(), s(g, { key: d }, [
2008
+ t.smooth ? (i(!0), s(u, { key: 0 }, x(t.curveAreas, (n, g) => (i(), s(u, { key: g }, [
2005
2009
  I("path", {
2006
2010
  d: n,
2007
2011
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
@@ -2011,7 +2015,7 @@ function Xr(r, o, u, f, l, e) {
2011
2015
  d: n,
2012
2016
  fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
2013
2017
  }, null, 8, yl)) : h("", !0)
2014
- ], 64))), 128)) : (i(!0), s(g, { key: 1 }, x(t.area.split(";"), (n, d) => (i(), s(g, { key: d }, [
2018
+ ], 64))), 128)) : (i(!0), s(u, { key: 1 }, x(t.area.split(";"), (n, g) => (i(), s(u, { key: g }, [
2015
2019
  I("path", {
2016
2020
  d: `M${n}Z`,
2017
2021
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
@@ -2041,15 +2045,15 @@ function Xr(r, o, u, f, l, e) {
2041
2045
  "stroke-linecap": "round",
2042
2046
  "stroke-linejoin": "round"
2043
2047
  }, null, 8, kl)) : h("", !0),
2044
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2045
- key: `circle_line_${c}_${d}`
2048
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2049
+ key: `circle_line_${c}_${g}`
2046
2050
  }, [
2047
- !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d) ? (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) ? (i(), U(N, {
2048
2052
  key: 0,
2049
2053
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
2050
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,
2051
2055
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
2052
- radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (l.plotRadii.line || 6) * 1.5 : l.plotRadii.line || 6,
2056
+ radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (l.plotRadii.line || 6) * 1.5 : l.plotRadii.line || 6,
2053
2057
  stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
2054
2058
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
2055
2059
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
@@ -2062,8 +2066,8 @@ function Xr(r, o, u, f, l, e) {
2062
2066
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
2063
2067
  }, [
2064
2068
  I("div", Ol, [
2065
- O(r.$slots, "plot-comment", {
2066
- plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: d }
2069
+ G(r.$slots, "plot-comment", {
2070
+ plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: g }
2067
2071
  }, void 0, !0)
2068
2072
  ])
2069
2073
  ], 8, wl)) : h("", !0)
@@ -2110,20 +2114,20 @@ function Xr(r, o, u, f, l, e) {
2110
2114
  ])) : h("", !0)
2111
2115
  ], 6))), 128)),
2112
2116
  (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (i(), s("g", Tl, [
2113
- (i(!0), s(g, null, x(e.barSet, (t, c) => (i(), s(g, {
2117
+ (i(!0), s(u, null, x(e.barSet, (t, c) => (i(), s(u, {
2114
2118
  key: `xLabel_bar_${c}`
2115
2119
  }, [
2116
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2117
- key: `xLabel_bar_${c}_${d}`
2120
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2121
+ key: `xLabel_bar_${c}_${g}`
2118
2122
  }, [
2119
- n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d) && 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 ? (i(), s("text", {
2120
2124
  key: 0,
2121
2125
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
2122
2126
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
2123
2127
  "text-anchor": "middle",
2124
2128
  "font-size": l.fontSizes.plotLabels,
2125
2129
  fill: e.FINAL_CONFIG.bar.labels.color,
2126
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2130
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2127
2131
  }, V(e.canShowValue(n.value) ? e.applyDataLabel(
2128
2132
  e.FINAL_CONFIG.bar.labels.formatter,
2129
2133
  n.value,
@@ -2146,26 +2150,26 @@ function Xr(r, o, u, f, l, e) {
2146
2150
  "font-size": l.fontSizes.plotLabels,
2147
2151
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? t.color : e.FINAL_CONFIG.bar.serieName.color,
2148
2152
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal",
2149
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2153
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2150
2154
  }, V(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: t.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : t.name), 13, Vl)) : h("", !0)
2151
2155
  ], 64))), 128))
2152
2156
  ], 64))), 128))
2153
2157
  ])) : h("", !0),
2154
2158
  e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Rl, [
2155
- (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2159
+ (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2156
2160
  key: `xLabel_plot_${c}`
2157
2161
  }, [
2158
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2159
- key: `xLabel_plot_${c}_${d}`
2162
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2163
+ key: `xLabel_plot_${c}_${g}`
2160
2164
  }, [
2161
- n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (i(), s("text", {
2165
+ n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (i(), s("text", {
2162
2166
  key: 0,
2163
2167
  x: n.x,
2164
2168
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
2165
2169
  "text-anchor": "middle",
2166
2170
  "font-size": l.fontSizes.plotLabels,
2167
2171
  fill: e.FINAL_CONFIG.plot.labels.color,
2168
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2172
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2169
2173
  }, V(e.canShowValue(n.value) ? e.applyDataLabel(
2170
2174
  e.FINAL_CONFIG.plot.labels.formatter,
2171
2175
  n.value,
@@ -2183,14 +2187,14 @@ function Xr(r, o, u, f, l, e) {
2183
2187
  ], 64))), 128))
2184
2188
  ], 64))), 128))
2185
2189
  ])) : (i(), s("g", Dl, [
2186
- (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2190
+ (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2187
2191
  key: `xLabel_plot_${c}`
2188
2192
  }, [
2189
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2190
- key: `xLabel_plot_${c}_${d}`
2193
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2194
+ key: `xLabel_plot_${c}_${g}`
2191
2195
  }, [
2192
- e.FINAL_CONFIG.plot.tag.followValue ? (i(), s(g, { key: 1 }, [
2193
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag ? (i(), s("line", {
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", {
2194
2198
  key: 0,
2195
2199
  class: "vue-ui-xy-tag-plot",
2196
2200
  x1: e.drawingArea.left,
@@ -2202,46 +2206,46 @@ function Xr(r, o, u, f, l, e) {
2202
2206
  "stroke-dasharray": "2",
2203
2207
  stroke: t.color
2204
2208
  }, null, 8, ql)) : h("", !0)
2205
- ], 64)) : (i(), s(g, { key: 0 }, [
2206
- n && d === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2209
+ ], 64)) : (i(), s(u, { key: 0 }, [
2210
+ n && g === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2207
2211
  key: 0,
2208
2212
  x: n.x,
2209
2213
  y: n.y - 20,
2210
2214
  height: 24,
2211
2215
  width: "150",
2212
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2216
+ style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2213
2217
  }, [
2214
2218
  I("div", {
2215
- style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2219
+ style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2216
2220
  innerHTML: e.applyDataLabel(
2217
2221
  e.FINAL_CONFIG.plot.tag.formatter,
2218
2222
  n.value,
2219
2223
  t.name,
2220
2224
  {
2221
2225
  datapoint: n,
2222
- seriesIndex: d,
2226
+ seriesIndex: g,
2223
2227
  serieName: t.name
2224
2228
  }
2225
2229
  )
2226
2230
  }, null, 12, Wl)
2227
2231
  ], 12, Bl)) : h("", !0),
2228
- n && d === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2232
+ n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2229
2233
  key: 1,
2230
2234
  x: n.x - t.name.length * (l.fontSizes.plotLabels / 2),
2231
2235
  y: n.y - 20,
2232
2236
  height: 24,
2233
2237
  width: "150",
2234
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2238
+ style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2235
2239
  }, [
2236
2240
  I("div", {
2237
- style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2241
+ style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2238
2242
  innerHTML: e.applyDataLabel(
2239
2243
  e.FINAL_CONFIG.plot.tag.formatter,
2240
2244
  n.value,
2241
2245
  t.name,
2242
2246
  {
2243
2247
  datapoint: n,
2244
- seriesIndex: d,
2248
+ seriesIndex: g,
2245
2249
  serieName: t.name
2246
2250
  }
2247
2251
  )
@@ -2252,20 +2256,20 @@ function Xr(r, o, u, f, l, e) {
2252
2256
  ], 64))), 128))
2253
2257
  ])),
2254
2258
  e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Xl, [
2255
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2259
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2256
2260
  key: `xLabel_line_${c}`
2257
2261
  }, [
2258
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2259
- key: `xLabel_line_${c}_${d}`
2262
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2263
+ key: `xLabel_line_${c}_${g}`
2260
2264
  }, [
2261
- n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (i(), s("text", {
2265
+ n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (i(), s("text", {
2262
2266
  key: 0,
2263
2267
  x: n.x,
2264
2268
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2265
2269
  "text-anchor": "middle",
2266
2270
  "font-size": l.fontSizes.plotLabels,
2267
2271
  fill: e.FINAL_CONFIG.line.labels.color,
2268
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2272
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2269
2273
  }, V(e.canShowValue(n.value) ? e.applyDataLabel(
2270
2274
  e.FINAL_CONFIG.line.labels.formatter,
2271
2275
  n.value,
@@ -2283,14 +2287,14 @@ function Xr(r, o, u, f, l, e) {
2283
2287
  ], 64))), 128))
2284
2288
  ], 64))), 128))
2285
2289
  ])) : (i(), s("g", Zl, [
2286
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2290
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2287
2291
  key: `xLabel_line_${c}`
2288
2292
  }, [
2289
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2290
- key: `xLabel_line_${c}_${d}`
2293
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2294
+ key: `xLabel_line_${c}_${g}`
2291
2295
  }, [
2292
- e.FINAL_CONFIG.line.tag.followValue ? (i(), s(g, { key: 1 }, [
2293
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag ? (i(), s("line", {
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", {
2294
2298
  key: 0,
2295
2299
  class: "vue-ui-xy-tag-line",
2296
2300
  x1: e.drawingArea.left,
@@ -2302,46 +2306,46 @@ function Xr(r, o, u, f, l, e) {
2302
2306
  "stroke-dasharray": "2",
2303
2307
  stroke: t.color
2304
2308
  }, null, 8, $l)) : h("", !0)
2305
- ], 64)) : (i(), s(g, { key: 0 }, [
2306
- n && d === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2309
+ ], 64)) : (i(), s(u, { key: 0 }, [
2310
+ n && g === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2307
2311
  key: 0,
2308
2312
  x: n.x,
2309
2313
  y: n.y - 20,
2310
2314
  height: 24,
2311
2315
  width: "150",
2312
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2316
+ style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2313
2317
  }, [
2314
2318
  I("div", {
2315
- style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2319
+ style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2316
2320
  innerHTML: e.applyDataLabel(
2317
2321
  e.FINAL_CONFIG.line.tag.formatter,
2318
2322
  n.value,
2319
2323
  t.name,
2320
2324
  {
2321
2325
  datapoint: n,
2322
- seriesIndex: d,
2326
+ seriesIndex: g,
2323
2327
  serieName: t.name
2324
2328
  }
2325
2329
  )
2326
2330
  }, null, 12, Kl)
2327
2331
  ], 12, Jl)) : h("", !0),
2328
- n && d === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2332
+ n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2329
2333
  key: 1,
2330
2334
  x: n.x,
2331
2335
  y: n.y - 20,
2332
2336
  height: 24,
2333
2337
  width: "150",
2334
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2338
+ style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2335
2339
  }, [
2336
2340
  I("div", {
2337
- style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2341
+ style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2338
2342
  innerHTML: e.applyDataLabel(
2339
2343
  e.FINAL_CONFIG.line.tag.formatter,
2340
2344
  n.value,
2341
2345
  t.name,
2342
2346
  {
2343
2347
  datapoint: n,
2344
- seriesIndex: d,
2348
+ seriesIndex: g,
2345
2349
  serieName: t.name
2346
2350
  }
2347
2351
  )
@@ -2351,13 +2355,13 @@ function Xr(r, o, u, f, l, e) {
2351
2355
  ], 64))), 128))
2352
2356
  ], 64))), 128))
2353
2357
  ])),
2354
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2358
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2355
2359
  key: `xLabel_line_${c}`
2356
2360
  }, [
2357
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2358
- key: `xLabel_line_${c}_${d}`
2361
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2362
+ key: `xLabel_line_${c}_${g}`
2359
2363
  }, [
2360
- n && d === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2364
+ n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2361
2365
  key: 0,
2362
2366
  x: n.x - l.fontSizes.plotLabels,
2363
2367
  y: n.y,
@@ -2372,9 +2376,9 @@ function Xr(r, o, u, f, l, e) {
2372
2376
  y: n.y,
2373
2377
  maxWords: 2
2374
2378
  }),
2375
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2379
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2376
2380
  }, null, 12, er)) : h("", !0),
2377
- n && d === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2381
+ n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2378
2382
  key: 1,
2379
2383
  x: n.x + l.fontSizes.plotLabels,
2380
2384
  y: n.y,
@@ -2389,17 +2393,17 @@ function Xr(r, o, u, f, l, e) {
2389
2393
  y: n.y,
2390
2394
  maxWords: 2
2391
2395
  }),
2392
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2396
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2393
2397
  }, null, 12, tr)) : h("", !0)
2394
2398
  ], 64))), 128))
2395
2399
  ], 64))), 128)),
2396
- (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2400
+ (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2397
2401
  key: `xLabel_plot_${c}`
2398
2402
  }, [
2399
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2400
- key: `xLabel_plot_${c}_${d}`
2403
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2404
+ key: `xLabel_plot_${c}_${g}`
2401
2405
  }, [
2402
- n && d === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2406
+ n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2403
2407
  key: 0,
2404
2408
  x: n.x - l.fontSizes.plotLabels,
2405
2409
  y: n.y,
@@ -2414,9 +2418,9 @@ function Xr(r, o, u, f, l, e) {
2414
2418
  y: n.y,
2415
2419
  maxWords: 2
2416
2420
  }),
2417
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2421
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2418
2422
  }, null, 12, lr)) : h("", !0),
2419
- n && d === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2423
+ n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2420
2424
  key: 1,
2421
2425
  x: n.x + l.fontSizes.plotLabels,
2422
2426
  y: n.y,
@@ -2431,13 +2435,13 @@ function Xr(r, o, u, f, l, e) {
2431
2435
  y: n.y,
2432
2436
  maxWords: 2
2433
2437
  }),
2434
- style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2438
+ style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2435
2439
  }, null, 12, rr)) : h("", !0)
2436
2440
  ], 64))), 128))
2437
2441
  ], 64))), 128)),
2438
- l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (i(), s(g, { key: 11 }, [
2442
+ l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (i(), s(u, { key: 11 }, [
2439
2443
  I("defs", null, [
2440
- (i(!0), s(g, null, x(e.allScales, (t, c) => (i(), s("linearGradient", {
2444
+ (i(!0), s(u, null, x(e.allScales, (t, c) => (i(), s("linearGradient", {
2441
2445
  id: `individual_scale_gradient_${l.uniqueId}_${c}`,
2442
2446
  x1: "0%",
2443
2447
  x2: "100%",
@@ -2456,7 +2460,7 @@ function Xr(r, o, u, f, l, e) {
2456
2460
  }, null, 8, sr)
2457
2461
  ], 8, ar))), 256))
2458
2462
  ]),
2459
- (i(!0), s(g, null, x(e.allScales, (t, c) => (i(), s("rect", {
2463
+ (i(!0), s(u, null, x(e.allScales, (t, c) => (i(), s("rect", {
2460
2464
  x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2461
2465
  y: e.drawingArea.top,
2462
2466
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
@@ -2485,7 +2489,7 @@ function Xr(r, o, u, f, l, e) {
2485
2489
  }, V(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, or)) : h("", !0)
2486
2490
  ]),
2487
2491
  e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", hr, [
2488
- r.$slots["time-label"] ? (i(!0), s(g, { key: 0 }, x(e.timeLabels, (t, c) => O(r.$slots, "time-label", se({
2492
+ r.$slots["time-label"] ? (i(!0), s(u, { key: 0 }, x(e.timeLabels, (t, c) => G(r.$slots, "time-label", se({
2489
2493
  key: `time_label_${c}`,
2490
2494
  ref_for: !0
2491
2495
  }, {
@@ -2498,10 +2502,10 @@ function Xr(r, o, u, f, l, e) {
2498
2502
  content: t.text,
2499
2503
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2500
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
2501
- }), void 0, !0)), 128)) : (i(!0), s(g, { key: 1 }, x(e.timeLabels, (t, c) => (i(), s("g", {
2505
+ }), void 0, !0)), 128)) : (i(!0), s(u, { key: 1 }, x(e.timeLabels, (t, c) => (i(), s("g", {
2502
2506
  key: `time_label_${c}`
2503
2507
  }, [
2504
- 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(g, { 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 ? (i(), s(u, { key: 0 }, [
2505
2509
  String(t.text).includes(`
2506
2510
  `) ? (i(), s("text", {
2507
2511
  key: 1,
@@ -2509,7 +2513,7 @@ function Xr(r, o, u, f, l, e) {
2509
2513
  "font-size": l.fontSizes.xAxis,
2510
2514
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2511
2515
  transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2512
- style: F({
2516
+ style: _({
2513
2517
  cursor: e.usesSelectTimeLabelEvent() ? "pointer" : "default"
2514
2518
  }),
2515
2519
  innerHTML: e.createTSpansFromLineBreaksOnX({
@@ -2526,7 +2530,7 @@ function Xr(r, o, u, f, l, e) {
2526
2530
  "font-size": l.fontSizes.xAxis,
2527
2531
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2528
2532
  transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2529
- style: F({
2533
+ style: _({
2530
2534
  cursor: e.usesSelectTimeLabelEvent() ? "pointer" : "default"
2531
2535
  }),
2532
2536
  onClick: () => e.selectTimeLabel(t, c)
@@ -2535,7 +2539,7 @@ function Xr(r, o, u, f, l, e) {
2535
2539
  ]))), 128))
2536
2540
  ])) : h("", !0),
2537
2541
  e.annotationsY.length && !l.mutableConfig.isStacked ? (i(), s("g", gr, [
2538
- (i(!0), s(g, null, x(e.annotationsY, (t) => (i(), s("g", {
2542
+ (i(!0), s(u, null, x(e.annotationsY, (t) => (i(), s("g", {
2539
2543
  key: t.uid
2540
2544
  }, [
2541
2545
  t.yTop && t.show ? (i(), s("line", {
@@ -2588,7 +2592,7 @@ function Xr(r, o, u, f, l, e) {
2588
2592
  ]))), 128))
2589
2593
  ])) : h("", !0),
2590
2594
  I("g", null, [
2591
- (i(!0), s(g, null, x(e.maxSeries, (t, c) => (i(), s("rect", {
2595
+ (i(!0), s(u, null, x(e.maxSeries, (t, c) => (i(), s("rect", {
2592
2596
  key: `tooltip_trap_${c}`,
2593
2597
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
2594
2598
  y: e.drawingArea.top,
@@ -2610,7 +2614,7 @@ function Xr(r, o, u, f, l, e) {
2610
2614
  }, [
2611
2615
  I("div", {
2612
2616
  class: "vue-ui-xy-time-tag",
2613
- style: F(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2617
+ style: _(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2614
2618
  }, V(e.timeLabels[(l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)].text || (l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)), 5)
2615
2619
  ], 8, Fr)),
2616
2620
  I("circle", {
@@ -2621,37 +2625,37 @@ function Xr(r, o, u, f, l, e) {
2621
2625
  }, null, 8, _r)
2622
2626
  ])) : h("", !0)
2623
2627
  ])) : h("", !0),
2624
- O(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2628
+ G(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2625
2629
  ], 14, dt)) : h("", !0),
2626
2630
  r.$slots.watermark ? (i(), s("div", Ar, [
2627
- O(r.$slots, "watermark", $(ee({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2631
+ G(r.$slots, "watermark", $(ee({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2628
2632
  ])) : h("", !0),
2629
- (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2633
+ (i(!0), s(u, null, x(e.lineSet, (t, c) => (i(), s(u, {
2630
2634
  key: `tag_line_${c}`
2631
2635
  }, [
2632
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2633
- key: `tag_line_${c}_${d}`
2636
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2637
+ key: `tag_line_${c}_${g}`
2634
2638
  }, [
2635
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && 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 ? (i(), s("div", {
2636
2640
  key: 0,
2637
2641
  ref_for: !0,
2638
- ref: (p) => e.setTagRef(c, d, p, "right", "line"),
2642
+ ref: (p) => e.setTagRef(c, g, p, "right", "line"),
2639
2643
  class: "vue-ui-xy-tag",
2640
2644
  "data-tag": "right",
2641
- style: F({
2645
+ style: _({
2642
2646
  position: "fixed",
2643
2647
  top: e.placeXYTag({
2644
2648
  svgElement: l.svgRef,
2645
2649
  x: e.drawingArea.right + e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2646
2650
  y: n.y,
2647
- element: l.tagRefs[`${c}_${d}_right_line`],
2651
+ element: l.tagRefs[`${c}_${g}_right_line`],
2648
2652
  position: "right"
2649
2653
  }).top + "px",
2650
2654
  left: e.placeXYTag({
2651
2655
  svgElement: l.svgRef,
2652
2656
  x: e.drawingArea.right + e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2653
2657
  y: n.y,
2654
- element: l.tagRefs[`${c}_${d}_right_line`],
2658
+ element: l.tagRefs[`${c}_${g}_right_line`],
2655
2659
  position: "right"
2656
2660
  }).left + "px",
2657
2661
  height: "fit-content",
@@ -2678,32 +2682,32 @@ function Xr(r, o, u, f, l, e) {
2678
2682
  t.name,
2679
2683
  {
2680
2684
  datapoint: n,
2681
- seriesIndex: d,
2685
+ seriesIndex: g,
2682
2686
  serieName: t.name
2683
2687
  }
2684
2688
  )
2685
2689
  }, null, 8, Cr)
2686
2690
  ], 4)) : h("", !0),
2687
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && 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 ? (i(), s("div", {
2688
2692
  key: 1,
2689
2693
  ref_for: !0,
2690
- ref: (p) => e.setTagRef(c, d, p, "left", "line"),
2694
+ ref: (p) => e.setTagRef(c, g, p, "left", "line"),
2691
2695
  class: "vue-ui-xy-tag",
2692
2696
  "data-tag": "left",
2693
- style: F({
2697
+ style: _({
2694
2698
  position: "fixed",
2695
2699
  top: e.placeXYTag({
2696
2700
  svgElement: l.svgRef,
2697
2701
  x: e.drawingArea.left - e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2698
2702
  y: n.y,
2699
- element: l.tagRefs[`${c}_${d}_left_line`],
2703
+ element: l.tagRefs[`${c}_${g}_left_line`],
2700
2704
  position: "left"
2701
2705
  }).top + "px",
2702
2706
  left: e.placeXYTag({
2703
2707
  svgElement: l.svgRef,
2704
2708
  x: e.drawingArea.left - e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2705
2709
  y: n.y,
2706
- element: l.tagRefs[`${c}_${d}_left_line`],
2710
+ element: l.tagRefs[`${c}_${g}_left_line`],
2707
2711
  position: "left"
2708
2712
  }).left + "px",
2709
2713
  height: "fit-content",
@@ -2730,7 +2734,7 @@ function Xr(r, o, u, f, l, e) {
2730
2734
  t.name,
2731
2735
  {
2732
2736
  datapoint: n,
2733
- seriesIndex: d,
2737
+ seriesIndex: g,
2734
2738
  serieName: t.name
2735
2739
  }
2736
2740
  )
@@ -2738,32 +2742,32 @@ function Xr(r, o, u, f, l, e) {
2738
2742
  ], 4)) : h("", !0)
2739
2743
  ], 64))), 128))
2740
2744
  ], 64))), 128)),
2741
- (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2745
+ (i(!0), s(u, null, x(e.plotSet, (t, c) => (i(), s(u, {
2742
2746
  key: `tag_plot_${c}`
2743
2747
  }, [
2744
- (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2745
- key: `tag_plot_${c}_${d}`
2748
+ (i(!0), s(u, null, x(t.plots, (n, g) => (i(), s(u, {
2749
+ key: `tag_plot_${c}_${g}`
2746
2750
  }, [
2747
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && 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 ? (i(), s("div", {
2748
2752
  key: 0,
2749
2753
  ref_for: !0,
2750
- ref: (p) => e.setTagRef(c, d, p, "right", "plot"),
2754
+ ref: (p) => e.setTagRef(c, g, p, "right", "plot"),
2751
2755
  class: "vue-ui-xy-tag",
2752
2756
  "data-tag": "right",
2753
- style: F({
2757
+ style: _({
2754
2758
  position: "fixed",
2755
2759
  top: e.placeXYTag({
2756
2760
  svgElement: l.svgRef,
2757
2761
  x: e.drawingArea.right + e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2758
2762
  y: n.y,
2759
- element: l.tagRefs[`${c}_${d}_right_plot`],
2763
+ element: l.tagRefs[`${c}_${g}_right_plot`],
2760
2764
  position: "right"
2761
2765
  }).top + "px",
2762
2766
  left: e.placeXYTag({
2763
2767
  svgElement: l.svgRef,
2764
2768
  x: e.drawingArea.right + e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2765
2769
  y: n.y,
2766
- element: l.tagRefs[`${c}_${d}_right_plot`],
2770
+ element: l.tagRefs[`${c}_${g}_right_plot`],
2767
2771
  position: "right"
2768
2772
  }).left + "px",
2769
2773
  height: "fit-content",
@@ -2790,32 +2794,32 @@ function Xr(r, o, u, f, l, e) {
2790
2794
  t.name,
2791
2795
  {
2792
2796
  datapoint: n,
2793
- seriesIndex: d,
2797
+ seriesIndex: g,
2794
2798
  serieName: t.name
2795
2799
  }
2796
2800
  )
2797
2801
  }, null, 8, vr)
2798
2802
  ], 4)) : h("", !0),
2799
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && 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 ? (i(), s("div", {
2800
2804
  key: 1,
2801
2805
  ref_for: !0,
2802
- ref: (p) => e.setTagRef(c, d, p, "left", "plot"),
2806
+ ref: (p) => e.setTagRef(c, g, p, "left", "plot"),
2803
2807
  class: "vue-ui-xy-tag",
2804
2808
  "data-tag": "left",
2805
- style: F({
2809
+ style: _({
2806
2810
  position: "fixed",
2807
2811
  top: e.placeXYTag({
2808
2812
  svgElement: l.svgRef,
2809
2813
  x: e.drawingArea.left - e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2810
2814
  y: n.y,
2811
- element: l.tagRefs[`${c}_${d}_left_plot`],
2815
+ element: l.tagRefs[`${c}_${g}_left_plot`],
2812
2816
  position: "left"
2813
2817
  }).top + "px",
2814
2818
  left: e.placeXYTag({
2815
2819
  svgElement: l.svgRef,
2816
2820
  x: e.drawingArea.left - e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2817
2821
  y: n.y,
2818
- element: l.tagRefs[`${c}_${d}_left_plot`],
2822
+ element: l.tagRefs[`${c}_${g}_left_plot`],
2819
2823
  position: "left"
2820
2824
  }).left + "px",
2821
2825
  height: "fit-content",
@@ -2842,7 +2846,7 @@ function Xr(r, o, u, f, l, e) {
2842
2846
  t.name,
2843
2847
  {
2844
2848
  datapoint: n,
2845
- seriesIndex: d,
2849
+ seriesIndex: g,
2846
2850
  serieName: t.name
2847
2851
  }
2848
2852
  )
@@ -2850,7 +2854,7 @@ function Xr(r, o, u, f, l, e) {
2850
2854
  ], 4)) : h("", !0)
2851
2855
  ], 64))), 128))
2852
2856
  ], 64))), 128)),
2853
- e.isDataset ? h("", !0) : (i(), U(A, {
2857
+ e.isDataset ? h("", !0) : (i(), U(F, {
2854
2858
  key: 6,
2855
2859
  config: {
2856
2860
  type: "line",
@@ -2898,14 +2902,14 @@ function Xr(r, o, u, f, l, e) {
2898
2902
  end: l.slicer.end,
2899
2903
  "onUpdate:end": o[3] || (o[3] = (t) => l.slicer.end = t),
2900
2904
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2901
- refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...u.dataset.map((t) => e.largestTriangleThreeBucketsArray({ data: t.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2905
+ refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...d.dataset.map((t) => e.largestTriangleThreeBucketsArray({ data: t.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2902
2906
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
2903
2907
  enableSelectionDrag: e.FINAL_CONFIG.chart.zoom.enableSelectionDrag,
2904
2908
  onReset: e.refreshSlicer,
2905
2909
  onTrapMouse: e.selectMinimapIndex
2906
2910
  }, {
2907
2911
  "reset-action": B(({ reset: t }) => [
2908
- O(r.$slots, "reset-action", $(ee({ reset: t })), void 0, !0)
2912
+ G(r.$slots, "reset-action", $(ee({ reset: t })), void 0, !0)
2909
2913
  ]),
2910
2914
  _: 3
2911
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),
@@ -2913,9 +2917,9 @@ function Xr(r, o, u, f, l, e) {
2913
2917
  key: 8,
2914
2918
  ref: "chartLegend",
2915
2919
  class: "vue-ui-xy-legend",
2916
- style: F(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2920
+ style: _(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2917
2921
  }, [
2918
- (i(!0), s(g, null, x(e.absoluteDataset, (t, c) => (i(), s("div", {
2922
+ (i(!0), s(u, null, x(e.absoluteDataset, (t, c) => (i(), s("div", {
2919
2923
  key: `div_legend_item_${c}`,
2920
2924
  onClick: (n) => e.segregate(t),
2921
2925
  class: j({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(t.id) })
@@ -2969,14 +2973,14 @@ function Xr(r, o, u, f, l, e) {
2969
2973
  }, null, 8, ["color", "shape"])
2970
2974
  ])),
2971
2975
  I("span", {
2972
- style: F(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2976
+ style: _(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2973
2977
  }, V(t.name), 5)
2974
2978
  ], 10, Tr))), 128))
2975
2979
  ], 4)) : (i(), s("div", Wr, [
2976
- O(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2980
+ G(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2977
2981
  ], 512)),
2978
2982
  r.$slots.source ? (i(), s("div", Er, [
2979
- O(r.$slots, "source", {}, void 0, !0)
2983
+ G(r.$slots, "source", {}, void 0, !0)
2980
2984
  ], 512)) : h("", !0),
2981
2985
  le(m, {
2982
2986
  show: l.mutableConfig.showTooltip && l.isTooltip,
@@ -2995,10 +2999,10 @@ function Xr(r, o, u, f, l, e) {
2995
2999
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2996
3000
  }, {
2997
3001
  "tooltip-before": B(() => [
2998
- O(r.$slots, "tooltip-before", $(ee({ ...e.dataTooltipSlot })), void 0, !0)
3002
+ G(r.$slots, "tooltip-before", $(ee({ ...e.dataTooltipSlot })), void 0, !0)
2999
3003
  ]),
3000
3004
  "tooltip-after": B(() => [
3001
- O(r.$slots, "tooltip-after", $(ee({ ...e.dataTooltipSlot })), void 0, !0)
3005
+ G(r.$slots, "tooltip-after", $(ee({ ...e.dataTooltipSlot })), void 0, !0)
3002
3006
  ]),
3003
3007
  _: 3
3004
3008
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -3020,7 +3024,7 @@ function Xr(r, o, u, f, l, e) {
3020
3024
  }, {
3021
3025
  content: B(() => [
3022
3026
  I("div", {
3023
- style: F(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3027
+ style: _(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3024
3028
  }, [
3025
3029
  I("div", Yr, [
3026
3030
  tt(I("input", {
@@ -3033,7 +3037,7 @@ function Xr(r, o, u, f, l, e) {
3033
3037
  onClick: o[5] || (o[5] = (t) => l.showSparklineTable = !l.showSparklineTable),
3034
3038
  style: { cursor: "pointer" }
3035
3039
  }, [
3036
- le(y, {
3040
+ le(L, {
3037
3041
  name: "chartLine",
3038
3042
  size: 20,
3039
3043
  stroke: e.FINAL_CONFIG.chart.color
@@ -3072,7 +3076,7 @@ function Xr(r, o, u, f, l, e) {
3072
3076
  }, 8, ["config"])) : h("", !0)
3073
3077
  ], 46, ht);
3074
3078
  }
3075
- const la = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-2bc488d7"]]);
3079
+ const la = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-13d6c4c3"]]);
3076
3080
  export {
3077
3081
  la as default
3078
3082
  };