vue-data-ui 2.12.8-beta.0 → 2.12.8-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 (90) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-Begrokq7.js → Arrow-BZERXYRS.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Bv2uNiEh.js → BaseDraggableDialog-CsxEDFbY.js} +2 -2
  4. package/dist/{BaseIcon-XIa0f-Mr.js → BaseIcon-C8g0bTnH.js} +1 -1
  5. package/dist/{ColorPicker-C6B6_1m7.js → ColorPicker-RCAns9t0.js} +2 -2
  6. package/dist/{DataTable-D_6mRvBF.js → DataTable-DN8VsGNp.js} +2 -2
  7. package/dist/{Legend-Dd5n-0Pf.js → Legend-B3x9Et6h.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-D-s8OoR_.js → NonSvgPenAndPaper-D9ieEyKs.js} +3 -3
  9. package/dist/{PackageVersion-1rK9gP6-.js → PackageVersion-CFpmup6M.js} +1 -1
  10. package/dist/{PenAndPaper-7V7dCIkp.js → PenAndPaper-BrIjEzie.js} +3 -3
  11. package/dist/{Shape-hCoeVfP-.js → Shape-CtkpE63a.js} +1 -1
  12. package/dist/{Slicer-Dc_wXmnM.js → Slicer-COOEkKtu.js} +2 -2
  13. package/dist/{SparkTooltip-CPFIYl-J.js → SparkTooltip-4iy6SPsL.js} +1 -1
  14. package/dist/{Title-BAoHGtcB.js → Title-BEQiIKjn.js} +1 -1
  15. package/dist/{Tooltip-DjvCeCjH.js → Tooltip-R_tsQZO3.js} +1 -1
  16. package/dist/{UserOptions-4dzYbEVO.js → UserOptions-CIOyDPmN.js} +1 -1
  17. package/dist/{dom-to-png-DQwhHARV.js → dom-to-png-CUCFZVax.js} +1 -1
  18. package/dist/{img-BaGj0aBg.js → img-DG5CAMFC.js} +1 -1
  19. package/dist/{index-BremWri3.js → index-_gtZv10q.js} +265 -260
  20. package/dist/{pdf-po65pW_H.js → pdf-CTRFaSN8.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +40 -0
  23. package/dist/types/vue-data-ui.d.ts +40 -0
  24. package/dist/{useNestedProp-C6u6AFLA.js → useNestedProp-Bz6Z0t8M.js} +1 -1
  25. package/dist/{usePrinter-Dmp61Ou4.js → usePrinter-LFM5suk6.js} +2 -2
  26. package/dist/{vue-data-ui-BFAHs3ZM.js → vue-data-ui-DdACgPWc.js} +63 -63
  27. package/dist/vue-data-ui.js +6 -5
  28. package/dist/{vue-ui-3d-bar-D_eIOiGC.js → vue-ui-3d-bar-BJNtd28w.js} +5 -5
  29. package/dist/{vue-ui-accordion-BmV3Soe8.js → vue-ui-accordion-DFfQ5rpF.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-D67lsKed.js → vue-ui-age-pyramid-DHs_TL8y.js} +5 -5
  31. package/dist/{vue-ui-annotator-L4b8ifA8.js → vue-ui-annotator-CuPdtRUq.js} +2 -2
  32. package/dist/{vue-ui-bullet-KsO3_fLe.js → vue-ui-bullet-3TXSEM2Y.js} +6 -6
  33. package/dist/{vue-ui-candlestick-BjfWOJt6.js → vue-ui-candlestick-IcQJ9_WS.js} +6 -6
  34. package/dist/{vue-ui-carousel-table-CqQV3rcN.js → vue-ui-carousel-table-DX7aRcCS.js} +4 -4
  35. package/dist/{vue-ui-chestnut-CKB6pEAV.js → vue-ui-chestnut-m-FVZD8y.js} +4 -4
  36. package/dist/{vue-ui-chord-BUr1i5rD.js → vue-ui-chord-DrvRDAyr.js} +7 -7
  37. package/dist/{vue-ui-circle-pack-D7pSdGUW.js → vue-ui-circle-pack-CkNvMtLt.js} +5 -5
  38. package/dist/{vue-ui-cursor-d6C_52JH.js → vue-ui-cursor-DxvPYJ2Y.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BL9YpBgs.js → vue-ui-dashboard-CygrXSEE.js} +62 -62
  40. package/dist/{vue-ui-digits-CXAe8YTh.js → vue-ui-digits-C-WSlGoq.js} +2 -2
  41. package/dist/{vue-ui-donut-Da2wTvb1.js → vue-ui-donut-CHoBqz39.js} +7 -7
  42. package/dist/{vue-ui-donut-evolution-BAtkXt7m.js → vue-ui-donut-evolution-D-ls2LUq.js} +7 -7
  43. package/dist/{vue-ui-dumbbell-DAuZEfZ0.js → vue-ui-dumbbell-BnwCfYOJ.js} +6 -6
  44. package/dist/{vue-ui-flow-DCkrH0Bi.js → vue-ui-flow-09xAMehp.js} +6 -6
  45. package/dist/{vue-ui-funnel-CFX1g4uo.js → vue-ui-funnel-DOrXAsbx.js} +5 -5
  46. package/dist/{vue-ui-galaxy-A6oHO71b.js → vue-ui-galaxy-BMXyhvCe.js} +4 -4
  47. package/dist/{vue-ui-gauge-BTcmwcRP.js → vue-ui-gauge-DkJVRsqL.js} +5 -5
  48. package/dist/{vue-ui-gizmo-D1GJ6I16.js → vue-ui-gizmo-EISlXvOs.js} +3 -3
  49. package/dist/{vue-ui-heatmap-DzO4ujEW.js → vue-ui-heatmap-B3dgboHu.js} +6 -6
  50. package/dist/{vue-ui-history-plot-D6kj-ODX.js → vue-ui-history-plot-GZwvTkfa.js} +6 -6
  51. package/dist/{vue-ui-kpi-l76Pe2Wr.js → vue-ui-kpi-Dyuf4jAg.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DZN1ulnN.js → vue-ui-mini-loader-B2gkvvEB.js} +2 -2
  53. package/dist/{vue-ui-molecule-BLIy8yaX.js → vue-ui-molecule-DFTLY4ad.js} +4 -4
  54. package/dist/{vue-ui-mood-radar-DnCc3kIZ.js → vue-ui-mood-radar-CQlhpdhp.js} +6 -6
  55. package/dist/{vue-ui-nested-donuts-DObnhcqK.js → vue-ui-nested-donuts-BVS8QHol.js} +6 -6
  56. package/dist/{vue-ui-onion-DnW_6bhb.js → vue-ui-onion-BVdWS8RK.js} +6 -6
  57. package/dist/{vue-ui-parallel-coordinate-plot-DRgu1Fyl.js → vue-ui-parallel-coordinate-plot-crvd8Pln.js} +7 -7
  58. package/dist/{vue-ui-quadrant-PHdDte2u.js → vue-ui-quadrant-CREePTU2.js} +7 -7
  59. package/dist/{vue-ui-quick-chart-BGZBo_t1.js → vue-ui-quick-chart-DeaiKdlr.js} +5 -5
  60. package/dist/{vue-ui-radar-CnwVYdgf.js → vue-ui-radar-BIL-3GUR.js} +6 -6
  61. package/dist/{vue-ui-rating-ypVshLAy.js → vue-ui-rating-BpU03_iR.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-DUK6rkgt.js → vue-ui-relation-circle-BRUFM-tU.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-bR2uN-qR.js → vue-ui-ridgeline-B4BGITxs.js} +7 -7
  64. package/dist/{vue-ui-rings-D_YeqlHs.js → vue-ui-rings-DZTUSyr7.js} +7 -7
  65. package/dist/{vue-ui-scatter-DttL3ZJ1.js → vue-ui-scatter-DG1k85e_.js} +7 -7
  66. package/dist/{vue-ui-skeleton-aVLDmZTH.js → vue-ui-skeleton-g2ChSAKh.js} +3 -3
  67. package/dist/{vue-ui-smiley-CYqZMhG1.js → vue-ui-smiley-BlPJI-D9.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-wwiRpEyD.js → vue-ui-spark-trend-DhZ3csGm.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-DQVKOfK7.js → vue-ui-sparkbar-cJJWCLiJ.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DRQ1YQxA.js → vue-ui-sparkgauge-ByCUh-P0.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-BcN-Dkv3.js → vue-ui-sparkhistogram-B3q-6W-d.js} +4 -4
  72. package/dist/{vue-ui-sparkline-BkTBa-WB.js → vue-ui-sparkline-ZMAOSesx.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-cjxsoy3X.js → vue-ui-sparkstackbar-BDVSCmGl.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BmGtaZ9E.js → vue-ui-stackbar-BY3AQz0l.js} +8 -8
  75. package/dist/{vue-ui-strip-plot-W5ekcImb.js → vue-ui-strip-plot-DpmUR3PK.js} +6 -6
  76. package/dist/{vue-ui-table-YUMUh2rC.js → vue-ui-table-DpFMZ4rJ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-JdXDFFCY.js → vue-ui-table-heatmap-4GOzV-IT.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-Cg3Nu51t.js → vue-ui-table-sparkline-1TrSrWvU.js} +4 -4
  79. package/dist/{vue-ui-thermometer-BVdXXO4w.js → vue-ui-thermometer-CZIMCIDI.js} +5 -5
  80. package/dist/{vue-ui-timer-HXgFMM4m.js → vue-ui-timer-C8VQR1EN.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DZEkVSB-.js → vue-ui-tiremarks-DfCCzbZ-.js} +5 -5
  82. package/dist/{vue-ui-treemap-DHXB3nvC.js → vue-ui-treemap-Buou4k4m.js} +7 -7
  83. package/dist/{vue-ui-vertical-bar-D3rSslfS.js → vue-ui-vertical-bar-D5NWJ0Ah.js} +8 -8
  84. package/dist/{vue-ui-waffle-CVL0rDPF.js → vue-ui-waffle-Cs77FlO0.js} +7 -7
  85. package/dist/{vue-ui-wheel-C8DSdgg_.js → vue-ui-wheel-Oik-vORz.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-s-VckRia.js → vue-ui-word-cloud-a4kmpLK9.js} +5 -5
  87. package/dist/{vue-ui-world-984llGCO.js → vue-ui-world-CNDCD1yU.js} +5 -5
  88. package/dist/{vue-ui-xy-CGM6LPGd.js → vue-ui-xy-BTe1HiZx.js} +709 -708
  89. package/dist/{vue-ui-xy-canvas-BkBlyBFV.js → vue-ui-xy-canvas-BS0jWsyQ.js} +7 -7
  90. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { Q as H, Z, a7 as le, a8 as K, a9 as re, aa as ae, ab as ie, ac as se, ad as ne, c as J, A as ce, F as oe, w as he, s as ue, o as de, a1 as ge, ae as fe, x as Ie, C as Ne, y as me, a6 as be, e as xe, r as Fe, f as Q, af as _e, T as ye, U as Ae, q as Le, b as Ce, z as Se, d as ke, ag as we, v as Oe, ah as Ge, a4 as ve, ai as pe, i as ze, G as Me, K as Te, u as Pe, p as Ve, B as Re, a as He, t as De } from "./index-BremWri3.js";
2
- import { u as We } from "./useMouse-AicQS8Vf.js";
3
- import { u as j } from "./useNestedProp-C6u6AFLA.js";
4
- import { defineAsyncComponent as E, resolveComponent as R, createElementBlock as i, openBlock as a, normalizeStyle as x, normalizeClass as B, createBlock as W, createCommentVNode as d, createVNode as U, createSlots as Ee, withCtx as V, renderSlot as S, normalizeProps as Y, guardReactiveProps as q, createElementVNode as f, createTextVNode as $, Fragment as u, renderList as I, toDisplayString as T, mergeProps as ee, withDirectives as Be, vModelCheckbox as Ye } from "vue";
5
- import { S as qe } from "./Slicer-Dc_wXmnM.js";
6
- import Xe from "./Title-BAoHGtcB.js";
7
- import { _ as Ue } from "./Shape-hCoeVfP-.js";
8
- import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const Je = J(), Ke = {
1
+ import { Q as H, Z, a7 as le, a8 as K, a9 as ae, aa as ie, ab as re, ac as se, ad as ne, c as J, A as ce, F as oe, w as he, s as ue, o as de, a1 as ge, ae as fe, x as Ie, C as Ne, y as me, a6 as xe, e as be, r as Fe, f as Q, af as _e, T as Ae, U as ye, q as Le, b as Ce, z as Se, d as ke, ag as Oe, v as we, ah as Ge, D as ve, a4 as pe, ai as Me, i as ze, G as Te, K as Pe, u as Ve, p as Re, B as He, a as De, t as We } from "./index-_gtZv10q.js";
2
+ import { u as Ee } from "./useMouse-AicQS8Vf.js";
3
+ import { u as j } from "./useNestedProp-Bz6Z0t8M.js";
4
+ import { defineAsyncComponent as E, resolveComponent as R, createElementBlock as r, openBlock as i, normalizeStyle as b, normalizeClass as B, createBlock as W, createCommentVNode as g, createVNode as U, createSlots as Be, withCtx as V, renderSlot as S, normalizeProps as Y, guardReactiveProps as q, createElementVNode as f, createTextVNode as $, Fragment as u, renderList as I, toDisplayString as T, mergeProps as ee, withDirectives as Ye, vModelCheckbox as qe } from "vue";
5
+ import { S as Xe } from "./Slicer-COOEkKtu.js";
6
+ import Ue from "./Title-BEQiIKjn.js";
7
+ import { _ as Ze } from "./Shape-CtkpE63a.js";
8
+ import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const Ke = J(), Qe = {
10
10
  name: "vue-ui-xy",
11
11
  props: {
12
12
  config: {
@@ -23,46 +23,46 @@ const Je = J(), Ke = {
23
23
  }
24
24
  },
25
25
  components: {
26
- Slicer: qe,
26
+ Slicer: Xe,
27
27
  // Must be ready in responsive mode
28
- Title: Xe,
28
+ Title: Ue,
29
29
  // Must be ready in responsive mode
30
- Shape: Ue,
31
- DataTable: E(() => import("./DataTable-D_6mRvBF.js")),
32
- Tooltip: E(() => import("./Tooltip-DjvCeCjH.js")),
33
- UserOptions: E(() => import("./UserOptions-4dzYbEVO.js")),
34
- BaseIcon: E(() => import("./BaseIcon-XIa0f-Mr.js")),
35
- TableSparkline: E(() => import("./vue-ui-table-sparkline-Cg3Nu51t.js")),
36
- Skeleton: E(() => import("./vue-ui-skeleton-aVLDmZTH.js")),
37
- Accordion: E(() => import("./vue-ui-accordion-BmV3Soe8.js")),
38
- PackageVersion: E(() => import("./PackageVersion-1rK9gP6-.js")),
39
- PenAndPaper: E(() => import("./PenAndPaper-7V7dCIkp.js"))
30
+ Shape: Ze,
31
+ DataTable: E(() => import("./DataTable-DN8VsGNp.js")),
32
+ Tooltip: E(() => import("./Tooltip-R_tsQZO3.js")),
33
+ UserOptions: E(() => import("./UserOptions-CIOyDPmN.js")),
34
+ BaseIcon: E(() => import("./BaseIcon-C8g0bTnH.js")),
35
+ TableSparkline: E(() => import("./vue-ui-table-sparkline-1TrSrWvU.js")),
36
+ Skeleton: E(() => import("./vue-ui-skeleton-g2ChSAKh.js")),
37
+ Accordion: E(() => import("./vue-ui-accordion-DFfQ5rpF.js")),
38
+ PackageVersion: E(() => import("./PackageVersion-CFpmup6M.js")),
39
+ PenAndPaper: E(() => import("./PenAndPaper-BrIjEzie.js"))
40
40
  },
41
41
  data() {
42
- this.dataset.forEach((g, l) => {
43
- [null, void 0].includes(g.series) && this.error({
42
+ this.dataset.forEach((d, l) => {
43
+ [null, void 0].includes(d.series) && this.error({
44
44
  componentName: "VueUiXy",
45
45
  type: "datasetSerieAttribute",
46
46
  property: "series (number[])",
47
47
  index: l
48
48
  });
49
49
  });
50
- const t = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((g) => this.largestTriangleThreeBucketsArray({ data: g.series, threshold: t }).length)), o = {
50
+ const t = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({ data: d.series, threshold: t }).length)), o = {
51
51
  start: 0,
52
52
  end: s
53
53
  };
54
54
  return {
55
55
  resizeObserver: null,
56
56
  observedEl: null,
57
- themePalettes: De,
58
- themes: He,
57
+ themePalettes: We,
58
+ themes: De,
59
59
  slicerStep: 0,
60
60
  selectedScale: null,
61
61
  CTX: null,
62
62
  CANVAS: null,
63
- opacity: Re,
63
+ opacity: He,
64
64
  useSafeValues: !0,
65
- palette: Ve,
65
+ palette: Re,
66
66
  height: 600,
67
67
  width: 1e3,
68
68
  viewBox: "0 0 1000 600",
@@ -105,7 +105,7 @@ const Je = J(), Ke = {
105
105
  maxX: s,
106
106
  showSparklineTable: !0,
107
107
  segregateStep: 0,
108
- sliderId: Je,
108
+ sliderId: Ke,
109
109
  fontSizes: {
110
110
  xAxis: 18,
111
111
  yAxis: 12,
@@ -169,9 +169,9 @@ const Je = J(), Ke = {
169
169
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
170
170
  const t = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), s = Math.max(...t.map((l) => l.series.length)), o = [];
171
171
  for (let l = 0; l < s; l += 1)
172
- o.push(t.map((e) => e.series[l] || 0).reduce((e, A) => (e || 0) + (A || 0), 0));
173
- const g = Math.min(...o);
174
- return o.map((l) => l + (g < 0 ? Math.abs(g) : 0));
172
+ o.push(t.map((e) => e.series[l] || 0).reduce((e, _) => (e || 0) + (_ || 0), 0));
173
+ const d = Math.min(...o);
174
+ return o.map((l) => l + (d < 0 ? Math.abs(d) : 0));
175
175
  },
176
176
  customPalette() {
177
177
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -218,8 +218,8 @@ const Je = J(), Ke = {
218
218
  id: e.id,
219
219
  yOffset: e.yOffset || 0,
220
220
  individualHeight: e.individualHeight || this.drawingArea.height
221
- })), g = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...t, ...s, ...o], l = g.flatMap((e) => e).length;
222
- return g.flatMap((e, A) => ({
221
+ })), d = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...t, ...s, ...o], l = d.flatMap((e) => e).length;
222
+ return d.flatMap((e, _) => ({
223
223
  unique: e.unique,
224
224
  id: e.id,
225
225
  groupId: e.groupId,
@@ -229,10 +229,10 @@ const Je = J(), Ke = {
229
229
  scale: e.scale,
230
230
  yOffset: e.yOffset,
231
231
  individualHeight: e.individualHeight,
232
- x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (A + 1),
233
- yLabels: e.scaleYLabels || e.scale.ticks.map((b) => ({
234
- y: b >= 0 ? e.zero - e.individualHeight * (b / e.max) : e.zero + e.individualHeight * Math.abs(b) / e.max,
235
- value: b
232
+ x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (_ + 1),
233
+ yLabels: e.scaleYLabels || e.scale.ticks.map((m) => ({
234
+ y: m >= 0 ? e.zero - e.individualHeight * (m / e.max) : e.zero + e.individualHeight * Math.abs(m) / e.max,
235
+ value: m
236
236
  }))
237
237
  }));
238
238
  },
@@ -287,14 +287,14 @@ const Je = J(), Ke = {
287
287
  const o = this.largestTriangleThreeBucketsArray({
288
288
  data: t.series,
289
289
  threshold: this.FINAL_CONFIG.downsample.threshold
290
- }), g = `uniqueId_${s}`;
290
+ }), d = `uniqueId_${s}`;
291
291
  return {
292
292
  ...t,
293
293
  slotAbsoluteIndex: s,
294
294
  series: o.map((l) => this.isSafeValue(l) ? l : null).slice(this.slicer.start, this.slicer.end),
295
295
  color: this.convertColorToHex(t.color ? t.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
296
- id: g,
297
- scaleLabel: t.scaleLabel || g
296
+ id: d,
297
+ scaleLabel: t.scaleLabel || d
298
298
  };
299
299
  }) : this.dataset;
300
300
  },
@@ -360,8 +360,8 @@ const Je = J(), Ke = {
360
360
  },
361
361
  scaleGroups() {
362
362
  const t = Object.groupBy(this.activeSeriesWithStackRatios, (o) => o.scaleLabel), s = {};
363
- for (const [o, g] of Object.entries(t)) {
364
- const l = g.flatMap((e) => e.absoluteValues);
363
+ for (const [o, d] of Object.entries(t)) {
364
+ const l = d.flatMap((e) => e.absoluteValues);
365
365
  s[o] = {
366
366
  min: Math.min(...l) || 0,
367
367
  max: Math.max(...l) || 1,
@@ -373,62 +373,62 @@ const Je = J(), Ke = {
373
373
  barSet() {
374
374
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, s) => {
375
375
  this.checkAutoScaleError(t);
376
- const o = this.scaleGroups[t.scaleLabel].min, g = this.scaleGroups[t.scaleLabel].max;
377
- t.absoluteValues.filter((_) => ![null, void 0].includes(_)).map((_) => (_ - o) / (g - o));
376
+ const o = this.scaleGroups[t.scaleLabel].min, d = this.scaleGroups[t.scaleLabel].max;
377
+ t.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - o) / (d - o));
378
378
  const l = {
379
379
  valueMin: o,
380
- valueMax: g < 0 ? 0 : g
380
+ valueMax: d < 0 ? 0 : d
381
381
  }, e = {
382
382
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
383
- min: t.scaleMin || Math.min(...t.absoluteValues.filter((_) => ![void 0, null].includes(_))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((_) => ![null, void 0].includes(_)))
384
- }, A = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, b = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * b : e.max, A), L = this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * b : l.valueMax, A), v = N.min >= 0 ? 0 : Math.abs(N.min), k = 0, w = N.max + v, O = L.max + Math.abs(k), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, G = this.drawingArea.bottom - F - C * v / w, p = this.drawingArea.bottom - F - C * k / O, r = this.absoluteDataset.filter((_) => _.type === "bar").filter((_) => !this.segregatedSeries.includes(_.id)).length, c = t.series.map((_, M) => {
385
- const X = this.mutableConfig.useIndividualScale ? (t.absoluteValues[M] + v) / w : this.ratioToMax(_), D = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left + this.slot.bar * s + this.slot.bar * M * r - this.barSlot / 2 - s * this.barPeriodGap;
383
+ min: t.scaleMin || Math.min(...t.absoluteValues.filter((A) => ![void 0, null].includes(A))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((A) => ![null, void 0].includes(A)))
384
+ }, _ = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, N = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(e.min, e.max === e.min ? e.max * m : e.max, _) : this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * m : e.max, _), L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * m : l.valueMax, _) : this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * m : l.valueMax, _), v = N.min >= 0 ? 0 : Math.abs(N.min), k = 0, O = N.max + v, w = L.max + Math.abs(k), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, G = this.drawingArea.bottom - F - C * v / O, p = this.drawingArea.bottom - F - C * k / w, a = this.absoluteDataset.filter((A) => A.type === "bar").filter((A) => !this.segregatedSeries.includes(A.id)).length, c = t.series.map((A, z) => {
385
+ const X = this.mutableConfig.useIndividualScale ? (t.absoluteValues[z] + v) / O : this.ratioToMax(A), D = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * z : this.drawingArea.left + this.slot.bar * s + this.slot.bar * z * a - this.barSlot / 2 - s * this.barPeriodGap;
386
386
  return {
387
387
  yOffset: this.checkNaN(F),
388
388
  individualHeight: this.checkNaN(C),
389
389
  x: this.checkNaN(D),
390
390
  y: this.drawingArea.bottom - F - C * X,
391
- value: t.absoluteValues[M],
391
+ value: t.absoluteValues[z],
392
392
  zeroPosition: this.checkNaN(G),
393
- individualMax: this.checkNaN(w),
394
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
393
+ individualMax: this.checkNaN(O),
394
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
395
395
  };
396
- }), n = t.absoluteValues.map((_) => L.min >= 0 ? (_ - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (_ + Math.abs(L.min)) / (L.max + Math.abs(L.min))), h = t.series.map((_, M) => {
397
- const X = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * M * this.absoluteDataset.filter((D) => D.type === "bar").filter((D) => !this.segregatedSeries.includes(D.id)).length;
396
+ }), n = t.absoluteValues.map((A) => L.min >= 0 ? (A - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (A + Math.abs(L.min)) / (L.max + Math.abs(L.min))), h = t.series.map((A, z) => {
397
+ const X = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * z : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * z * this.absoluteDataset.filter((D) => D.type === "bar").filter((D) => !this.segregatedSeries.includes(D.id)).length;
398
398
  return {
399
399
  yOffset: this.checkNaN(F),
400
400
  individualHeight: this.checkNaN(C),
401
401
  x: this.checkNaN(X),
402
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * n[M] || 0)),
403
- value: t.absoluteValues[M],
402
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * n[z] || 0)),
403
+ value: t.absoluteValues[z],
404
404
  zeroPosition: this.checkNaN(G),
405
- individualMax: this.checkNaN(w),
406
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
405
+ individualMax: this.checkNaN(O),
406
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
407
407
  };
408
- }), y = N.ticks.map((_) => ({
409
- y: _ >= 0 ? G - C * (_ / w) : G + C * Math.abs(_) / w,
410
- value: _,
408
+ }), y = N.ticks.map((A) => ({
409
+ y: A >= 0 ? G - C * (A / O) : G + C * Math.abs(A) / O,
410
+ value: A,
411
411
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
412
412
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
413
413
  datapoint: t
414
- })), z = L.ticks.map((_) => {
415
- const M = (_ - L.min) / (L.max - L.min);
414
+ })), M = L.ticks.map((A) => {
415
+ const z = (A - L.min) / (L.max - L.min);
416
416
  return {
417
- y: _ >= 0 ? p - C * M : p + C * M,
418
- value: _,
417
+ y: A >= 0 ? p - C * z : p + C * z,
418
+ value: A,
419
419
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
420
420
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
421
421
  datapoint: t
422
422
  };
423
423
  });
424
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? z : y, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : G, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : w, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = F, this.scaleGroups[t.scaleLabel].individualHeight = C, this.scaleGroups[t.scaleLabel].autoScaleYLabels = z, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((_) => _.scaleLabel === t.scaleLabel).length === 1, {
424
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : y, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : G, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : O, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = F, this.scaleGroups[t.scaleLabel].individualHeight = C, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((A) => A.scaleLabel === t.scaleLabel).length === 1, {
425
425
  ...t,
426
426
  yOffset: F,
427
- autoScaleYLabels: z,
427
+ autoScaleYLabels: M,
428
428
  individualHeight: C,
429
- scaleYLabels: t.autoScaling ? z : y,
429
+ scaleYLabels: t.autoScaling ? M : y,
430
430
  individualScale: t.autoScaling ? L : N,
431
- individualMax: t.autoScaling ? O : w,
431
+ individualMax: t.autoScaling ? w : O,
432
432
  zeroPosition: t.autoScaling ? p : G,
433
433
  plots: t.autoScaling ? h : c,
434
434
  groupId: this.scaleGroups[t.scaleLabel].groupId
@@ -439,57 +439,57 @@ const Je = J(), Ke = {
439
439
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
440
440
  this.checkAutoScaleError(t);
441
441
  const s = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
442
- t.absoluteValues.filter((m) => ![null, void 0].includes(m)).map((m) => (m - s) / (o - s));
443
- const g = {
442
+ t.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - s) / (o - s));
443
+ const d = {
444
444
  valueMin: s,
445
445
  valueMax: o
446
446
  }, l = {
447
447
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
448
448
  min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
449
- }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), N = this.calculateNiceScaleWithExactExtremes(g.valueMin, g.valueMax === g.valueMin ? g.valueMax * A : g.valueMax, e), L = b.min >= 0 ? 0 : Math.abs(b.min), v = 0, k = b.max + Math.abs(L), w = N.max + Math.abs(v), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - F * L / k, G = this.drawingArea.bottom - O - F * v / w, p = t.series.map((m, P) => {
450
- const te = this.mutableConfig.useIndividualScale ? (t.absoluteValues[P] + Math.abs(L)) / k : this.ratioToMax(m);
449
+ }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, m = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(l.min, l.max === l.min ? l.max * _ : l.max, e) : this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * _ : l.max, e), N = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e) : this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), L = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, k = m.max + Math.abs(L), O = N.max + Math.abs(v), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - w - F * L / k, G = this.drawingArea.bottom - w - F * v / O, p = t.series.map((x, P) => {
450
+ const te = this.mutableConfig.useIndividualScale ? (t.absoluteValues[P] + Math.abs(L)) / k : this.ratioToMax(x);
451
451
  return {
452
452
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
453
- y: this.checkNaN(this.drawingArea.bottom - O - F * te),
453
+ y: this.checkNaN(this.drawingArea.bottom - w - F * te),
454
454
  value: t.absoluteValues[P],
455
455
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
456
456
  };
457
- }), r = t.absoluteValues.map((m) => N.min >= 0 ? (m - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (m + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((m, P) => [void 0, null].includes(t.absoluteValues[P]) ? {
457
+ }), a = t.absoluteValues.map((x) => N.min >= 0 ? (x - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (x + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((x, P) => [void 0, null].includes(t.absoluteValues[P]) ? {
458
458
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
459
459
  y: C,
460
460
  value: t.absoluteValues[P],
461
461
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
462
462
  } : {
463
463
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
464
- y: this.checkNaN(this.drawingArea.bottom - O - (F * r[P] || 0)),
464
+ y: this.checkNaN(this.drawingArea.bottom - w - (F * a[P] || 0)),
465
465
  value: t.absoluteValues[P],
466
466
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
467
- }), n = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(p) : this.createSmoothPath(p.filter((m) => m.value !== null)), h = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(c) : this.createSmoothPath(c.filter((m) => m.value !== null)), y = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(p) : this.createStraightPath(p.filter((m) => m.value !== null)), z = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(c) : this.createStraightPath(c.filter((m) => m.value !== null)), _ = b.ticks.map((m) => ({
468
- y: m >= 0 ? C - F * (m / k) : C + F * Math.abs(m) / k,
469
- value: m,
467
+ }), n = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(p) : this.createSmoothPath(p.filter((x) => x.value !== null)), h = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(c) : this.createSmoothPath(c.filter((x) => x.value !== null)), y = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(p) : this.createStraightPath(p.filter((x) => x.value !== null)), M = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(c) : this.createStraightPath(c.filter((x) => x.value !== null)), A = m.ticks.map((x) => ({
468
+ y: x >= 0 ? C - F * (x / k) : C + F * Math.abs(x) / k,
469
+ value: x,
470
470
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
471
471
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
472
472
  datapoint: t
473
- })), M = N.ticks.map((m) => {
474
- const P = (m - N.min) / (N.max - N.min);
473
+ })), z = N.ticks.map((x) => {
474
+ const P = (x - N.min) / (N.max - N.min);
475
475
  return {
476
- y: m >= 0 ? G - F * P : G + F * P,
477
- value: m,
476
+ y: x >= 0 ? G - F * P : G + F * P,
477
+ value: x,
478
478
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
479
479
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
480
480
  datapoint: t
481
481
  };
482
482
  });
483
- this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : _, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = O, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((m) => m.scaleLabel === t.scaleLabel).length === 1;
484
- const X = this.mutableConfig.useIndividualScale ? t.autoScaling ? G : C : this.zero, D = Math.max(Math.max(t.autoScaling ? G : _.at(-1).y, this.drawingArea.top), X);
483
+ this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? z : A, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = w, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = z, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((x) => x.scaleLabel === t.scaleLabel).length === 1;
484
+ const X = this.mutableConfig.useIndividualScale ? t.autoScaling ? G : C : this.zero, D = Math.max(Math.max(t.autoScaling ? G : A.at(-1).y, this.drawingArea.top), X);
485
485
  return {
486
486
  ...t,
487
- yOffset: O,
488
- autoScaleYLabels: M,
487
+ yOffset: w,
488
+ autoScaleYLabels: z,
489
489
  individualHeight: F,
490
- scaleYLabels: t.autoScaling ? M : _,
491
- individualScale: t.autoScaling ? N : b,
492
- individualMax: t.autoScaling ? w : k,
490
+ scaleYLabels: t.autoScaling ? z : A,
491
+ individualScale: t.autoScaling ? N : m,
492
+ individualMax: t.autoScaling ? O : k,
493
493
  zeroPosition: t.autoScaling ? G : C,
494
494
  curve: t.autoScaling ? h : n,
495
495
  plots: t.autoScaling ? c : p,
@@ -497,15 +497,15 @@ const Je = J(), Ke = {
497
497
  t.autoScaling ? c : p,
498
498
  D
499
499
  ) : this.createIndividualArea(
500
- t.autoScaling ? c.filter((m) => m.value !== null) : p.filter((m) => m.value !== null),
500
+ t.autoScaling ? c.filter((x) => x.value !== null) : p.filter((x) => x.value !== null),
501
501
  D
502
- ) : this.createIndividualArea(p.filter((m) => m.value !== null), D) : "",
502
+ ) : this.createIndividualArea(p.filter((x) => x.value !== null), D) : "",
503
503
  curveAreas: t.useArea ? K(
504
- t.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? c : c.filter((m) => m.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? p : p.filter((m) => m.value !== null),
504
+ t.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? c : c.filter((x) => x.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? p : p.filter((x) => x.value !== null),
505
505
  D,
506
506
  this.FINAL_CONFIG.line.cutNullValues
507
507
  ) : [],
508
- straight: t.autoScaling ? z : y,
508
+ straight: t.autoScaling ? M : y,
509
509
  groupId: this.scaleGroups[t.scaleLabel].groupId
510
510
  };
511
511
  });
@@ -515,49 +515,49 @@ const Je = J(), Ke = {
515
515
  this.checkAutoScaleError(t);
516
516
  const s = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
517
517
  t.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (o - s));
518
- const g = {
518
+ const d = {
519
519
  valueMin: s,
520
520
  valueMax: o
521
521
  }, l = {
522
522
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
523
523
  min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
524
- }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), N = this.calculateNiceScaleWithExactExtremes(g.valueMin, g.valueMax === g.valueMin ? g.valueMax * A : g.valueMax, e), L = b.min >= 0 ? 0 : Math.abs(b.min), v = 0, k = b.max + L, w = N.max + Math.abs(v), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - F * L / k, G = this.drawingArea.bottom - O - F * v / w, p = t.series.map((y, z) => {
525
- const _ = this.mutableConfig.useIndividualScale ? (t.absoluteValues[z] + Math.abs(L)) / k : this.ratioToMax(y);
524
+ }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * _ : l.max, e), N = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), L = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, k = m.max + L, O = N.max + Math.abs(v), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - w - F * L / k, G = this.drawingArea.bottom - w - F * v / O, p = t.series.map((y, M) => {
525
+ const A = this.mutableConfig.useIndividualScale ? (t.absoluteValues[M] + Math.abs(L)) / k : this.ratioToMax(y);
526
526
  return {
527
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
528
- y: this.checkNaN(this.drawingArea.bottom - O - F * _),
529
- value: t.absoluteValues[z],
530
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
527
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
528
+ y: this.checkNaN(this.drawingArea.bottom - w - F * A),
529
+ value: t.absoluteValues[M],
530
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
531
531
  };
532
- }), r = t.absoluteValues.map((y) => N.min >= 0 ? (y - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (y + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((y, z) => ({
533
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
534
- y: this.checkNaN(this.drawingArea.bottom - O - (F * r[z] || 0)),
535
- value: t.absoluteValues[z],
536
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
537
- })), n = b.ticks.map((y) => ({
532
+ }), a = t.absoluteValues.map((y) => N.min >= 0 ? (y - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (y + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((y, M) => ({
533
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
534
+ y: this.checkNaN(this.drawingArea.bottom - w - (F * a[M] || 0)),
535
+ value: t.absoluteValues[M],
536
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
537
+ })), n = m.ticks.map((y) => ({
538
538
  y: y >= 0 ? C - F * (y / k) : C + F * Math.abs(y) / k,
539
539
  value: y,
540
540
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
541
541
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
542
542
  datapoint: t
543
543
  })), h = N.ticks.map((y) => {
544
- const z = (y - N.min) / (N.max - N.min);
544
+ const M = (y - N.min) / (N.max - N.min);
545
545
  return {
546
- y: y >= 0 ? G - F * z : G + F * z,
546
+ y: y >= 0 ? G - F * M : G + F * M,
547
547
  value: y,
548
548
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
549
549
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
550
550
  datapoint: t
551
551
  };
552
552
  });
553
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? h : n, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = O, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = h, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === t.scaleLabel).length === 1, {
553
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? h : n, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = w, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = h, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === t.scaleLabel).length === 1, {
554
554
  ...t,
555
- yOffset: O,
555
+ yOffset: w,
556
556
  autoScaleYLabels: h,
557
557
  individualHeight: F,
558
558
  scaleYLabels: t.autoScaling ? h : n,
559
- individualScale: t.autoScaling ? N : b,
560
- individualMax: t.autoScaling ? w : k,
559
+ individualScale: t.autoScaling ? N : m,
560
+ individualMax: t.autoScaling ? O : k,
561
561
  zeroPosition: t.autoScaling ? G : C,
562
562
  plots: t.autoScaling ? c : p,
563
563
  groupId: this.scaleGroups[t.scaleLabel].groupId
@@ -565,14 +565,14 @@ const Je = J(), Ke = {
565
565
  });
566
566
  },
567
567
  drawingArea() {
568
- function t(g) {
568
+ function t(d) {
569
569
  const l = /* @__PURE__ */ new Set();
570
- return g.forEach((e) => {
571
- const A = e.scaleLabel || "__noScaleLabel__";
572
- l.add(A);
570
+ return d.forEach((e) => {
571
+ const _ = e.scaleLabel || "__noScaleLabel__";
572
+ l.add(_);
573
573
  }), l.size;
574
574
  }
575
- const s = t(this.absoluteDataset.filter((g) => !this.segregatedSeries.includes(g.id))), o = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? s * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
575
+ const s = t(this.absoluteDataset.filter((d) => !this.segregatedSeries.includes(d.id))), o = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? s * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
576
576
  return {
577
577
  top: this.FINAL_CONFIG.chart.padding.top,
578
578
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
@@ -592,7 +592,7 @@ const Je = J(), Ke = {
592
592
  return t > 0 ? 0 : t;
593
593
  },
594
594
  niceScale() {
595
- return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
595
+ return this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps) : this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
596
596
  },
597
597
  maxSeries() {
598
598
  return this.slicer.end - this.slicer.start;
@@ -630,10 +630,10 @@ const Je = J(), Ke = {
630
630
  color: o.color,
631
631
  type: o.type
632
632
  })), s = [];
633
- return this.timeLabels.forEach((o, g) => {
633
+ return this.timeLabels.forEach((o, d) => {
634
634
  const l = [o.text];
635
635
  this.relativeDataset.forEach((e) => {
636
- l.push(this.canShowValue(e.absoluteValues[g]) ? Number(e.absoluteValues[g].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
636
+ l.push(this.canShowValue(e.absoluteValues[d]) ? Number(e.absoluteValues[d].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
637
637
  }), s.push(l);
638
638
  }), { head: t, body: s };
639
639
  },
@@ -643,25 +643,25 @@ const Je = J(), Ke = {
643
643
  t && (s = s.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>'));
644
644
  let o = [];
645
645
  for (let e = 0; e < this.maxSeries; e += 1) {
646
- const A = this.relativeDataset.map((b) => b.absoluteValues[e] ?? 0).reduce((b, N) => b + N, 0);
646
+ const _ = this.relativeDataset.map((m) => m.absoluteValues[e] ?? 0).reduce((m, N) => m + N, 0);
647
647
  o.push(
648
648
  [
649
649
  this.timeLabels[e].text ?? "-"
650
650
  ].concat(this.relativeDataset.map(
651
- (b) => this.applyDataLabel(
652
- b.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : b.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
653
- b.absoluteValues[e] ?? 0,
651
+ (m) => this.applyDataLabel(
652
+ m.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : m.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
653
+ m.absoluteValues[e] ?? 0,
654
654
  this.dataLabel({
655
- p: b.prefix || this.FINAL_CONFIG.chart.labels.prefix,
656
- v: b.absoluteValues[e] ?? 0,
657
- s: b.suffix || this.FINAL_CONFIG.chart.labels.suffix,
655
+ p: m.prefix || this.FINAL_CONFIG.chart.labels.prefix,
656
+ v: m.absoluteValues[e] ?? 0,
657
+ s: m.suffix || this.FINAL_CONFIG.chart.labels.suffix,
658
658
  r: this.FINAL_CONFIG.table.rounding
659
659
  })
660
660
  )
661
- )).concat(t ? (A ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
661
+ )).concat(t ? (_ ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
662
662
  );
663
663
  }
664
- const g = {
664
+ const d = {
665
665
  th: {
666
666
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
667
667
  color: this.FINAL_CONFIG.table.th.color,
@@ -674,7 +674,7 @@ const Je = J(), Ke = {
674
674
  },
675
675
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
676
676
  }, l = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
677
- return { head: s, body: o, config: g, colNames: l };
677
+ return { head: s, body: o, config: d, colNames: l };
678
678
  },
679
679
  dataTooltipSlot() {
680
680
  return {
@@ -702,8 +702,8 @@ const Je = J(), Ke = {
702
702
  },
703
703
  tooltipContent() {
704
704
  let t = "", s = this.selectedSeries.map((l) => l.value).filter((l) => this.isSafeValue(l) && l !== null).reduce((l, e) => Math.abs(l) + Math.abs(e), 0);
705
- const o = this.timeLabels[this.selectedSerieIndex], g = this.FINAL_CONFIG.chart.tooltip.customFormat;
706
- return this.isFunction(g) && this.functionReturnsString(() => g({
705
+ const o = this.timeLabels[this.selectedSerieIndex], d = this.FINAL_CONFIG.chart.tooltip.customFormat;
706
+ return this.isFunction(d) && this.functionReturnsString(() => d({
707
707
  seriesIndex: this.selectedSerieIndex,
708
708
  datapoint: this.selectedSeries,
709
709
  series: this.absoluteDataset,
@@ -711,7 +711,7 @@ const Je = J(), Ke = {
711
711
  lines: this.lineSet,
712
712
  plots: this.plotSet,
713
713
  config: this.FINAL_CONFIG
714
- })) ? g({
714
+ })) ? d({
715
715
  seriesIndex: this.selectedSerieIndex,
716
716
  datapoint: this.selectedSeries,
717
717
  series: this.absoluteDataset,
@@ -721,13 +721,13 @@ const Je = J(), Ke = {
721
721
  config: this.FINAL_CONFIG
722
722
  }) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((l) => {
723
723
  if (this.isSafeValue(l.value)) {
724
- let e = "", A = "";
724
+ let e = "", _ = "";
725
725
  switch (this.icons[l.type]) {
726
726
  case "bar":
727
727
  e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${l.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${l.slotAbsoluteIndex}` : l.color}" /></svg>`;
728
728
  break;
729
729
  case "line":
730
- !l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? A = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (A = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${Z({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${A}</svg>`;
730
+ !l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? _ = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? _ = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? _ = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? _ = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? _ = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? _ = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (_ = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${Z({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${_}</svg>`;
731
731
  break;
732
732
  case "plot":
733
733
  if (!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape)) {
@@ -807,25 +807,26 @@ const Je = J(), Ke = {
807
807
  document.removeEventListener("scroll", this.hideTags), this.resizeObserver && (this.resizeObserver.unobserve(this.observedEl), this.resizeObserver.disconnect());
808
808
  },
809
809
  methods: {
810
- abbreviate: Te,
811
- adaptColorToBackground: Me,
810
+ abbreviate: Pe,
811
+ adaptColorToBackground: Te,
812
812
  applyDataLabel: ze,
813
- assignStackRatios: pe,
814
- calcLinearProgression: ve,
813
+ assignStackRatios: Me,
814
+ calcLinearProgression: pe,
815
+ calculateNiceScale: ve,
815
816
  calculateNiceScaleWithExactExtremes: Ge,
816
- checkNaN: Oe,
817
- closestDecimal: we,
817
+ checkNaN: we,
818
+ closestDecimal: Oe,
818
819
  convertColorToHex: ke,
819
820
  convertConfigColors: Se,
820
821
  convertCustomPalette: Ce,
821
822
  createCsvContent: Le,
822
- createSmoothPath: Ae,
823
- createStraightPath: ye,
823
+ createSmoothPath: ye,
824
+ createStraightPath: Ae,
824
825
  createTSpans: _e,
825
826
  dataLabel: Q,
826
827
  downloadCsv: Fe,
827
- error: xe,
828
- forceValidValue: be,
828
+ error: be,
829
+ forceValidValue: xe,
829
830
  functionReturnsString: me,
830
831
  hasDeepProperty: Ne,
831
832
  isFunction: Ie,
@@ -836,22 +837,22 @@ const Je = J(), Ke = {
836
837
  shiftHue: he,
837
838
  translateSize: oe,
838
839
  treeShake: ce,
839
- useMouse: We,
840
+ useMouse: Ee,
840
841
  useNestedProp: j,
841
842
  createUid: J,
842
843
  placeXYTag: ne,
843
844
  createSmoothPathWithCuts: se,
844
- createStraightPathWithCuts: ie,
845
- createAreaWithCuts: ae,
846
- createIndividualAreaWithCuts: re,
845
+ createStraightPathWithCuts: re,
846
+ createAreaWithCuts: ie,
847
+ createIndividualAreaWithCuts: ae,
847
848
  createSmoothAreaSegments: K,
848
849
  createIndividualArea: le,
849
850
  hideTags() {
850
851
  const t = document.querySelectorAll(".vue-ui-xy-tag");
851
852
  t.length && Array.from(t).forEach((s) => s.style.opacity = "0");
852
853
  },
853
- setTagRef(t, s, o, g, l) {
854
- o && (this.tagRefs[`${t}_${s}_${g}_${l}`] = o);
854
+ setTagRef(t, s, o, d, l) {
855
+ o && (this.tagRefs[`${t}_${s}_${d}_${l}`] = o);
855
856
  },
856
857
  setUserOptionsVisibility(t = !1) {
857
858
  this.showUserOptionsOnChartHover && (this.userOptionsVisible = t);
@@ -860,15 +861,15 @@ const Je = J(), Ke = {
860
861
  this.isAnnotator = !this.isAnnotator;
861
862
  },
862
863
  selectTimeLabel(t, s) {
863
- const o = this.relativeDataset.map((g) => ({
864
- shape: g.shape || null,
865
- name: g.name,
866
- color: g.color,
867
- type: g.type,
868
- value: g.absoluteValues.find((l, e) => e === s),
869
- comments: g.comments || [],
870
- prefix: g.prefix || this.FINAL_CONFIG.chart.labels.prefix,
871
- suffix: g.suffix || this.FINAL_CONFIG.chart.labels.suffix
864
+ const o = this.relativeDataset.map((d) => ({
865
+ shape: d.shape || null,
866
+ name: d.name,
867
+ color: d.color,
868
+ type: d.type,
869
+ value: d.absoluteValues.find((l, e) => e === s),
870
+ comments: d.comments || [],
871
+ prefix: d.prefix || this.FINAL_CONFIG.chart.labels.prefix,
872
+ suffix: d.suffix || this.FINAL_CONFIG.chart.labels.suffix
872
873
  }));
873
874
  this.$emit("selectTimeLabel", {
874
875
  datapoint: o,
@@ -884,7 +885,7 @@ const Je = J(), Ke = {
884
885
  };
885
886
  },
886
887
  prepareConfig() {
887
- const t = Pe().vue_ui_xy;
888
+ const t = Ve().vue_ui_xy;
888
889
  if (!Object.keys(this.config || {}).length)
889
890
  return t;
890
891
  const s = this.useNestedProp({
@@ -927,24 +928,24 @@ const Je = J(), Ke = {
927
928
  }, this.FINAL_CONFIG.responsive) {
928
929
  const s = this.$refs.chart.parentNode;
929
930
  this.resizeObserver && (this.resizeObserver.unobserve(this.observedEl), this.resizeObserver.disconnect());
930
- const { height: o, width: g } = s.getBoundingClientRect();
931
+ const { height: o, width: d } = s.getBoundingClientRect();
931
932
  let l = null, e = 0;
932
933
  this.FINAL_CONFIG.chart.title.show && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
933
- let A = null, b = 0;
934
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (A = this.$refs.chartSlicer.$el, b = A.getBoundingClientRect().height);
934
+ let _ = null, m = 0;
935
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (_ = this.$refs.chartSlicer.$el, m = _.getBoundingClientRect().height);
935
936
  let N = null, L = 0;
936
937
  this.FINAL_CONFIG.chart.legend.show && (N = this.$refs.chartLegend, L = N.getBoundingClientRect().height);
937
938
  let v = 0;
938
939
  this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height);
939
940
  let k = 0;
940
- this.$refs.noTitle && (k = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - L - b - v - k, this.width = g, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
941
- const w = new ResizeObserver((O) => {
942
- for (const F of O)
943
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (b = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (L = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
944
- this.height = F.contentBoxSize[0].blockSize - e - L - b - v - 24, this.width = F.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
941
+ this.$refs.noTitle && (k = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - L - m - v - k, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
942
+ const O = new ResizeObserver((w) => {
943
+ for (const F of w)
944
+ this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (m = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (L = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
945
+ this.height = F.contentBoxSize[0].blockSize - e - L - m - v - 24, this.width = F.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
945
946
  });
946
947
  });
947
- this.resizeObserver = w, this.observedEl = s, w.observe(s);
948
+ this.resizeObserver = O, this.observedEl = s, O.observe(s);
948
949
  } else
949
950
  this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
950
951
  },
@@ -1007,17 +1008,17 @@ const Je = J(), Ke = {
1007
1008
  },
1008
1009
  createArea(t, s) {
1009
1010
  if (!t[0]) return [-10, -10, "", -10, -10];
1010
- const o = { x: t[0].x, y: s }, g = { x: t.at(-1).x, y: s }, l = [];
1011
+ const o = { x: t[0].x, y: s }, d = { x: t.at(-1).x, y: s }, l = [];
1011
1012
  return t.forEach((e) => {
1012
1013
  l.push(`${e.x},${e.y} `);
1013
- }), [o.x, o.y, ...l, g.x, g.y].toString();
1014
+ }), [o.x, o.y, ...l, d.x, d.y].toString();
1014
1015
  },
1015
1016
  createStar: Z,
1016
1017
  createPolygonPath: H,
1017
1018
  fillArray(t, s) {
1018
1019
  let o = Array(t).fill(0);
1019
- for (let g = 0; g < s.length && g < t; g += 1)
1020
- o[g] = s[g];
1020
+ for (let d = 0; d < s.length && d < t; d += 1)
1021
+ o[d] = s[d];
1021
1022
  return o;
1022
1023
  },
1023
1024
  async setupSlicer() {
@@ -1056,10 +1057,10 @@ const Je = J(), Ke = {
1056
1057
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
1057
1058
  },
1058
1059
  findClosestValue(t, s) {
1059
- let o = s[0], g = Math.abs(t - s[0]);
1060
+ let o = s[0], d = Math.abs(t - s[0]);
1060
1061
  for (let l = 1; l < s.length; l += 1) {
1061
1062
  const e = Math.abs(t - s[l]);
1062
- e < g && s[l] < t && (o = s[l], g = e);
1063
+ e < d && s[l] < t && (o = s[l], d = e);
1063
1064
  }
1064
1065
  return o;
1065
1066
  },
@@ -1115,7 +1116,7 @@ const Je = J(), Ke = {
1115
1116
  async generatePdf() {
1116
1117
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1117
1118
  try {
1118
- const { default: t } = await import("./pdf-po65pW_H.js");
1119
+ const { default: t } = await import("./pdf-CTRFaSN8.js");
1119
1120
  await t({
1120
1121
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1121
1122
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1129,7 +1130,7 @@ const Je = J(), Ke = {
1129
1130
  }, 100);
1130
1131
  },
1131
1132
  generateCsv() {
1132
- const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, g = t.concat([s]).concat(o), l = this.createCsvContent(g);
1133
+ const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, d = t.concat([s]).concat(o), l = this.createCsvContent(d);
1133
1134
  this.downloadCsv({ csvContent: l, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1134
1135
  },
1135
1136
  showSpinnerImage() {
@@ -1138,7 +1139,7 @@ const Je = J(), Ke = {
1138
1139
  async generateImage() {
1139
1140
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1140
1141
  try {
1141
- const { default: t } = await import("./img-BaGj0aBg.js");
1142
+ const { default: t } = await import("./img-DG5CAMFC.js");
1142
1143
  await t({
1143
1144
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1144
1145
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1153,89 +1154,89 @@ const Je = J(), Ke = {
1153
1154
  }, 100);
1154
1155
  }
1155
1156
  }
1156
- }, Qe = ["id"], je = {
1157
+ }, je = ["id"], $e = {
1157
1158
  key: 1,
1158
1159
  ref: "noTitle",
1159
1160
  class: "vue-data-ui-no-title-space",
1160
1161
  style: "height:36px; width: 100%; background:transparent"
1161
- }, $e = ["viewBox", "aria-label"], et = ["x", "y", "width", "height"], tt = { key: 1 }, lt = { class: "vue-ui-xy-grid" }, rt = ["stroke", "x1", "x2", "y1", "y2"], at = ["stroke", "x1", "x2", "y1", "y2"], it = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ut = ["id"], dt = ["stop-color"], gt = ["stop-color"], ft = ["stop-color"], It = ["id"], Nt = ["stop-color"], mt = ["stop-color"], bt = ["stop-color"], xt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], yt = ["id"], At = ["stop-color"], Lt = ["stop-color"], Ct = ["id"], St = ["stop-color"], kt = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "width"], Gt = ["x", "y", "height", "width", "fill"], vt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], zt = ["width", "x", "y"], Mt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Ht = ["stroke", "x1", "x2", "y1", "y2"], Dt = { key: 2 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Et = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Bt = { key: 4 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["fill", "font-size", "transform"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["x1", "x2", "y1", "y2", "stroke"], Jt = ["x", "y", "font-size", "fill"], Kt = ["width", "x", "y"], Qt = { style: { width: "100%" } }, jt = { key: 0 }, $t = ["id"], el = ["fill"], tl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ll = ["x", "y", "font-size", "fill"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], al = ["d", "stroke", "stroke-width", "stroke-dasharray"], il = { key: 5 }, sl = { key: 0 }, nl = ["d", "fill"], cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "fill"], ul = ["d", "stroke", "stroke-width", "stroke-dasharray"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = ["width", "x", "y"], fl = { style: { width: "100%" } }, Il = { key: 3 }, Nl = ["id"], ml = ["fill"], bl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], xl = ["x", "y", "font-size", "fill"], Fl = { key: 6 }, _l = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 7 }, Ll = ["x", "y", "font-size", "fill"], Cl = { key: 8 }, Sl = ["x", "y"], kl = ["innerHTML"], wl = ["x", "y"], Ol = ["innerHTML"], Gl = ["x1", "x2", "y1", "y2", "stroke"], vl = { key: 9 }, pl = ["x", "y", "font-size", "fill"], zl = { key: 10 }, Ml = ["x", "y"], Tl = ["innerHTML"], Pl = ["x", "y"], Vl = ["innerHTML"], Rl = ["x1", "x2", "y1", "y2", "stroke"], Hl = ["x", "y", "font-size", "fill", "innerHTML"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Wl = ["x", "y", "font-size", "fill", "innerHTML"], El = ["x", "y", "font-size", "fill", "innerHTML"], Bl = ["id"], Yl = ["stop-color"], ql = ["stop-color"], Xl = ["x", "y", "width", "height", "fill", "onMouseenter"], Ul = ["font-size", "fill", "transform"], Zl = ["x", "y", "font-size", "fill"], Jl = { key: 12 }, Kl = ["text-anchor", "font-size", "fill", "transform", "onClick"], Ql = ["x", "y", "height", "width", "onMouseenter", "onClick"], jl = {
1162
+ }, et = ["viewBox", "aria-label"], tt = ["x", "y", "width", "height"], lt = { key: 1 }, at = { class: "vue-ui-xy-grid" }, it = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], st = { key: 1 }, nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = ["x1", "x2", "y1", "y2", "stroke"], ht = { key: 3 }, ut = ["x1", "x2", "y1", "y2", "stroke"], dt = ["id"], gt = ["stop-color"], ft = ["stop-color"], It = ["stop-color"], Nt = ["id"], mt = ["stop-color"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["id"], kt = ["stop-color"], Ot = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Gt = ["x", "y", "width"], vt = ["x", "y", "height", "width", "fill"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], zt = ["width", "x", "y"], Tt = { key: 0 }, Pt = ["id"], Vt = ["fill"], Rt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ht = ["x", "y", "font-size", "fill"], Dt = ["stroke", "x1", "x2", "y1", "y2"], Wt = { key: 2 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Yt = { key: 4 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["fill", "font-size", "transform"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Zt = ["x", "y", "font-size", "fill"], Jt = ["x1", "x2", "y1", "y2", "stroke"], Kt = ["x", "y", "font-size", "fill"], Qt = ["width", "x", "y"], jt = { style: { width: "100%" } }, $t = { key: 0 }, el = ["id"], tl = ["fill"], ll = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], al = ["x", "y", "font-size", "fill"], il = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], sl = { key: 5 }, nl = { key: 0 }, cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "fill"], ul = ["d", "fill"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = ["d", "stroke", "stroke-width", "stroke-dasharray"], fl = ["width", "x", "y"], Il = { style: { width: "100%" } }, Nl = { key: 3 }, ml = ["id"], xl = ["fill"], bl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Fl = ["x", "y", "font-size", "fill"], _l = { key: 6 }, Al = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight"], Ll = { key: 7 }, Cl = ["x", "y", "font-size", "fill"], Sl = { key: 8 }, kl = ["x", "y"], Ol = ["innerHTML"], wl = ["x", "y"], Gl = ["innerHTML"], vl = ["x1", "x2", "y1", "y2", "stroke"], pl = { key: 9 }, Ml = ["x", "y", "font-size", "fill"], zl = { key: 10 }, Tl = ["x", "y"], Pl = ["innerHTML"], Vl = ["x", "y"], Rl = ["innerHTML"], Hl = ["x1", "x2", "y1", "y2", "stroke"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Wl = ["x", "y", "font-size", "fill", "innerHTML"], El = ["x", "y", "font-size", "fill", "innerHTML"], Bl = ["x", "y", "font-size", "fill", "innerHTML"], Yl = ["id"], ql = ["stop-color"], Xl = ["stop-color"], Ul = ["x", "y", "width", "height", "fill", "onMouseenter"], Zl = ["font-size", "fill", "transform"], Jl = ["x", "y", "font-size", "fill"], Kl = { key: 12 }, Ql = ["text-anchor", "font-size", "fill", "transform", "onClick"], jl = ["x", "y", "height", "width", "onMouseenter", "onClick"], $l = {
1162
1163
  key: 13,
1163
1164
  style: { "pointer-events": "none" }
1164
- }, $l = ["x", "y"], er = ["cx", "cy", "r", "fill"], tr = {
1165
+ }, ea = ["x", "y"], ta = ["cx", "cy", "r", "fill"], la = {
1165
1166
  key: 5,
1166
1167
  class: "vue-data-ui-watermark"
1167
- }, lr = {
1168
+ }, aa = {
1168
1169
  class: "vue-ui-xy-tag-arrow",
1169
1170
  height: "20",
1170
1171
  viewBox: "0 0 10 20",
1171
1172
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1172
- }, rr = ["fill"], ar = ["innerHTML"], ir = {
1173
+ }, ia = ["fill"], ra = ["innerHTML"], sa = {
1173
1174
  class: "vue-ui-xy-tag-arrow",
1174
1175
  height: "100%",
1175
1176
  viewBox: "0 0 10 20",
1176
1177
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1177
- }, sr = ["fill"], nr = ["innerHTML"], cr = {
1178
+ }, na = ["fill"], ca = ["innerHTML"], oa = {
1178
1179
  class: "vue-ui-xy-tag-arrow",
1179
1180
  height: "20",
1180
1181
  viewBox: "0 0 10 20",
1181
1182
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1182
- }, or = ["fill"], hr = ["innerHTML"], ur = {
1183
+ }, ha = ["fill"], ua = ["innerHTML"], da = {
1183
1184
  class: "vue-ui-xy-tag-arrow",
1184
1185
  height: "100%",
1185
1186
  viewBox: "0 0 10 20",
1186
1187
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1187
- }, dr = ["fill"], gr = ["innerHTML"], fr = ["onClick"], Ir = {
1188
+ }, ga = ["fill"], fa = ["innerHTML"], Ia = ["onClick"], Na = {
1188
1189
  key: 0,
1189
1190
  viewBox: "0 0 20 12",
1190
1191
  height: "14",
1191
1192
  width: "20"
1192
- }, Nr = ["stroke", "fill"], mr = {
1193
+ }, ma = ["stroke", "fill"], xa = {
1193
1194
  key: 1,
1194
1195
  viewBox: "0 0 40 40",
1195
1196
  height: "14",
1196
1197
  width: "14"
1197
- }, br = ["fill"], xr = ["fill"], Fr = {
1198
+ }, ba = ["fill"], Fa = ["fill"], _a = {
1198
1199
  key: 2,
1199
1200
  viewBox: "0 0 12 12",
1200
1201
  height: "14",
1201
1202
  width: "14"
1202
- }, _r = {
1203
+ }, Aa = {
1203
1204
  key: 9,
1204
1205
  ref: "chartLegend"
1205
- }, yr = {
1206
+ }, ya = {
1206
1207
  key: 10,
1207
1208
  ref: "source",
1208
1209
  dir: "auto"
1209
- }, Ar = {
1210
+ }, La = {
1210
1211
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1211
1212
  "data-dom-to-png-ignore": ""
1212
- }, Lr = ["innerHTML"];
1213
- function Cr(t, s, o, g, l, e) {
1214
- const A = R("PenAndPaper"), b = R("Title"), N = R("UserOptions"), L = R("PackageVersion"), v = R("Shape"), k = R("Skeleton"), w = R("Slicer"), O = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), G = R("DataTable"), p = R("Accordion");
1215
- return a(), i("div", {
1213
+ }, Ca = ["innerHTML"];
1214
+ function Sa(t, s, o, d, l, e) {
1215
+ const _ = R("PenAndPaper"), m = R("Title"), N = R("UserOptions"), L = R("PackageVersion"), v = R("Shape"), k = R("Skeleton"), O = R("Slicer"), w = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), G = R("DataTable"), p = R("Accordion");
1216
+ return i(), r("div", {
1216
1217
  id: `vue-ui-xy_${l.uniqueId}`,
1217
1218
  class: B(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1218
1219
  ref: "chart",
1219
- style: x(`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%" : ""}`),
1220
+ style: b(`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%" : ""}`),
1220
1221
  onMouseenter: s[7] || (s[7] = () => e.setUserOptionsVisibility(!0)),
1221
1222
  onMouseleave: s[8] || (s[8] = () => e.setUserOptionsVisibility(!1))
1222
1223
  }, [
1223
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), W(A, {
1224
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (i(), W(_, {
1224
1225
  key: 0,
1225
1226
  svgRef: l.svgRef,
1226
1227
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1227
1228
  color: e.FINAL_CONFIG.chart.color,
1228
1229
  active: l.isAnnotator,
1229
1230
  onClose: e.toggleAnnotator
1230
- }, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : d("", !0),
1231
- e.hasOptionsNoTitle ? (a(), i("div", je, null, 512)) : d("", !0),
1232
- e.FINAL_CONFIG.chart.title.show ? (a(), i("div", {
1231
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : g("", !0),
1232
+ e.hasOptionsNoTitle ? (i(), r("div", $e, null, 512)) : g("", !0),
1233
+ e.FINAL_CONFIG.chart.title.show ? (i(), r("div", {
1233
1234
  key: 2,
1234
1235
  ref: "chartTitle",
1235
1236
  class: "vue-ui-xy-title",
1236
- style: x(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1237
+ style: b(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1237
1238
  }, [
1238
- (a(), W(b, {
1239
+ (i(), W(m, {
1239
1240
  key: `title_${l.titleStep}`,
1240
1241
  config: {
1241
1242
  title: {
@@ -1248,8 +1249,8 @@ function Cr(t, s, o, g, l, e) {
1248
1249
  }
1249
1250
  }
1250
1251
  }, null, 8, ["config"]))
1251
- ], 4)) : d("", !0),
1252
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (a(), W(N, {
1252
+ ], 4)) : g("", !0),
1253
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (i(), W(N, {
1253
1254
  ref: "defails",
1254
1255
  key: `user_options_${l.step}`,
1255
1256
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1282,14 +1283,14 @@ function Cr(t, s, o, g, l, e) {
1282
1283
  onToggleStack: e.toggleStack,
1283
1284
  onToggleTooltip: e.toggleTooltip,
1284
1285
  onToggleAnnotator: e.toggleAnnotator,
1285
- style: x({
1286
+ style: b({
1286
1287
  visibility: l.keepUserOptionState ? l.userOptionsVisible ? "visible" : "hidden" : "visible"
1287
1288
  })
1288
- }, Ee({ _: 2 }, [
1289
+ }, Be({ _: 2 }, [
1289
1290
  t.$slots.menuIcon ? {
1290
1291
  name: "menuIcon",
1291
- fn: V(({ isOpen: r, color: c }) => [
1292
- S(t.$slots, "menuIcon", Y(q({ isOpen: r, color: c })), void 0, !0)
1292
+ fn: V(({ isOpen: a, color: c }) => [
1293
+ S(t.$slots, "menuIcon", Y(q({ isOpen: a, color: c })), void 0, !0)
1293
1294
  ]),
1294
1295
  key: "0"
1295
1296
  } : void 0,
@@ -1344,33 +1345,33 @@ function Cr(t, s, o, g, l, e) {
1344
1345
  } : void 0,
1345
1346
  t.$slots.optionFullscreen ? {
1346
1347
  name: "optionFullscreen",
1347
- fn: V(({ toggleFullscreen: r, isFullscreen: c }) => [
1348
- S(t.$slots, "optionFullscreen", Y(q({ toggleFullscreen: r, isFullscreen: c })), void 0, !0)
1348
+ fn: V(({ toggleFullscreen: a, isFullscreen: c }) => [
1349
+ S(t.$slots, "optionFullscreen", Y(q({ toggleFullscreen: a, isFullscreen: c })), void 0, !0)
1349
1350
  ]),
1350
1351
  key: "8"
1351
1352
  } : void 0,
1352
1353
  t.$slots.optionAnnotator ? {
1353
1354
  name: "optionAnnotator",
1354
- fn: V(({ toggleAnnotator: r, isAnnotator: c }) => [
1355
- S(t.$slots, "optionAnnotator", Y(q({ toggleAnnotator: r, isAnnotator: c })), void 0, !0)
1355
+ fn: V(({ toggleAnnotator: a, isAnnotator: c }) => [
1356
+ S(t.$slots, "optionAnnotator", Y(q({ toggleAnnotator: a, isAnnotator: c })), void 0, !0)
1356
1357
  ]),
1357
1358
  key: "9"
1358
1359
  } : void 0
1359
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : d("", !0),
1360
- e.isDataset ? (a(), i("svg", {
1360
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : g("", !0),
1361
+ e.isDataset ? (i(), r("svg", {
1361
1362
  key: 4,
1362
1363
  ref: "svgRef",
1363
1364
  xmlns: "http://www.w3.org/2000/svg",
1364
1365
  class: B([{ "vue-data-ui-fullscreen--on": l.isFullscreen, "vue-data-ui-fulscreen--off": !l.isFullscreen }, "vue-ui-xy-svg"]),
1365
1366
  width: "100%",
1366
1367
  viewBox: l.viewBox,
1367
- style: x(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1368
+ style: b(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1368
1369
  "aria-label": e.chartAriaLabel,
1369
1370
  role: "img",
1370
1371
  "aria-live": "polite"
1371
1372
  }, [
1372
1373
  U(L),
1373
- t.$slots["chart-background"] ? (a(), i("foreignObject", {
1374
+ t.$slots["chart-background"] ? (i(), r("foreignObject", {
1374
1375
  key: 0,
1375
1376
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1376
1377
  y: e.drawingArea.top,
@@ -1381,10 +1382,10 @@ function Cr(t, s, o, g, l, e) {
1381
1382
  }
1382
1383
  }, [
1383
1384
  S(t.$slots, "chart-background", {}, void 0, !0)
1384
- ], 8, et)) : d("", !0),
1385
- e.maxSeries > 0 ? (a(), i("g", tt, [
1386
- f("g", lt, [
1387
- e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), i("line", {
1385
+ ], 8, tt)) : g("", !0),
1386
+ e.maxSeries > 0 ? (i(), r("g", lt, [
1387
+ f("g", at, [
1388
+ e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (i(), r("line", {
1388
1389
  key: 0,
1389
1390
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1390
1391
  "stroke-width": "1",
@@ -1393,17 +1394,17 @@ function Cr(t, s, o, g, l, e) {
1393
1394
  y1: e.forceValidValue(e.drawingArea.bottom),
1394
1395
  y2: e.forceValidValue(e.drawingArea.bottom),
1395
1396
  "stroke-linecap": "round"
1396
- }, null, 8, rt)) : d("", !0),
1397
- l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), i(u, { key: 2 }, I(e.allScales, (r) => (a(), i("g", null, [
1398
- r.id === l.selectedScale && r.yLabels.length ? (a(!0), i(u, { key: 0 }, I(r.yLabels, (c) => (a(), i("line", {
1397
+ }, null, 8, it)) : g("", !0),
1398
+ l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(!0), r(u, { key: 2 }, I(e.allScales, (a) => (i(), r("g", null, [
1399
+ a.id === l.selectedScale && a.yLabels.length ? (i(!0), r(u, { key: 0 }, I(a.yLabels, (c) => (i(), r("line", {
1399
1400
  x1: e.drawingArea.left + e.xPadding,
1400
1401
  x2: e.drawingArea.right - e.xPadding,
1401
1402
  y1: e.forceValidValue(c.y),
1402
1403
  y2: e.forceValidValue(c.y),
1403
- stroke: r.color,
1404
+ stroke: a.color,
1404
1405
  "stroke-width": 0.5,
1405
1406
  "stroke-linecap": "round"
1406
- }, null, 8, nt))), 256)) : r.yLabels.length ? (a(!0), i(u, { key: 1 }, I(r.yLabels, (c) => (a(), i("line", {
1407
+ }, null, 8, ct))), 256)) : a.yLabels.length ? (i(!0), r(u, { key: 1 }, I(a.yLabels, (c) => (i(), r("line", {
1407
1408
  x1: e.drawingArea.left + e.xPadding,
1408
1409
  x2: e.drawingArea.right - e.xPadding,
1409
1410
  y1: e.forceValidValue(c.y),
@@ -1411,9 +1412,9 @@ function Cr(t, s, o, g, l, e) {
1411
1412
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1412
1413
  "stroke-width": 0.5,
1413
1414
  "stroke-linecap": "round"
1414
- }, null, 8, ct))), 256)) : d("", !0)
1415
- ]))), 256)) : d("", !0) : (a(), i(u, { key: 1 }, [
1416
- e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), i("line", {
1415
+ }, null, 8, ot))), 256)) : g("", !0)
1416
+ ]))), 256)) : g("", !0) : (i(), r(u, { key: 1 }, [
1417
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (i(), r("line", {
1417
1418
  key: 0,
1418
1419
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1419
1420
  "stroke-width": "1",
@@ -1422,21 +1423,21 @@ function Cr(t, s, o, g, l, e) {
1422
1423
  y1: e.forceValidValue(e.drawingArea.top),
1423
1424
  y2: e.forceValidValue(e.drawingArea.bottom),
1424
1425
  "stroke-linecap": "round"
1425
- }, null, 8, at)) : d("", !0),
1426
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), i("g", it, [
1427
- (a(!0), i(u, null, I(e.yLabels, (r) => (a(), i("line", {
1426
+ }, null, 8, rt)) : g("", !0),
1427
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(), r("g", st, [
1428
+ (i(!0), r(u, null, I(e.yLabels, (a) => (i(), r("line", {
1428
1429
  x1: e.drawingArea.left + e.xPadding,
1429
1430
  x2: e.drawingArea.right - e.xPadding,
1430
- y1: e.forceValidValue(r.y),
1431
- y2: e.forceValidValue(r.y),
1431
+ y1: e.forceValidValue(a.y),
1432
+ y2: e.forceValidValue(a.y),
1432
1433
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1433
1434
  "stroke-width": 0.5,
1434
1435
  "stroke-linecap": "round"
1435
- }, null, 8, st))), 256))
1436
- ])) : d("", !0)
1436
+ }, null, 8, nt))), 256))
1437
+ ])) : g("", !0)
1437
1438
  ], 64)),
1438
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), i("g", ot, [
1439
- (a(!0), i(u, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, c) => (a(), i("line", {
1439
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (i(), r("g", ht, [
1440
+ (i(!0), r(u, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, c) => (i(), r("line", {
1440
1441
  key: `grid_vertical_line_${c}`,
1441
1442
  x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1442
1443
  x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
@@ -1444,10 +1445,10 @@ function Cr(t, s, o, g, l, e) {
1444
1445
  y2: e.forceValidValue(e.drawingArea.bottom),
1445
1446
  "stroke-width": "0.5",
1446
1447
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1447
- }, null, 8, ht))), 128))
1448
- ])) : d("", !0)
1448
+ }, null, 8, ut))), 128))
1449
+ ])) : g("", !0)
1449
1450
  ]),
1450
- (a(!0), i(u, null, I(e.barSet, (r, c) => (a(), i("defs", {
1451
+ (i(!0), r(u, null, I(e.barSet, (a, c) => (i(), r("defs", {
1451
1452
  key: `def_rect_${c}`
1452
1453
  }, [
1453
1454
  f("linearGradient", {
@@ -1457,17 +1458,17 @@ function Cr(t, s, o, g, l, e) {
1457
1458
  }, [
1458
1459
  f("stop", {
1459
1460
  offset: "0%",
1460
- "stop-color": r.color
1461
- }, null, 8, dt),
1461
+ "stop-color": a.color
1462
+ }, null, 8, gt),
1462
1463
  f("stop", {
1463
1464
  offset: "62%",
1464
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1465
- }, null, 8, gt),
1465
+ "stop-color": `${e.shiftHue(a.color, 0.02)}`
1466
+ }, null, 8, ft),
1466
1467
  f("stop", {
1467
1468
  offset: "100%",
1468
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1469
- }, null, 8, ft)
1470
- ], 8, ut),
1469
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1470
+ }, null, 8, It)
1471
+ ], 8, dt),
1471
1472
  f("linearGradient", {
1472
1473
  id: `rectGradient_neg_${c}_${l.uniqueId}`,
1473
1474
  x2: "0%",
@@ -1475,19 +1476,19 @@ function Cr(t, s, o, g, l, e) {
1475
1476
  }, [
1476
1477
  f("stop", {
1477
1478
  offset: "0%",
1478
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1479
- }, null, 8, Nt),
1479
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1480
+ }, null, 8, mt),
1480
1481
  f("stop", {
1481
1482
  offset: "38%",
1482
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1483
- }, null, 8, mt),
1483
+ "stop-color": `${e.shiftHue(a.color, 0.02)}`
1484
+ }, null, 8, xt),
1484
1485
  f("stop", {
1485
1486
  offset: "100%",
1486
- "stop-color": r.color
1487
+ "stop-color": a.color
1487
1488
  }, null, 8, bt)
1488
- ], 8, It)
1489
+ ], 8, Nt)
1489
1490
  ]))), 128)),
1490
- (a(!0), i(u, null, I(e.plotSet, (r, c) => (a(), i("defs", {
1491
+ (i(!0), r(u, null, I(e.plotSet, (a, c) => (i(), r("defs", {
1491
1492
  key: `def_plot_${c}`
1492
1493
  }, [
1493
1494
  f("radialGradient", {
@@ -1500,15 +1501,15 @@ function Cr(t, s, o, g, l, e) {
1500
1501
  }, [
1501
1502
  f("stop", {
1502
1503
  offset: "0%",
1503
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1504
- }, null, 8, Ft),
1504
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1505
+ }, null, 8, _t),
1505
1506
  f("stop", {
1506
1507
  offset: "100%",
1507
- "stop-color": r.color
1508
- }, null, 8, _t)
1509
- ], 8, xt)
1508
+ "stop-color": a.color
1509
+ }, null, 8, At)
1510
+ ], 8, Ft)
1510
1511
  ]))), 128)),
1511
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i("defs", {
1512
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r("defs", {
1512
1513
  key: `def_line_${c}`
1513
1514
  }, [
1514
1515
  f("radialGradient", {
@@ -1521,12 +1522,12 @@ function Cr(t, s, o, g, l, e) {
1521
1522
  }, [
1522
1523
  f("stop", {
1523
1524
  offset: "0%",
1524
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1525
- }, null, 8, At),
1525
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1526
+ }, null, 8, Lt),
1526
1527
  f("stop", {
1527
1528
  offset: "100%",
1528
- "stop-color": r.color
1529
- }, null, 8, Lt)
1529
+ "stop-color": a.color
1530
+ }, null, 8, Ct)
1530
1531
  ], 8, yt),
1531
1532
  f("linearGradient", {
1532
1533
  id: `areaGradient_${c}_${l.uniqueId}`,
@@ -1537,46 +1538,46 @@ function Cr(t, s, o, g, l, e) {
1537
1538
  }, [
1538
1539
  f("stop", {
1539
1540
  offset: "0%",
1540
- "stop-color": `${e.setOpacity(e.shiftHue(r.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1541
- }, null, 8, St),
1541
+ "stop-color": `${e.setOpacity(e.shiftHue(a.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1542
+ }, null, 8, kt),
1542
1543
  f("stop", {
1543
1544
  offset: "100%",
1544
- "stop-color": `${e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)}`
1545
- }, null, 8, kt)
1546
- ], 8, Ct)
1545
+ "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1546
+ }, null, 8, Ot)
1547
+ ], 8, St)
1547
1548
  ]))), 128)),
1548
- (a(!0), i(u, null, I(e.highlightAreas, (r) => (a(), i("g", null, [
1549
- r.show ? (a(!0), i(u, { key: 0 }, I(r.span, (c, n) => (a(), i("g", null, [
1549
+ (i(!0), r(u, null, I(e.highlightAreas, (a) => (i(), r("g", null, [
1550
+ a.show ? (i(!0), r(u, { key: 0 }, I(a.span, (c, n) => (i(), r("g", null, [
1550
1551
  f("rect", {
1551
- style: x({
1552
+ style: b({
1552
1553
  transition: "none",
1553
- opacity: r.from + n >= l.slicer.start && r.from + n <= l.slicer.end - 1 ? 1 : 0
1554
+ opacity: a.from + n >= l.slicer.start && a.from + n <= l.slicer.end - 1 ? 1 : 0
1554
1555
  }),
1555
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - l.slicer.start),
1556
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - l.slicer.start),
1556
1557
  y: e.drawingArea.top,
1557
1558
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1558
1559
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1559
- fill: e.setOpacity(r.color, r.opacity)
1560
+ fill: e.setOpacity(a.color, a.opacity)
1560
1561
  }, null, 12, wt),
1561
- r.caption.text && n === 0 ? (a(), i("foreignObject", {
1562
+ a.caption.text && n === 0 ? (i(), r("foreignObject", {
1562
1563
  key: 0,
1563
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - l.slicer.start) - (r.caption.width === "auto" ? 0 : r.caption.width / 2 - e.drawingArea.width / e.maxSeries * r.span / 2),
1564
- y: e.drawingArea.top + r.caption.offsetY,
1565
- style: x({
1564
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - l.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
1565
+ y: e.drawingArea.top + a.caption.offsetY,
1566
+ style: b({
1566
1567
  overflow: "visible",
1567
- opacity: r.to >= l.slicer.start && r.from < l.slicer.end ? 1 : 0
1568
+ opacity: a.to >= l.slicer.start && a.from < l.slicer.end ? 1 : 0
1568
1569
  }),
1569
1570
  height: "1",
1570
- width: r.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * r.span : r.caption.width
1571
+ width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1571
1572
  }, [
1572
1573
  f("div", {
1573
- style: x(`padding:${r.caption.padding}px;text-align:${r.caption.textAlign};font-size:${r.caption.fontSize}px;color:${r.caption.color};font-weight:${r.caption.bold ? "bold" : "normal"}`)
1574
- }, T(r.caption.text), 5)
1575
- ], 12, Ot)) : d("", !0)
1576
- ]))), 256)) : d("", !0)
1574
+ style: b(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
1575
+ }, T(a.caption.text), 5)
1576
+ ], 12, Gt)) : g("", !0)
1577
+ ]))), 256)) : g("", !0)
1577
1578
  ]))), 256)),
1578
1579
  f("g", null, [
1579
- (a(!0), i(u, null, I(e.maxSeries, (r, c) => (a(), i("g", {
1580
+ (i(!0), r(u, null, I(e.maxSeries, (a, c) => (i(), r("g", {
1580
1581
  key: `tooltip_trap_highlighter_${c}`
1581
1582
  }, [
1582
1583
  f("rect", {
@@ -1585,40 +1586,40 @@ function Cr(t, s, o, g, l, e) {
1585
1586
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1586
1587
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1587
1588
  fill: [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(c) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1588
- }, null, 8, Gt)
1589
+ }, null, 8, vt)
1589
1590
  ]))), 128))
1590
1591
  ]),
1591
- e.barSet.length ? (a(!0), i(u, { key: 0 }, I(e.barSet, (r, c) => (a(), i("g", {
1592
+ e.barSet.length ? (i(!0), r(u, { key: 0 }, I(e.barSet, (a, c) => (i(), r("g", {
1592
1593
  key: `serie_bar_${c}`,
1593
1594
  class: B(`serie_bar_${c}`),
1594
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1595
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1595
1596
  }, [
1596
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i("g", {
1597
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r("g", {
1597
1598
  key: `bar_plot_${c}_${h}`
1598
1599
  }, [
1599
- e.canShowValue(n.value) ? (a(), i("rect", {
1600
+ e.canShowValue(n.value) ? (i(), r("rect", {
1600
1601
  key: 0,
1601
1602
  x: e.calcRectX(n),
1602
1603
  y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1603
1604
  height: l.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1604
1605
  width: e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1605
1606
  rx: e.FINAL_CONFIG.bar.borderRadius,
1606
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${l.uniqueId})` : `url(#rectGradient_neg_${c}_${l.uniqueId})` : r.color,
1607
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1607
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${l.uniqueId})` : `url(#rectGradient_neg_${c}_${l.uniqueId})` : a.color,
1608
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1608
1609
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1609
- }, null, 8, vt)) : d("", !0),
1610
- e.canShowValue(n.value) && t.$slots.pattern ? (a(), i("rect", {
1610
+ }, null, 8, pt)) : g("", !0),
1611
+ e.canShowValue(n.value) && t.$slots.pattern ? (i(), r("rect", {
1611
1612
  key: 1,
1612
1613
  x: e.calcRectX(n),
1613
1614
  y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1614
1615
  height: l.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1615
1616
  width: e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1616
1617
  rx: e.FINAL_CONFIG.bar.borderRadius,
1617
- fill: `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})`,
1618
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1618
+ fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`,
1619
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1619
1620
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1620
- }, null, 8, pt)) : d("", !0),
1621
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), i("foreignObject", {
1621
+ }, null, 8, Mt)) : g("", !0),
1622
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), r("foreignObject", {
1622
1623
  key: 2,
1623
1624
  style: { overflow: "visible" },
1624
1625
  height: "12",
@@ -1627,11 +1628,11 @@ function Cr(t, s, o, g, l, e) {
1627
1628
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1628
1629
  }, [
1629
1630
  S(t.$slots, "plot-comment", {
1630
- plot: { ...n, color: r.color, seriesIndex: c, datapointIndex: h }
1631
+ plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: h }
1631
1632
  }, void 0, !0)
1632
- ], 8, zt)) : d("", !0)
1633
+ ], 8, zt)) : g("", !0)
1633
1634
  ]))), 128)),
1634
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), i("g", Mt, [
1635
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (i(), r("g", Tt, [
1635
1636
  f("defs", null, [
1636
1637
  f("marker", {
1637
1638
  id: `bar_arrow_${c}`,
@@ -1643,36 +1644,36 @@ function Cr(t, s, o, g, l, e) {
1643
1644
  }, [
1644
1645
  f("polygon", {
1645
1646
  points: `0 0, 7 ${7 / 2}, 0 7`,
1646
- fill: r.color
1647
- }, null, 8, Pt)
1648
- ], 8, Tt)
1647
+ fill: a.color
1648
+ }, null, 8, Vt)
1649
+ ], 8, Pt)
1649
1650
  ]),
1650
- r.plots.length > 1 ? (a(), i("line", {
1651
+ a.plots.length > 1 ? (i(), r("line", {
1651
1652
  key: 0,
1652
- x1: e.calcLinearProgression(r.plots).x1 + e.calcRectWidth(),
1653
- x2: e.calcLinearProgression(r.plots).x2 + e.calcRectWidth(),
1654
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1655
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1653
+ x1: e.calcLinearProgression(a.plots).x1 + e.calcRectWidth(),
1654
+ x2: e.calcLinearProgression(a.plots).x2 + e.calcRectWidth(),
1655
+ y1: e.forceValidValue(e.calcLinearProgression(a.plots).y1),
1656
+ y2: e.forceValidValue(e.calcLinearProgression(a.plots).y2),
1656
1657
  "stroke-width": 1,
1657
- stroke: r.color,
1658
+ stroke: a.color,
1658
1659
  "stroke-dasharray": 2,
1659
1660
  "marker-end": `url(#bar_arrow_${c})`
1660
- }, null, 8, Vt)) : d("", !0),
1661
- r.plots.length > 1 ? (a(), i("text", {
1661
+ }, null, 8, Rt)) : g("", !0),
1662
+ a.plots.length > 1 ? (i(), r("text", {
1662
1663
  key: 1,
1663
1664
  "text-anchor": "middle",
1664
- x: e.calcLinearProgression(r.plots).x2 + e.calcRectWidth(),
1665
- y: e.calcLinearProgression(r.plots).y2 - 6,
1665
+ x: e.calcLinearProgression(a.plots).x2 + e.calcRectWidth(),
1666
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1666
1667
  "font-size": l.fontSizes.plotLabels,
1667
- fill: r.color
1668
+ fill: a.color
1668
1669
  }, T(e.dataLabel({
1669
- v: e.calcLinearProgression(r.plots).trend * 100,
1670
+ v: e.calcLinearProgression(a.plots).trend * 100,
1670
1671
  s: "%",
1671
1672
  r: 2
1672
- })), 9, Rt)) : d("", !0)
1673
- ])) : d("", !0)
1674
- ], 6))), 128)) : d("", !0),
1675
- !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (a(), i("line", {
1673
+ })), 9, Ht)) : g("", !0)
1674
+ ])) : g("", !0)
1675
+ ], 6))), 128)) : g("", !0),
1676
+ !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (i(), r("line", {
1676
1677
  key: 1,
1677
1678
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1678
1679
  "stroke-width": "1",
@@ -1681,8 +1682,8 @@ function Cr(t, s, o, g, l, e) {
1681
1682
  y1: e.forceValidValue(e.zero),
1682
1683
  y2: e.forceValidValue(e.zero),
1683
1684
  "stroke-linecap": "round"
1684
- }, null, 8, Ht)) : d("", !0),
1685
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (a(), i("g", Dt, [
1685
+ }, null, 8, Dt)) : g("", !0),
1686
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), r("g", Wt, [
1686
1687
  f("line", {
1687
1688
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1688
1689
  x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
@@ -1693,9 +1694,9 @@ function Cr(t, s, o, g, l, e) {
1693
1694
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1694
1695
  "stroke-linecap": "round",
1695
1696
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1696
- }, null, 8, Wt)
1697
- ])) : d("", !0),
1698
- e.FINAL_CONFIG.chart.grid.frame.show ? (a(), i("rect", {
1697
+ }, null, 8, Et)
1698
+ ])) : g("", !0),
1699
+ e.FINAL_CONFIG.chart.grid.frame.show ? (i(), r("rect", {
1699
1700
  key: 3,
1700
1701
  style: { pointerEvents: "none", transition: "none" },
1701
1702
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -1708,45 +1709,45 @@ function Cr(t, s, o, g, l, e) {
1708
1709
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1709
1710
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1710
1711
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1711
- }, null, 8, Et)) : d("", !0),
1712
- e.FINAL_CONFIG.chart.grid.labels.show ? (a(), i("g", Bt, [
1713
- l.mutableConfig.useIndividualScale ? (a(), i(u, { key: 0 }, [
1714
- (a(!0), i(u, null, I(e.allScales, (r) => (a(), i("g", null, [
1712
+ }, null, 8, Bt)) : g("", !0),
1713
+ e.FINAL_CONFIG.chart.grid.labels.show ? (i(), r("g", Yt, [
1714
+ l.mutableConfig.useIndividualScale ? (i(), r(u, { key: 0 }, [
1715
+ (i(!0), r(u, null, I(e.allScales, (a) => (i(), r("g", null, [
1715
1716
  f("line", {
1716
- x1: r.x + e.xPadding,
1717
- x2: r.x + e.xPadding,
1718
- y1: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset - r.individualHeight) : e.forceValidValue(e.drawingArea.top),
1719
- y2: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1720
- stroke: r.color,
1717
+ x1: a.x + e.xPadding,
1718
+ x2: a.x + e.xPadding,
1719
+ y1: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - a.yOffset - a.individualHeight) : e.forceValidValue(e.drawingArea.top),
1720
+ y2: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - a.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1721
+ stroke: a.color,
1721
1722
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1722
1723
  "stroke-linecap": "round",
1723
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1724
- }, null, 12, Yt)
1724
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1725
+ }, null, 12, qt)
1725
1726
  ]))), 256)),
1726
- (a(!0), i(u, null, I(e.allScales, (r) => (a(), i("g", {
1727
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1727
+ (i(!0), r(u, null, I(e.allScales, (a) => (i(), r("g", {
1728
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1728
1729
  }, [
1729
1730
  f("text", {
1730
- fill: r.color,
1731
+ fill: a.color,
1731
1732
  "font-size": l.fontSizes.dataLabels,
1732
1733
  "text-anchor": "middle",
1733
- transform: `translate(${r.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 - r.yOffset - r.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1734
- }, T(r.name) + " " + T(r.scaleLabel && r.unique && r.scaleLabel !== r.id ? `- ${r.scaleLabel}` : ""), 9, qt),
1735
- (a(!0), i(u, null, I(r.yLabels, (c, n) => (a(), i("line", {
1736
- x1: r.x - 3 + e.xPadding,
1737
- x2: r.x + e.xPadding,
1734
+ transform: `translate(${a.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 - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1735
+ }, T(a.name) + " " + T(a.scaleLabel && a.unique && a.scaleLabel !== a.id ? `- ${a.scaleLabel}` : ""), 9, Xt),
1736
+ (i(!0), r(u, null, I(a.yLabels, (c, n) => (i(), r("line", {
1737
+ x1: a.x - 3 + e.xPadding,
1738
+ x2: a.x + e.xPadding,
1738
1739
  y1: e.forceValidValue(c.y),
1739
1740
  y2: e.forceValidValue(c.y),
1740
- stroke: r.color,
1741
+ stroke: a.color,
1741
1742
  "stroke-width": 1,
1742
1743
  "stroke-linecap": "round"
1743
- }, null, 8, Xt))), 256)),
1744
- (a(!0), i(u, null, I(r.yLabels, (c, n) => (a(), i("text", {
1745
- x: r.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1744
+ }, null, 8, Ut))), 256)),
1745
+ (i(!0), r(u, null, I(a.yLabels, (c, n) => (i(), r("text", {
1746
+ x: a.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1746
1747
  y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
1747
1748
  "font-size": l.fontSizes.dataLabels,
1748
1749
  "text-anchor": "end",
1749
- fill: r.color
1750
+ fill: a.color
1750
1751
  }, T(e.applyDataLabel(
1751
1752
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1752
1753
  c.value,
@@ -1757,58 +1758,58 @@ function Cr(t, s, o, g, l, e) {
1757
1758
  r: 1
1758
1759
  }),
1759
1760
  { datapoint: c.datapoint, seriesIndex: n }
1760
- )), 9, Ut))), 256))
1761
+ )), 9, Zt))), 256))
1761
1762
  ], 4))), 256))
1762
- ], 64)) : (a(!0), i(u, { key: 1 }, I(e.yLabels, (r, c) => (a(), i("g", {
1763
+ ], 64)) : (i(!0), r(u, { key: 1 }, I(e.yLabels, (a, c) => (i(), r("g", {
1763
1764
  key: `yLabel_${c}`
1764
1765
  }, [
1765
- e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), i("line", {
1766
+ e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (i(), r("line", {
1766
1767
  key: 0,
1767
1768
  x1: e.drawingArea.left + e.xPadding,
1768
1769
  x2: e.drawingArea.left - 5 + e.xPadding,
1769
- y1: e.forceValidValue(r.y),
1770
- y2: e.forceValidValue(r.y),
1770
+ y1: e.forceValidValue(a.y),
1771
+ y2: e.forceValidValue(a.y),
1771
1772
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1772
1773
  "stroke-width": "1",
1773
1774
  "stroke-linecap": "round"
1774
- }, null, 8, Zt)) : d("", !0),
1775
- r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), i("text", {
1775
+ }, null, 8, Jt)) : g("", !0),
1776
+ a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (i(), r("text", {
1776
1777
  key: 1,
1777
1778
  x: e.drawingArea.left - 7 + e.xPadding,
1778
- y: e.checkNaN(r.y + l.fontSizes.dataLabels / 3),
1779
+ y: e.checkNaN(a.y + l.fontSizes.dataLabels / 3),
1779
1780
  "font-size": l.fontSizes.dataLabels,
1780
1781
  "text-anchor": "end",
1781
1782
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1782
- }, T(e.canShowValue(r.value) ? e.applyDataLabel(
1783
+ }, T(e.canShowValue(a.value) ? e.applyDataLabel(
1783
1784
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1784
- r.value,
1785
+ a.value,
1785
1786
  e.dataLabel({
1786
- p: r.prefix,
1787
- v: r.value,
1788
- s: r.suffix,
1787
+ p: a.prefix,
1788
+ v: a.value,
1789
+ s: a.suffix,
1789
1790
  r: 1
1790
1791
  })
1791
- ) : ""), 9, Jt)) : d("", !0)
1792
+ ) : ""), 9, Kt)) : g("", !0)
1792
1793
  ]))), 128))
1793
- ])) : d("", !0),
1794
- (a(!0), i(u, null, I(e.plotSet, (r, c) => (a(), i("g", {
1794
+ ])) : g("", !0),
1795
+ (i(!0), r(u, null, I(e.plotSet, (a, c) => (i(), r("g", {
1795
1796
  key: `serie_plot_${c}`,
1796
1797
  class: B(`serie_plot_${c}`),
1797
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1798
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1798
1799
  }, [
1799
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i("g", {
1800
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r("g", {
1800
1801
  key: `circle_plot_${c}_${h}`
1801
1802
  }, [
1802
- n && e.canShowValue(n.value) ? (a(), W(v, {
1803
+ n && e.canShowValue(n.value) ? (i(), W(v, {
1803
1804
  key: 0,
1804
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1805
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? r.color : e.FINAL_CONFIG.plot.dot.fill,
1805
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1806
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? a.color : e.FINAL_CONFIG.plot.dot.fill,
1806
1807
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1807
1808
  radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h ? (l.plotRadii.plot || 6) * 1.5 : l.plotRadii.plot || 6,
1808
- stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1809
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1809
1810
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1810
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : d("", !0),
1811
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), i("foreignObject", {
1811
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : g("", !0),
1812
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), r("foreignObject", {
1812
1813
  key: 1,
1813
1814
  style: { overflow: "visible" },
1814
1815
  height: "12",
@@ -1816,14 +1817,14 @@ function Cr(t, s, o, g, l, e) {
1816
1817
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1817
1818
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1818
1819
  }, [
1819
- f("div", Qt, [
1820
+ f("div", jt, [
1820
1821
  S(t.$slots, "plot-comment", {
1821
- plot: { ...n, color: r.color, seriesIndex: c, datapointIndex: h }
1822
+ plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: h }
1822
1823
  }, void 0, !0)
1823
1824
  ])
1824
- ], 8, Kt)) : d("", !0)
1825
+ ], 8, Qt)) : g("", !0)
1825
1826
  ]))), 128)),
1826
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), i("g", jt, [
1827
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (i(), r("g", $t, [
1827
1828
  f("defs", null, [
1828
1829
  f("marker", {
1829
1830
  id: `plot_arrow_${c}`,
@@ -1835,122 +1836,122 @@ function Cr(t, s, o, g, l, e) {
1835
1836
  }, [
1836
1837
  f("polygon", {
1837
1838
  points: `0 0, 7 ${7 / 2}, 0 7`,
1838
- fill: r.color
1839
- }, null, 8, el)
1840
- ], 8, $t)
1839
+ fill: a.color
1840
+ }, null, 8, tl)
1841
+ ], 8, el)
1841
1842
  ]),
1842
- r.plots.length > 1 ? (a(), i("line", {
1843
+ a.plots.length > 1 ? (i(), r("line", {
1843
1844
  key: 0,
1844
- x1: e.calcLinearProgression(r.plots).x1,
1845
- x2: e.calcLinearProgression(r.plots).x2,
1846
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1847
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1845
+ x1: e.calcLinearProgression(a.plots).x1,
1846
+ x2: e.calcLinearProgression(a.plots).x2,
1847
+ y1: e.forceValidValue(e.calcLinearProgression(a.plots).y1),
1848
+ y2: e.forceValidValue(e.calcLinearProgression(a.plots).y2),
1848
1849
  "stroke-width": 1,
1849
- stroke: r.color,
1850
+ stroke: a.color,
1850
1851
  "stroke-dasharray": 2,
1851
1852
  "marker-end": `url(#plot_arrow_${c})`
1852
- }, null, 8, tl)) : d("", !0),
1853
- r.plots.length > 1 ? (a(), i("text", {
1853
+ }, null, 8, ll)) : g("", !0),
1854
+ a.plots.length > 1 ? (i(), r("text", {
1854
1855
  key: 1,
1855
1856
  "text-anchor": "middle",
1856
- x: e.calcLinearProgression(r.plots).x2,
1857
- y: e.calcLinearProgression(r.plots).y2 - 6,
1857
+ x: e.calcLinearProgression(a.plots).x2,
1858
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1858
1859
  "font-size": l.fontSizes.plotLabels,
1859
- fill: r.color
1860
+ fill: a.color
1860
1861
  }, T(e.dataLabel({
1861
- v: e.calcLinearProgression(r.plots).trend * 100,
1862
+ v: e.calcLinearProgression(a.plots).trend * 100,
1862
1863
  s: "%",
1863
1864
  r: 2
1864
- })), 9, ll)) : d("", !0)
1865
- ])) : d("", !0)
1865
+ })), 9, al)) : g("", !0)
1866
+ ])) : g("", !0)
1866
1867
  ], 6))), 128)),
1867
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i("g", {
1868
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r("g", {
1868
1869
  key: `serie_line_${c}`,
1869
1870
  class: B(`serie_line_${c}`),
1870
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1871
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1871
1872
  }, [
1872
- r.smooth && r.plots.length > 1 ? (a(), i("path", {
1873
+ a.smooth && a.plots.length > 1 ? (i(), r("path", {
1873
1874
  key: 0,
1874
- d: `M${r.curve}`,
1875
+ d: `M${a.curve}`,
1875
1876
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1876
1877
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1877
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1878
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1878
1879
  fill: "none"
1879
- }, null, 8, rl)) : r.plots.length > 1 ? (a(), i("path", {
1880
+ }, null, 8, il)) : a.plots.length > 1 ? (i(), r("path", {
1880
1881
  key: 1,
1881
- d: `M${r.straight}`,
1882
+ d: `M${a.straight}`,
1882
1883
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1883
1884
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1884
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1885
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1885
1886
  fill: "none",
1886
1887
  "stroke-linecap": "round",
1887
1888
  "stroke-linejoin": "round"
1888
- }, null, 8, al)) : d("", !0)
1889
+ }, null, 8, rl)) : g("", !0)
1889
1890
  ], 6))), 128)),
1890
- t.$slots.pattern ? (a(), i("defs", il, [
1891
- (a(!0), i(u, null, I(e.safeDataset, (r, c) => S(t.$slots, "pattern", ee({
1891
+ t.$slots.pattern ? (i(), r("defs", sl, [
1892
+ (i(!0), r(u, null, I(e.safeDataset, (a, c) => S(t.$slots, "pattern", ee({
1892
1893
  key: `serie_pattern_slot_${c}`
1893
- }, { ref_for: !0 }, { ...r, seriesIndex: r.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
1894
- ])) : d("", !0),
1895
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i("g", {
1894
+ }, { ref_for: !0 }, { ...a, seriesIndex: a.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
1895
+ ])) : g("", !0),
1896
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r("g", {
1896
1897
  key: `serie_line_${c}`,
1897
1898
  class: B(`serie_line_${c}`),
1898
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1899
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1899
1900
  }, [
1900
- r.useArea && r.plots.length > 1 ? (a(), i("g", sl, [
1901
- r.smooth ? (a(!0), i(u, { key: 0 }, I(r.curveAreas, (n, h) => (a(), i(u, { key: h }, [
1901
+ a.useArea && a.plots.length > 1 ? (i(), r("g", nl, [
1902
+ a.smooth ? (i(!0), r(u, { key: 0 }, I(a.curveAreas, (n, h) => (i(), r(u, { key: h }, [
1902
1903
  f("path", {
1903
1904
  d: n,
1904
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1905
- }, null, 8, nl),
1906
- t.$slots.pattern ? (a(), i("path", {
1905
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1906
+ }, null, 8, cl),
1907
+ t.$slots.pattern ? (i(), r("path", {
1907
1908
  key: 0,
1908
1909
  d: n,
1909
- fill: `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})`
1910
- }, null, 8, cl)) : d("", !0)
1911
- ], 64))), 128)) : (a(!0), i(u, { key: 1 }, I(r.area.split(";"), (n, h) => (a(), i(u, { key: h }, [
1910
+ fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`
1911
+ }, null, 8, ol)) : g("", !0)
1912
+ ], 64))), 128)) : (i(!0), r(u, { key: 1 }, I(a.area.split(";"), (n, h) => (i(), r(u, { key: h }, [
1912
1913
  f("path", {
1913
1914
  d: `M${n}Z`,
1914
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1915
- }, null, 8, ol),
1916
- t.$slots.pattern ? (a(), i("path", {
1915
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1916
+ }, null, 8, hl),
1917
+ t.$slots.pattern ? (i(), r("path", {
1917
1918
  key: 0,
1918
1919
  d: `M${n}Z`,
1919
- fill: `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})`
1920
- }, null, 8, hl)) : d("", !0)
1920
+ fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`
1921
+ }, null, 8, ul)) : g("", !0)
1921
1922
  ], 64))), 128))
1922
- ])) : d("", !0),
1923
- r.smooth && r.plots.length > 1 ? (a(), i("path", {
1923
+ ])) : g("", !0),
1924
+ a.smooth && a.plots.length > 1 ? (i(), r("path", {
1924
1925
  key: 1,
1925
- d: `M${r.curve}`,
1926
- stroke: r.color,
1926
+ d: `M${a.curve}`,
1927
+ stroke: a.color,
1927
1928
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1928
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1929
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1929
1930
  fill: "none",
1930
1931
  "stroke-linecap": "round"
1931
- }, null, 8, ul)) : r.plots.length > 1 ? (a(), i("path", {
1932
+ }, null, 8, dl)) : a.plots.length > 1 ? (i(), r("path", {
1932
1933
  key: 2,
1933
- d: `M${r.straight}`,
1934
- stroke: r.color,
1934
+ d: `M${a.straight}`,
1935
+ stroke: a.color,
1935
1936
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1936
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1937
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1937
1938
  fill: "none",
1938
1939
  "stroke-linecap": "round",
1939
1940
  "stroke-linejoin": "round"
1940
- }, null, 8, dl)) : d("", !0),
1941
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
1941
+ }, null, 8, gl)) : g("", !0),
1942
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
1942
1943
  key: `circle_line_${c}_${h}`
1943
1944
  }, [
1944
- !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h) ? (a(), W(v, {
1945
+ !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h) ? (i(), W(v, {
1945
1946
  key: 0,
1946
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1947
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? r.color : e.FINAL_CONFIG.line.dot.fill,
1947
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1948
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? a.color : e.FINAL_CONFIG.line.dot.fill,
1948
1949
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1949
1950
  radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h ? (l.plotRadii.line || 6) * 1.5 : l.plotRadii.line || 6,
1950
- stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1951
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1951
1952
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1952
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : d("", !0),
1953
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), i("foreignObject", {
1953
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : g("", !0),
1954
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), r("foreignObject", {
1954
1955
  key: 1,
1955
1956
  style: { overflow: "visible" },
1956
1957
  height: "12",
@@ -1958,14 +1959,14 @@ function Cr(t, s, o, g, l, e) {
1958
1959
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1959
1960
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1960
1961
  }, [
1961
- f("div", fl, [
1962
+ f("div", Il, [
1962
1963
  S(t.$slots, "plot-comment", {
1963
- plot: { ...n, color: r.color, seriesIndex: c, datapointIndex: h }
1964
+ plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: h }
1964
1965
  }, void 0, !0)
1965
1966
  ])
1966
- ], 8, gl)) : d("", !0)
1967
+ ], 8, fl)) : g("", !0)
1967
1968
  ], 64))), 128)),
1968
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), i("g", Il, [
1969
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (i(), r("g", Nl, [
1969
1970
  f("defs", null, [
1970
1971
  f("marker", {
1971
1972
  id: `line_arrow_${c}`,
@@ -1977,117 +1978,117 @@ function Cr(t, s, o, g, l, e) {
1977
1978
  }, [
1978
1979
  f("polygon", {
1979
1980
  points: `0 0, 7 ${7 / 2}, 0 7`,
1980
- fill: r.color
1981
- }, null, 8, ml)
1982
- ], 8, Nl)
1981
+ fill: a.color
1982
+ }, null, 8, xl)
1983
+ ], 8, ml)
1983
1984
  ]),
1984
- r.plots.length > 1 ? (a(), i("line", {
1985
+ a.plots.length > 1 ? (i(), r("line", {
1985
1986
  key: 0,
1986
- x1: e.calcLinearProgression(r.plots).x1,
1987
- x2: e.calcLinearProgression(r.plots).x2,
1988
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1989
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1987
+ x1: e.calcLinearProgression(a.plots).x1,
1988
+ x2: e.calcLinearProgression(a.plots).x2,
1989
+ y1: e.forceValidValue(e.calcLinearProgression(a.plots).y1),
1990
+ y2: e.forceValidValue(e.calcLinearProgression(a.plots).y2),
1990
1991
  "stroke-width": 1,
1991
- stroke: r.color,
1992
+ stroke: a.color,
1992
1993
  "stroke-dasharray": 2,
1993
1994
  "marker-end": `url(#line_arrow_${c})`
1994
- }, null, 8, bl)) : d("", !0),
1995
- r.plots.length > 1 ? (a(), i("text", {
1995
+ }, null, 8, bl)) : g("", !0),
1996
+ a.plots.length > 1 ? (i(), r("text", {
1996
1997
  key: 1,
1997
1998
  "text-anchor": "middle",
1998
- x: e.calcLinearProgression(r.plots).x2,
1999
- y: e.calcLinearProgression(r.plots).y2 - 6,
1999
+ x: e.calcLinearProgression(a.plots).x2,
2000
+ y: e.calcLinearProgression(a.plots).y2 - 6,
2000
2001
  "font-size": l.fontSizes.plotLabels,
2001
- fill: r.color
2002
+ fill: a.color
2002
2003
  }, T(e.dataLabel({
2003
- v: e.calcLinearProgression(r.plots).trend * 100,
2004
+ v: e.calcLinearProgression(a.plots).trend * 100,
2004
2005
  s: "%",
2005
2006
  r: 2
2006
- })), 9, xl)) : d("", !0)
2007
- ])) : d("", !0)
2007
+ })), 9, Fl)) : g("", !0)
2008
+ ])) : g("", !0)
2008
2009
  ], 6))), 128)),
2009
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (a(), i("g", Fl, [
2010
- (a(!0), i(u, null, I(e.barSet, (r, c) => (a(), i(u, {
2010
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (i(), r("g", _l, [
2011
+ (i(!0), r(u, null, I(e.barSet, (a, c) => (i(), r(u, {
2011
2012
  key: `xLabel_bar_${c}`
2012
2013
  }, [
2013
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2014
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2014
2015
  key: `xLabel_bar_${c}_${h}`
2015
2016
  }, [
2016
- n && (!Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h) && e.FINAL_CONFIG.bar.labels.show ? (a(), i("text", {
2017
+ n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h) && e.FINAL_CONFIG.bar.labels.show ? (i(), r("text", {
2017
2018
  key: 0,
2018
2019
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
2019
2020
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
2020
2021
  "text-anchor": "middle",
2021
2022
  "font-size": l.fontSizes.plotLabels,
2022
2023
  fill: e.FINAL_CONFIG.bar.labels.color,
2023
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2024
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2024
2025
  }, T(e.canShowValue(n.value) ? e.applyDataLabel(
2025
2026
  e.FINAL_CONFIG.bar.labels.formatter,
2026
2027
  n.value,
2027
2028
  e.dataLabel({
2028
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2029
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2029
2030
  v: n.value,
2030
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2031
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2031
2032
  r: e.FINAL_CONFIG.bar.labels.rounding
2032
2033
  }),
2033
2034
  {
2034
2035
  datapoint: n,
2035
- serie: r
2036
+ serie: a
2036
2037
  }
2037
- ) : ""), 13, _l)) : d("", !0),
2038
- n && e.FINAL_CONFIG.bar.serieName.show ? (a(), i("text", {
2038
+ ) : ""), 13, Al)) : g("", !0),
2039
+ n && e.FINAL_CONFIG.bar.serieName.show ? (i(), r("text", {
2039
2040
  key: 1,
2040
2041
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
2041
2042
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
2042
2043
  "text-anchor": "middle",
2043
2044
  "font-size": l.fontSizes.plotLabels,
2044
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? r.color : e.FINAL_CONFIG.bar.serieName.color,
2045
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
2045
2046
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal",
2046
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2047
- }, T(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: r.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : r.name), 13, yl)) : d("", !0)
2047
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2048
+ }, T(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 13, yl)) : g("", !0)
2048
2049
  ], 64))), 128))
2049
2050
  ], 64))), 128))
2050
- ])) : d("", !0),
2051
- e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (a(), i("g", Al, [
2052
- (a(!0), i(u, null, I(e.plotSet, (r, c) => (a(), i(u, {
2051
+ ])) : g("", !0),
2052
+ e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (i(), r("g", Ll, [
2053
+ (i(!0), r(u, null, I(e.plotSet, (a, c) => (i(), r(u, {
2053
2054
  key: `xLabel_plot_${c}`
2054
2055
  }, [
2055
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2056
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2056
2057
  key: `xLabel_plot_${c}_${h}`
2057
2058
  }, [
2058
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h ? (a(), i("text", {
2059
+ n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h ? (i(), r("text", {
2059
2060
  key: 0,
2060
2061
  x: n.x,
2061
2062
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
2062
2063
  "text-anchor": "middle",
2063
2064
  "font-size": l.fontSizes.plotLabels,
2064
2065
  fill: e.FINAL_CONFIG.plot.labels.color,
2065
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2066
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2066
2067
  }, T(e.canShowValue(n.value) ? e.applyDataLabel(
2067
2068
  e.FINAL_CONFIG.plot.labels.formatter,
2068
2069
  n.value,
2069
2070
  e.dataLabel({
2070
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2071
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2071
2072
  v: n.value,
2072
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2073
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2073
2074
  r: e.FINAL_CONFIG.plot.labels.rounding
2074
2075
  }),
2075
2076
  {
2076
2077
  datapoint: n,
2077
- serie: r
2078
+ serie: a
2078
2079
  }
2079
- ) : ""), 13, Ll)) : d("", !0)
2080
+ ) : ""), 13, Cl)) : g("", !0)
2080
2081
  ], 64))), 128))
2081
2082
  ], 64))), 128))
2082
- ])) : (a(), i("g", Cl, [
2083
- (a(!0), i(u, null, I(e.plotSet, (r, c) => (a(), i(u, {
2083
+ ])) : (i(), r("g", Sl, [
2084
+ (i(!0), r(u, null, I(e.plotSet, (a, c) => (i(), r(u, {
2084
2085
  key: `xLabel_plot_${c}`
2085
2086
  }, [
2086
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2087
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2087
2088
  key: `xLabel_plot_${c}_${h}`
2088
2089
  }, [
2089
- e.FINAL_CONFIG.plot.tag.followValue ? (a(), i(u, { key: 1 }, [
2090
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && r.useTag ? (a(), i("line", {
2090
+ e.FINAL_CONFIG.plot.tag.followValue ? (i(), r(u, { key: 1 }, [
2091
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag ? (i(), r("line", {
2091
2092
  key: 0,
2092
2093
  class: "vue-ui-xy-tag-plot",
2093
2094
  x1: e.drawingArea.left,
@@ -2097,97 +2098,97 @@ function Cr(t, s, o, g, l, e) {
2097
2098
  "stroke-width": 1,
2098
2099
  "stroke-linecap": "round",
2099
2100
  "stroke-dasharray": "2",
2100
- stroke: r.color
2101
- }, null, 8, Gl)) : d("", !0)
2102
- ], 64)) : (a(), i(u, { key: 0 }, [
2103
- n && h === 0 && r.useTag && r.useTag === "start" ? (a(), i("foreignObject", {
2101
+ stroke: a.color
2102
+ }, null, 8, vl)) : g("", !0)
2103
+ ], 64)) : (i(), r(u, { key: 0 }, [
2104
+ n && h === 0 && a.useTag && a.useTag === "start" ? (i(), r("foreignObject", {
2104
2105
  key: 0,
2105
2106
  x: n.x,
2106
2107
  y: n.y - 20,
2107
2108
  height: 24,
2108
2109
  width: "150",
2109
- style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2110
+ style: b(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2110
2111
  }, [
2111
2112
  f("div", {
2112
- style: x(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2113
+ style: b(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2113
2114
  innerHTML: e.applyDataLabel(
2114
2115
  e.FINAL_CONFIG.plot.tag.formatter,
2115
2116
  n.value,
2116
- r.name,
2117
+ a.name,
2117
2118
  {
2118
2119
  datapoint: n,
2119
2120
  seriesIndex: h,
2120
- serieName: r.name
2121
+ serieName: a.name
2121
2122
  }
2122
2123
  )
2123
- }, null, 12, kl)
2124
- ], 12, Sl)) : d("", !0),
2125
- n && h === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), i("foreignObject", {
2124
+ }, null, 12, Ol)
2125
+ ], 12, kl)) : g("", !0),
2126
+ n && h === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (i(), r("foreignObject", {
2126
2127
  key: 1,
2127
- x: n.x - r.name.length * (l.fontSizes.plotLabels / 2),
2128
+ x: n.x - a.name.length * (l.fontSizes.plotLabels / 2),
2128
2129
  y: n.y - 20,
2129
2130
  height: 24,
2130
2131
  width: "150",
2131
- style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2132
+ style: b(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2132
2133
  }, [
2133
2134
  f("div", {
2134
- style: x(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2135
+ style: b(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2135
2136
  innerHTML: e.applyDataLabel(
2136
2137
  e.FINAL_CONFIG.plot.tag.formatter,
2137
2138
  n.value,
2138
- r.name,
2139
+ a.name,
2139
2140
  {
2140
2141
  datapoint: n,
2141
2142
  seriesIndex: h,
2142
- serieName: r.name
2143
+ serieName: a.name
2143
2144
  }
2144
2145
  )
2145
- }, null, 12, Ol)
2146
- ], 12, wl)) : d("", !0)
2146
+ }, null, 12, Gl)
2147
+ ], 12, wl)) : g("", !0)
2147
2148
  ], 64))
2148
2149
  ], 64))), 128))
2149
2150
  ], 64))), 128))
2150
2151
  ])),
2151
- e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (a(), i("g", vl, [
2152
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i(u, {
2152
+ e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (i(), r("g", pl, [
2153
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r(u, {
2153
2154
  key: `xLabel_line_${c}`
2154
2155
  }, [
2155
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2156
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2156
2157
  key: `xLabel_line_${c}_${h}`
2157
2158
  }, [
2158
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h ? (a(), i("text", {
2159
+ n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h ? (i(), r("text", {
2159
2160
  key: 0,
2160
2161
  x: n.x,
2161
2162
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2162
2163
  "text-anchor": "middle",
2163
2164
  "font-size": l.fontSizes.plotLabels,
2164
2165
  fill: e.FINAL_CONFIG.line.labels.color,
2165
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2166
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2166
2167
  }, T(e.canShowValue(n.value) ? e.applyDataLabel(
2167
2168
  e.FINAL_CONFIG.line.labels.formatter,
2168
2169
  n.value,
2169
2170
  e.dataLabel({
2170
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2171
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2171
2172
  v: n.value,
2172
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2173
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2173
2174
  r: e.FINAL_CONFIG.line.labels.rounding
2174
2175
  }),
2175
2176
  {
2176
2177
  datapoint: n,
2177
- serie: r
2178
+ serie: a
2178
2179
  }
2179
- ) : ""), 13, pl)) : d("", !0)
2180
+ ) : ""), 13, Ml)) : g("", !0)
2180
2181
  ], 64))), 128))
2181
2182
  ], 64))), 128))
2182
- ])) : (a(), i("g", zl, [
2183
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i(u, {
2183
+ ])) : (i(), r("g", zl, [
2184
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r(u, {
2184
2185
  key: `xLabel_line_${c}`
2185
2186
  }, [
2186
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2187
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2187
2188
  key: `xLabel_line_${c}_${h}`
2188
2189
  }, [
2189
- e.FINAL_CONFIG.line.tag.followValue ? (a(), i(u, { key: 1 }, [
2190
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && r.useTag ? (a(), i("line", {
2190
+ e.FINAL_CONFIG.line.tag.followValue ? (i(), r(u, { key: 1 }, [
2191
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag ? (i(), r("line", {
2191
2192
  key: 0,
2192
2193
  class: "vue-ui-xy-tag-line",
2193
2194
  x1: e.drawingArea.left,
@@ -2197,144 +2198,144 @@ function Cr(t, s, o, g, l, e) {
2197
2198
  "stroke-width": 1,
2198
2199
  "stroke-linecap": "round",
2199
2200
  "stroke-dasharray": "2",
2200
- stroke: r.color
2201
- }, null, 8, Rl)) : d("", !0)
2202
- ], 64)) : (a(), i(u, { key: 0 }, [
2203
- n && h === 0 && r.useTag && r.useTag === "start" ? (a(), i("foreignObject", {
2201
+ stroke: a.color
2202
+ }, null, 8, Hl)) : g("", !0)
2203
+ ], 64)) : (i(), r(u, { key: 0 }, [
2204
+ n && h === 0 && a.useTag && a.useTag === "start" ? (i(), r("foreignObject", {
2204
2205
  key: 0,
2205
2206
  x: n.x,
2206
2207
  y: n.y - 20,
2207
2208
  height: 24,
2208
2209
  width: "150",
2209
- style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2210
+ style: b(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2210
2211
  }, [
2211
2212
  f("div", {
2212
- style: x(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2213
+ style: b(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2213
2214
  innerHTML: e.applyDataLabel(
2214
2215
  e.FINAL_CONFIG.line.tag.formatter,
2215
2216
  n.value,
2216
- r.name,
2217
+ a.name,
2217
2218
  {
2218
2219
  datapoint: n,
2219
2220
  seriesIndex: h,
2220
- serieName: r.name
2221
+ serieName: a.name
2221
2222
  }
2222
2223
  )
2223
- }, null, 12, Tl)
2224
- ], 12, Ml)) : d("", !0),
2225
- n && h === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), i("foreignObject", {
2224
+ }, null, 12, Pl)
2225
+ ], 12, Tl)) : g("", !0),
2226
+ n && h === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (i(), r("foreignObject", {
2226
2227
  key: 1,
2227
2228
  x: n.x,
2228
2229
  y: n.y - 20,
2229
2230
  height: 24,
2230
2231
  width: "150",
2231
- style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2232
+ style: b(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2232
2233
  }, [
2233
2234
  f("div", {
2234
- style: x(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2235
+ style: b(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2235
2236
  innerHTML: e.applyDataLabel(
2236
2237
  e.FINAL_CONFIG.line.tag.formatter,
2237
2238
  n.value,
2238
- r.name,
2239
+ a.name,
2239
2240
  {
2240
2241
  datapoint: n,
2241
2242
  seriesIndex: h,
2242
- serieName: r.name
2243
+ serieName: a.name
2243
2244
  }
2244
2245
  )
2245
- }, null, 12, Vl)
2246
- ], 12, Pl)) : d("", !0)
2246
+ }, null, 12, Rl)
2247
+ ], 12, Vl)) : g("", !0)
2247
2248
  ], 64))
2248
2249
  ], 64))), 128))
2249
2250
  ], 64))), 128))
2250
2251
  ])),
2251
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i(u, {
2252
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r(u, {
2252
2253
  key: `xLabel_line_${c}`
2253
2254
  }, [
2254
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2255
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2255
2256
  key: `xLabel_line_${c}_${h}`
2256
2257
  }, [
2257
- n && h === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), i("text", {
2258
+ n && h === 0 && a.showSerieName && a.showSerieName === "start" ? (i(), r("text", {
2258
2259
  key: 0,
2259
2260
  x: n.x - l.fontSizes.plotLabels,
2260
2261
  y: n.y,
2261
2262
  "font-size": l.fontSizes.plotLabels,
2262
2263
  "text-anchor": "end",
2263
- fill: r.color,
2264
+ fill: a.color,
2264
2265
  innerHTML: e.createTSpans({
2265
- content: r.name,
2266
+ content: a.name,
2266
2267
  fontSize: l.fontSizes.plotLabels,
2267
- fill: r.color,
2268
+ fill: a.color,
2268
2269
  x: n.x - l.fontSizes.plotLabels,
2269
2270
  y: n.y,
2270
2271
  maxWords: 2
2271
2272
  }),
2272
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2273
- }, null, 12, Hl)) : d("", !0),
2274
- n && h === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), i("text", {
2273
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2274
+ }, null, 12, Dl)) : g("", !0),
2275
+ n && h === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (i(), r("text", {
2275
2276
  key: 1,
2276
2277
  x: n.x + l.fontSizes.plotLabels,
2277
2278
  y: n.y,
2278
2279
  "font-size": l.fontSizes.plotLabels,
2279
2280
  "text-anchor": "start",
2280
- fill: r.color,
2281
+ fill: a.color,
2281
2282
  innerHTML: e.createTSpans({
2282
- content: r.name,
2283
+ content: a.name,
2283
2284
  fontSize: l.fontSizes.plotLabels,
2284
- fill: r.color,
2285
+ fill: a.color,
2285
2286
  x: n.x + l.fontSizes.plotLabels,
2286
2287
  y: n.y,
2287
2288
  maxWords: 2
2288
2289
  }),
2289
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2290
- }, null, 12, Dl)) : d("", !0)
2290
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2291
+ }, null, 12, Wl)) : g("", !0)
2291
2292
  ], 64))), 128))
2292
2293
  ], 64))), 128)),
2293
- (a(!0), i(u, null, I(e.plotSet, (r, c) => (a(), i(u, {
2294
+ (i(!0), r(u, null, I(e.plotSet, (a, c) => (i(), r(u, {
2294
2295
  key: `xLabel_plot_${c}`
2295
2296
  }, [
2296
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2297
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2297
2298
  key: `xLabel_plot_${c}_${h}`
2298
2299
  }, [
2299
- n && h === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), i("text", {
2300
+ n && h === 0 && a.showSerieName && a.showSerieName === "start" ? (i(), r("text", {
2300
2301
  key: 0,
2301
2302
  x: n.x - l.fontSizes.plotLabels,
2302
2303
  y: n.y,
2303
2304
  "font-size": l.fontSizes.plotLabels,
2304
2305
  "text-anchor": "end",
2305
- fill: r.color,
2306
+ fill: a.color,
2306
2307
  innerHTML: e.createTSpans({
2307
- content: r.name,
2308
+ content: a.name,
2308
2309
  fontSize: l.fontSizes.plotLabels,
2309
- fill: r.color,
2310
+ fill: a.color,
2310
2311
  x: n.x - l.fontSizes.plotLabels,
2311
2312
  y: n.y,
2312
2313
  maxWords: 2
2313
2314
  }),
2314
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2315
- }, null, 12, Wl)) : d("", !0),
2316
- n && h === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), i("text", {
2315
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2316
+ }, null, 12, El)) : g("", !0),
2317
+ n && h === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (i(), r("text", {
2317
2318
  key: 1,
2318
2319
  x: n.x + l.fontSizes.plotLabels,
2319
2320
  y: n.y,
2320
2321
  "font-size": l.fontSizes.plotLabels,
2321
2322
  "text-anchor": "start",
2322
- fill: r.color,
2323
+ fill: a.color,
2323
2324
  innerHTML: e.createTSpans({
2324
- content: r.name,
2325
+ content: a.name,
2325
2326
  fontSize: l.fontSizes.plotLabels,
2326
- fill: r.color,
2327
+ fill: a.color,
2327
2328
  x: n.x + l.fontSizes.plotLabels,
2328
2329
  y: n.y,
2329
2330
  maxWords: 2
2330
2331
  }),
2331
- style: x(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2332
- }, null, 12, El)) : d("", !0)
2332
+ style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2333
+ }, null, 12, Bl)) : g("", !0)
2333
2334
  ], 64))), 128))
2334
2335
  ], 64))), 128)),
2335
- l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (a(), i(u, { key: 11 }, [
2336
+ l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (i(), r(u, { key: 11 }, [
2336
2337
  f("defs", null, [
2337
- (a(!0), i(u, null, I(e.allScales, (r, c) => (a(), i("linearGradient", {
2338
+ (i(!0), r(u, null, I(e.allScales, (a, c) => (i(), r("linearGradient", {
2338
2339
  id: `individual_scale_gradient_${l.uniqueId}_${c}`,
2339
2340
  x1: "0%",
2340
2341
  x2: "100%",
@@ -2345,45 +2346,45 @@ function Cr(t, s, o, g, l, e) {
2345
2346
  offset: "0%",
2346
2347
  "stop-color": e.FINAL_CONFIG.chart.backgroundColor,
2347
2348
  "stop-opacity": "0"
2348
- }, null, 8, Yl),
2349
+ }, null, 8, ql),
2349
2350
  f("stop", {
2350
2351
  offset: "100%",
2351
- "stop-color": r.color,
2352
+ "stop-color": a.color,
2352
2353
  "stop-opacity": "0.2"
2353
- }, null, 8, ql)
2354
- ], 8, Bl))), 256))
2354
+ }, null, 8, Xl)
2355
+ ], 8, Yl))), 256))
2355
2356
  ]),
2356
- (a(!0), i(u, null, I(e.allScales, (r, c) => (a(), i("rect", {
2357
- x: r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2357
+ (i(!0), r(u, null, I(e.allScales, (a, c) => (i(), r("rect", {
2358
+ x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2358
2359
  y: e.drawingArea.top,
2359
2360
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2360
2361
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2361
- fill: l.selectedScale === r.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${c})` : "transparent",
2362
- onMouseenter: (n) => l.selectedScale = r.groupId,
2362
+ fill: l.selectedScale === a.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${c})` : "transparent",
2363
+ onMouseenter: (n) => l.selectedScale = a.groupId,
2363
2364
  onMouseleave: s[0] || (s[0] = (n) => l.selectedScale = null)
2364
- }, null, 40, Xl))), 256))
2365
- ], 64)) : d("", !0),
2365
+ }, null, 40, Ul))), 256))
2366
+ ], 64)) : g("", !0),
2366
2367
  f("g", null, [
2367
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (a(), i("text", {
2368
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (i(), r("text", {
2368
2369
  key: 0,
2369
2370
  "font-size": l.fontSizes.yAxis,
2370
2371
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
2371
2372
  transform: `translate(${l.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2372
2373
  "text-anchor": "middle",
2373
2374
  style: { transition: "none" }
2374
- }, T(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Ul)) : d("", !0),
2375
- e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), i("text", {
2375
+ }, T(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Zl)) : g("", !0),
2376
+ e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (i(), r("text", {
2376
2377
  key: 1,
2377
2378
  "text-anchor": "middle",
2378
2379
  x: l.width / 2,
2379
2380
  y: e.drawingArea.bottom + l.fontSizes.yAxis + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2380
2381
  "font-size": l.fontSizes.yAxis,
2381
2382
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2382
- }, T(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Zl)) : d("", !0)
2383
+ }, T(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Jl)) : g("", !0)
2383
2384
  ]),
2384
2385
  s[9] || (s[9] = $('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" ')),
2385
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), i("g", Jl, [
2386
- t.$slots["time-label"] ? (a(!0), i(u, { key: 0 }, I(e.timeLabels, (r, c) => S(t.$slots, "time-label", ee({
2386
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), r("g", Kl, [
2387
+ t.$slots["time-label"] ? (i(!0), r(u, { key: 0 }, I(e.timeLabels, (a, c) => S(t.$slots, "time-label", ee({
2387
2388
  key: `time_label_${c}`,
2388
2389
  ref_for: !0
2389
2390
  }, {
@@ -2392,14 +2393,14 @@ function Cr(t, s, o, g, l, e) {
2392
2393
  fontSize: l.fontSizes.xAxis,
2393
2394
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2394
2395
  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})`,
2395
- absoluteIndex: r.absoluteIndex,
2396
- content: r.text,
2396
+ absoluteIndex: a.absoluteIndex,
2397
+ content: a.text,
2397
2398
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2398
- show: r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !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
2399
- }), void 0, !0)), 128)) : (a(!0), i(u, { key: 1 }, I(e.timeLabels, (r, c) => (a(), i("g", {
2399
+ show: a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !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
2400
+ }), void 0, !0)), 128)) : (i(!0), r(u, { key: 1 }, I(e.timeLabels, (a, c) => (i(), r("g", {
2400
2401
  key: `time_label_${c}`
2401
2402
  }, [
2402
- r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), i("text", {
2403
+ a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !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(), r("text", {
2403
2404
  key: 0,
2404
2405
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2405
2406
  "font-size": l.fontSizes.xAxis,
@@ -2408,12 +2409,12 @@ function Cr(t, s, o, g, l, e) {
2408
2409
  style: {
2409
2410
  cursor: "pointer"
2410
2411
  },
2411
- onClick: () => e.selectTimeLabel(r, c)
2412
- }, T(r.text || ""), 9, Kl)) : d("", !0)
2412
+ onClick: () => e.selectTimeLabel(a, c)
2413
+ }, T(a.text || ""), 9, Ql)) : g("", !0)
2413
2414
  ]))), 128))
2414
- ])) : d("", !0),
2415
+ ])) : g("", !0),
2415
2416
  f("g", null, [
2416
- (a(!0), i(u, null, I(e.maxSeries, (r, c) => (a(), i("rect", {
2417
+ (i(!0), r(u, null, I(e.maxSeries, (a, c) => (i(), r("rect", {
2417
2418
  key: `tooltip_trap_${c}`,
2418
2419
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
2419
2420
  y: e.drawingArea.top,
@@ -2423,10 +2424,10 @@ function Cr(t, s, o, g, l, e) {
2423
2424
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, c),
2424
2425
  onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2425
2426
  onClick: (n) => e.selectX(c)
2426
- }, null, 40, Ql))), 128))
2427
+ }, null, 40, jl))), 128))
2427
2428
  ]),
2428
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (a(), i("g", jl, [
2429
- (a(), i("foreignObject", {
2429
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), r("g", $l, [
2430
+ (i(), r("foreignObject", {
2430
2431
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
2431
2432
  y: e.drawingArea.bottom,
2432
2433
  width: "200",
@@ -2435,35 +2436,35 @@ function Cr(t, s, o, g, l, e) {
2435
2436
  }, [
2436
2437
  f("div", {
2437
2438
  class: "vue-ui-xy-time-tag",
2438
- style: x(`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`)
2439
+ style: b(`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`)
2439
2440
  }, T(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)
2440
- ], 8, $l)),
2441
+ ], 8, ea)),
2441
2442
  f("circle", {
2442
2443
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
2443
2444
  cy: e.drawingArea.bottom,
2444
2445
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2445
2446
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2446
- }, null, 8, er)
2447
- ])) : d("", !0)
2448
- ])) : d("", !0),
2447
+ }, null, 8, ta)
2448
+ ])) : g("", !0)
2449
+ ])) : g("", !0),
2449
2450
  S(t.$slots, "svg", { svg: e.svg }, void 0, !0)
2450
- ], 14, $e)) : d("", !0),
2451
- t.$slots.watermark ? (a(), i("div", tr, [
2451
+ ], 14, et)) : g("", !0),
2452
+ t.$slots.watermark ? (i(), r("div", la, [
2452
2453
  S(t.$slots, "watermark", Y(q({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2453
- ])) : d("", !0),
2454
- (a(!0), i(u, null, I(e.lineSet, (r, c) => (a(), i(u, {
2454
+ ])) : g("", !0),
2455
+ (i(!0), r(u, null, I(e.lineSet, (a, c) => (i(), r(u, {
2455
2456
  key: `tag_line_${c}`
2456
2457
  }, [
2457
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2458
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2458
2459
  key: `tag_line_${c}_${h}`
2459
2460
  }, [
2460
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && r.useTag && r.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (a(), i("div", {
2461
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag && a.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (i(), r("div", {
2461
2462
  key: 0,
2462
2463
  ref_for: !0,
2463
2464
  ref: (y) => e.setTagRef(c, h, y, "right", "line"),
2464
2465
  class: "vue-ui-xy-tag",
2465
2466
  "data-tag": "right",
2466
- style: x({
2467
+ style: b({
2467
2468
  position: "fixed",
2468
2469
  top: e.placeXYTag({
2469
2470
  svgElement: l.svgRef,
@@ -2481,41 +2482,41 @@ function Cr(t, s, o, g, l, e) {
2481
2482
  }).left + "px",
2482
2483
  height: "fit-content",
2483
2484
  width: "fit-content",
2484
- background: r.color,
2485
- color: e.adaptColorToBackground(r.color),
2485
+ background: a.color,
2486
+ color: e.adaptColorToBackground(a.color),
2486
2487
  padding: "0 6px",
2487
2488
  fontSize: e.FINAL_CONFIG.line.tag.fontSize + "px",
2488
2489
  opacity: 1
2489
2490
  })
2490
2491
  }, [
2491
- (a(), i("svg", lr, [
2492
+ (i(), r("svg", aa, [
2492
2493
  f("path", {
2493
2494
  d: "M 0,10 10,0 10,20 Z",
2494
- fill: r.color,
2495
+ fill: a.color,
2495
2496
  stroke: "none"
2496
- }, null, 8, rr)
2497
+ }, null, 8, ia)
2497
2498
  ])),
2498
2499
  f("div", {
2499
2500
  class: "vue-ui-xy-tag-content",
2500
2501
  innerHTML: e.applyDataLabel(
2501
2502
  e.FINAL_CONFIG.line.tag.formatter,
2502
2503
  n.value,
2503
- r.name,
2504
+ a.name,
2504
2505
  {
2505
2506
  datapoint: n,
2506
2507
  seriesIndex: h,
2507
- serieName: r.name
2508
+ serieName: a.name
2508
2509
  }
2509
2510
  )
2510
- }, null, 8, ar)
2511
- ], 4)) : d("", !0),
2512
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && r.useTag && r.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (a(), i("div", {
2511
+ }, null, 8, ra)
2512
+ ], 4)) : g("", !0),
2513
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag && a.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (i(), r("div", {
2513
2514
  key: 1,
2514
2515
  ref_for: !0,
2515
2516
  ref: (y) => e.setTagRef(c, h, y, "left", "line"),
2516
2517
  class: "vue-ui-xy-tag",
2517
2518
  "data-tag": "left",
2518
- style: x({
2519
+ style: b({
2519
2520
  position: "fixed",
2520
2521
  top: e.placeXYTag({
2521
2522
  svgElement: l.svgRef,
@@ -2533,49 +2534,49 @@ function Cr(t, s, o, g, l, e) {
2533
2534
  }).left + "px",
2534
2535
  height: "fit-content",
2535
2536
  width: "fit-content",
2536
- background: r.color,
2537
- color: e.adaptColorToBackground(r.color),
2537
+ background: a.color,
2538
+ color: e.adaptColorToBackground(a.color),
2538
2539
  padding: "0 6px",
2539
2540
  fontSize: e.FINAL_CONFIG.line.tag.fontSize + "px",
2540
2541
  opacity: 1
2541
2542
  })
2542
2543
  }, [
2543
- (a(), i("svg", ir, [
2544
+ (i(), r("svg", sa, [
2544
2545
  f("path", {
2545
2546
  d: "M 0,0 10,10 0,20 Z",
2546
- fill: r.color,
2547
+ fill: a.color,
2547
2548
  stroke: "none"
2548
- }, null, 8, sr)
2549
+ }, null, 8, na)
2549
2550
  ])),
2550
2551
  f("div", {
2551
2552
  class: "vue-ui-xy-tag-content",
2552
2553
  innerHTML: e.applyDataLabel(
2553
2554
  e.FINAL_CONFIG.line.tag.formatter,
2554
2555
  n.value,
2555
- r.name,
2556
+ a.name,
2556
2557
  {
2557
2558
  datapoint: n,
2558
2559
  seriesIndex: h,
2559
- serieName: r.name
2560
+ serieName: a.name
2560
2561
  }
2561
2562
  )
2562
- }, null, 8, nr)
2563
- ], 4)) : d("", !0)
2563
+ }, null, 8, ca)
2564
+ ], 4)) : g("", !0)
2564
2565
  ], 64))), 128))
2565
2566
  ], 64))), 128)),
2566
- (a(!0), i(u, null, I(e.plotSet, (r, c) => (a(), i(u, {
2567
+ (i(!0), r(u, null, I(e.plotSet, (a, c) => (i(), r(u, {
2567
2568
  key: `tag_plot_${c}`
2568
2569
  }, [
2569
- (a(!0), i(u, null, I(r.plots, (n, h) => (a(), i(u, {
2570
+ (i(!0), r(u, null, I(a.plots, (n, h) => (i(), r(u, {
2570
2571
  key: `tag_plot_${c}_${h}`
2571
2572
  }, [
2572
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && r.useTag && r.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (a(), i("div", {
2573
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag && a.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (i(), r("div", {
2573
2574
  key: 0,
2574
2575
  ref_for: !0,
2575
2576
  ref: (y) => e.setTagRef(c, h, y, "right", "plot"),
2576
2577
  class: "vue-ui-xy-tag",
2577
2578
  "data-tag": "right",
2578
- style: x({
2579
+ style: b({
2579
2580
  position: "fixed",
2580
2581
  top: e.placeXYTag({
2581
2582
  svgElement: l.svgRef,
@@ -2593,41 +2594,41 @@ function Cr(t, s, o, g, l, e) {
2593
2594
  }).left + "px",
2594
2595
  height: "fit-content",
2595
2596
  width: "fit-content",
2596
- background: r.color,
2597
- color: e.adaptColorToBackground(r.color),
2597
+ background: a.color,
2598
+ color: e.adaptColorToBackground(a.color),
2598
2599
  padding: "0 6px",
2599
2600
  fontSize: e.FINAL_CONFIG.plot.tag.fontSize + "px",
2600
2601
  opacity: 1
2601
2602
  })
2602
2603
  }, [
2603
- (a(), i("svg", cr, [
2604
+ (i(), r("svg", oa, [
2604
2605
  f("path", {
2605
2606
  d: "M 0,10 10,0 10,20 Z",
2606
- fill: r.color,
2607
+ fill: a.color,
2607
2608
  stroke: "none"
2608
- }, null, 8, or)
2609
+ }, null, 8, ha)
2609
2610
  ])),
2610
2611
  f("div", {
2611
2612
  class: "vue-ui-xy-tag-content",
2612
2613
  innerHTML: e.applyDataLabel(
2613
2614
  e.FINAL_CONFIG.plot.tag.formatter,
2614
2615
  n.value,
2615
- r.name,
2616
+ a.name,
2616
2617
  {
2617
2618
  datapoint: n,
2618
2619
  seriesIndex: h,
2619
- serieName: r.name
2620
+ serieName: a.name
2620
2621
  }
2621
2622
  )
2622
- }, null, 8, hr)
2623
- ], 4)) : d("", !0),
2624
- [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && r.useTag && r.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (a(), i("div", {
2623
+ }, null, 8, ua)
2624
+ ], 4)) : g("", !0),
2625
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag && a.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (i(), r("div", {
2625
2626
  key: 1,
2626
2627
  ref_for: !0,
2627
2628
  ref: (y) => e.setTagRef(c, h, y, "left", "plot"),
2628
2629
  class: "vue-ui-xy-tag",
2629
2630
  "data-tag": "left",
2630
- style: x({
2631
+ style: b({
2631
2632
  position: "fixed",
2632
2633
  top: e.placeXYTag({
2633
2634
  svgElement: l.svgRef,
@@ -2645,37 +2646,37 @@ function Cr(t, s, o, g, l, e) {
2645
2646
  }).left + "px",
2646
2647
  height: "fit-content",
2647
2648
  width: "fit-content",
2648
- background: r.color,
2649
- color: e.adaptColorToBackground(r.color),
2649
+ background: a.color,
2650
+ color: e.adaptColorToBackground(a.color),
2650
2651
  padding: "0 6px",
2651
2652
  fontSize: e.FINAL_CONFIG.plot.tag.fontSize + "px",
2652
2653
  opacity: 1
2653
2654
  })
2654
2655
  }, [
2655
- (a(), i("svg", ur, [
2656
+ (i(), r("svg", da, [
2656
2657
  f("path", {
2657
2658
  d: "M 0,0 10,10 0,20 Z",
2658
- fill: r.color,
2659
+ fill: a.color,
2659
2660
  stroke: "none"
2660
- }, null, 8, dr)
2661
+ }, null, 8, ga)
2661
2662
  ])),
2662
2663
  f("div", {
2663
2664
  class: "vue-ui-xy-tag-content",
2664
2665
  innerHTML: e.applyDataLabel(
2665
2666
  e.FINAL_CONFIG.plot.tag.formatter,
2666
2667
  n.value,
2667
- r.name,
2668
+ a.name,
2668
2669
  {
2669
2670
  datapoint: n,
2670
2671
  seriesIndex: h,
2671
- serieName: r.name
2672
+ serieName: a.name
2672
2673
  }
2673
2674
  )
2674
- }, null, 8, gr)
2675
- ], 4)) : d("", !0)
2675
+ }, null, 8, fa)
2676
+ ], 4)) : g("", !0)
2676
2677
  ], 64))), 128))
2677
2678
  ], 64))), 128)),
2678
- e.isDataset ? d("", !0) : (a(), W(k, {
2679
+ e.isDataset ? g("", !0) : (i(), W(k, {
2679
2680
  key: 6,
2680
2681
  config: {
2681
2682
  type: "line",
@@ -2693,7 +2694,7 @@ function Cr(t, s, o, g, l, e) {
2693
2694
  }
2694
2695
  }
2695
2696
  }, null, 8, ["config"])),
2696
- e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (a(), W(w, {
2697
+ e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (i(), W(O, {
2697
2698
  ref: "chartSlicer",
2698
2699
  key: `slicer_${l.slicerStep}`,
2699
2700
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2719,33 +2720,33 @@ function Cr(t, s, o, g, l, e) {
2719
2720
  valueStart: l.slicer.start,
2720
2721
  valueEnd: l.slicer.end,
2721
2722
  start: l.slicer.start,
2722
- "onUpdate:start": s[2] || (s[2] = (r) => l.slicer.start = r),
2723
+ "onUpdate:start": s[2] || (s[2] = (a) => l.slicer.start = a),
2723
2724
  end: l.slicer.end,
2724
- "onUpdate:end": s[3] || (s[3] = (r) => l.slicer.end = r),
2725
+ "onUpdate:end": s[3] || (s[3] = (a) => l.slicer.end = a),
2725
2726
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2726
- refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...o.dataset.map((r) => e.largestTriangleThreeBucketsArray({ data: r.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2727
+ refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...o.dataset.map((a) => e.largestTriangleThreeBucketsArray({ data: a.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2727
2728
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
2728
2729
  enableSelectionDrag: e.FINAL_CONFIG.chart.zoom.enableSelectionDrag,
2729
2730
  onReset: e.refreshSlicer,
2730
2731
  onTrapMouse: e.selectMinimapIndex
2731
2732
  }, {
2732
- "reset-action": V(({ reset: r }) => [
2733
- S(t.$slots, "reset-action", Y(q({ reset: r })), void 0, !0)
2733
+ "reset-action": V(({ reset: a }) => [
2734
+ S(t.$slots, "reset-action", Y(q({ reset: a })), void 0, !0)
2734
2735
  ]),
2735
2736
  _: 3
2736
- }, 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"])) : d("", !0),
2737
- e.FINAL_CONFIG.chart.legend.show ? (a(), i("div", {
2737
+ }, 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"])) : g("", !0),
2738
+ e.FINAL_CONFIG.chart.legend.show ? (i(), r("div", {
2738
2739
  key: 8,
2739
2740
  ref: "chartLegend",
2740
2741
  class: "vue-ui-xy-legend",
2741
- style: x(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2742
+ style: b(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2742
2743
  }, [
2743
- (a(!0), i(u, null, I(e.absoluteDataset, (r, c) => (a(), i("div", {
2744
+ (i(!0), r(u, null, I(e.absoluteDataset, (a, c) => (i(), r("div", {
2744
2745
  key: `div_legend_item_${c}`,
2745
- onClick: (n) => e.segregate(r),
2746
- class: B({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(r.id) })
2746
+ onClick: (n) => e.segregate(a),
2747
+ class: B({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(a.id) })
2747
2748
  }, [
2748
- l.icons[r.type] === "line" ? (a(), i("svg", Ir, [
2749
+ l.icons[a.type] === "line" ? (i(), r("svg", Na, [
2749
2750
  f("rect", {
2750
2751
  x: "0",
2751
2752
  y: "7.5",
@@ -2754,18 +2755,18 @@ function Cr(t, s, o, g, l, e) {
2754
2755
  "stroke-width": 0.5,
2755
2756
  height: "3",
2756
2757
  width: "20",
2757
- fill: r.color
2758
- }, null, 8, Nr),
2758
+ fill: a.color
2759
+ }, null, 8, ma),
2759
2760
  U(v, {
2760
2761
  plot: { x: 10, y: 9 },
2761
2762
  radius: 4,
2762
- color: r.color,
2763
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
2763
+ color: a.color,
2764
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2764
2765
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2765
2766
  strokeWidth: 0.5
2766
2767
  }, null, 8, ["color", "shape", "stroke"])
2767
- ])) : l.icons[r.type] === "bar" ? (a(), i("svg", mr, [
2768
- l.icons[r.type] === "bar" && t.$slots.pattern ? (a(), i("rect", {
2768
+ ])) : l.icons[a.type] === "bar" ? (i(), r("svg", xa, [
2769
+ l.icons[a.type] === "bar" && t.$slots.pattern ? (i(), r("rect", {
2769
2770
  key: 0,
2770
2771
  x: "0",
2771
2772
  y: "0",
@@ -2773,9 +2774,9 @@ function Cr(t, s, o, g, l, e) {
2773
2774
  height: "40",
2774
2775
  width: "40",
2775
2776
  stroke: "none",
2776
- fill: r.color
2777
- }, null, 8, br)) : d("", !0),
2778
- l.icons[r.type] === "bar" ? (a(), i("rect", {
2777
+ fill: a.color
2778
+ }, null, 8, ba)) : g("", !0),
2779
+ l.icons[a.type] === "bar" ? (i(), r("rect", {
2779
2780
  key: 1,
2780
2781
  x: "0",
2781
2782
  y: "0",
@@ -2783,27 +2784,27 @@ function Cr(t, s, o, g, l, e) {
2783
2784
  height: "40",
2784
2785
  width: "40",
2785
2786
  stroke: "none",
2786
- fill: t.$slots.pattern ? `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2787
- }, null, 8, xr)) : d("", !0)
2788
- ])) : (a(), i("svg", Fr, [
2787
+ fill: t.$slots.pattern ? `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})` : a.color
2788
+ }, null, 8, Fa)) : g("", !0)
2789
+ ])) : (i(), r("svg", _a, [
2789
2790
  U(v, {
2790
2791
  plot: { x: 6, y: 6 },
2791
2792
  radius: 5,
2792
- color: r.color,
2793
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle"
2793
+ color: a.color,
2794
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2794
2795
  }, null, 8, ["color", "shape"])
2795
2796
  ])),
2796
2797
  f("span", {
2797
- style: x(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2798
- }, T(r.name), 5)
2799
- ], 10, fr))), 128))
2800
- ], 4)) : (a(), i("div", _r, [
2798
+ style: b(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2799
+ }, T(a.name), 5)
2800
+ ], 10, Ia))), 128))
2801
+ ], 4)) : (i(), r("div", Aa, [
2801
2802
  S(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2802
2803
  ], 512)),
2803
- t.$slots.source ? (a(), i("div", yr, [
2804
+ t.$slots.source ? (i(), r("div", ya, [
2804
2805
  S(t.$slots, "source", {}, void 0, !0)
2805
- ], 512)) : d("", !0),
2806
- U(O, {
2806
+ ], 512)) : g("", !0),
2807
+ U(w, {
2807
2808
  show: l.mutableConfig.showTooltip && l.isTooltip,
2808
2809
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2809
2810
  color: e.FINAL_CONFIG.chart.tooltip.color,
@@ -2827,7 +2828,7 @@ function Cr(t, s, o, g, l, e) {
2827
2828
  ]),
2828
2829
  _: 3
2829
2830
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2830
- e.isDataset ? (a(), W(p, {
2831
+ e.isDataset ? (i(), W(p, {
2831
2832
  key: 11,
2832
2833
  hideDetails: "",
2833
2834
  config: {
@@ -2845,17 +2846,17 @@ function Cr(t, s, o, g, l, e) {
2845
2846
  }, {
2846
2847
  content: V(() => [
2847
2848
  f("div", {
2848
- style: x(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2849
+ style: b(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2849
2850
  }, [
2850
- f("div", Ar, [
2851
- Be(f("input", {
2851
+ f("div", La, [
2852
+ Ye(f("input", {
2852
2853
  type: "checkbox",
2853
- "onUpdate:modelValue": s[4] || (s[4] = (r) => l.showSparklineTable = r)
2854
+ "onUpdate:modelValue": s[4] || (s[4] = (a) => l.showSparklineTable = a)
2854
2855
  }, null, 512), [
2855
- [Ye, l.showSparklineTable]
2856
+ [qe, l.showSparklineTable]
2856
2857
  ]),
2857
2858
  f("div", {
2858
- onClick: s[5] || (s[5] = (r) => l.showSparklineTable = !l.showSparklineTable),
2859
+ onClick: s[5] || (s[5] = (a) => l.showSparklineTable = !l.showSparklineTable),
2859
2860
  style: { cursor: "pointer" }
2860
2861
  }, [
2861
2862
  U(F, {
@@ -2865,26 +2866,26 @@ function Cr(t, s, o, g, l, e) {
2865
2866
  }, null, 8, ["stroke"])
2866
2867
  ])
2867
2868
  ]),
2868
- l.showSparklineTable ? (a(), W(C, {
2869
+ l.showSparklineTable ? (i(), W(C, {
2869
2870
  key: `sparkline_${l.segregateStep}`,
2870
2871
  dataset: e.tableSparklineDataset,
2871
2872
  config: e.tableSparklineConfig
2872
- }, null, 8, ["dataset", "config"])) : (a(), W(G, {
2873
+ }, null, 8, ["dataset", "config"])) : (i(), W(G, {
2873
2874
  key: `table_${l.tableStep}`,
2874
2875
  colNames: e.dataTable.colNames,
2875
2876
  head: e.dataTable.head,
2876
2877
  body: e.dataTable.body,
2877
2878
  config: e.dataTable.config,
2878
2879
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2879
- onClose: s[6] || (s[6] = (r) => l.mutableConfig.showTable = !1)
2880
+ onClose: s[6] || (s[6] = (a) => l.mutableConfig.showTable = !1)
2880
2881
  }, {
2881
- th: V(({ th: r }) => [
2882
- f("div", { innerHTML: r }, null, 8, Lr)
2882
+ th: V(({ th: a }) => [
2883
+ f("div", { innerHTML: a }, null, 8, Ca)
2883
2884
  ]),
2884
- td: V(({ td: r }) => [
2885
- $(T(isNaN(Number(r)) ? r : e.dataLabel({
2885
+ td: V(({ td: a }) => [
2886
+ $(T(isNaN(Number(a)) ? a : e.dataLabel({
2886
2887
  p: e.FINAL_CONFIG.chart.labels.prefix,
2887
- v: r,
2888
+ v: a,
2888
2889
  s: e.FINAL_CONFIG.chart.labels.suffix,
2889
2890
  r: e.FINAL_CONFIG.table.rounding
2890
2891
  })), 1)
@@ -2894,10 +2895,10 @@ function Cr(t, s, o, g, l, e) {
2894
2895
  ], 4)
2895
2896
  ]),
2896
2897
  _: 1
2897
- }, 8, ["config"])) : d("", !0)
2898
- ], 46, Qe);
2898
+ }, 8, ["config"])) : g("", !0)
2899
+ ], 46, je);
2899
2900
  }
2900
- const Mr = /* @__PURE__ */ Ze(Ke, [["render", Cr], ["__scopeId", "data-v-e7c2a0a2"]]);
2901
+ const Ta = /* @__PURE__ */ Je(Qe, [["render", Sa], ["__scopeId", "data-v-bf8ec32f"]]);
2901
2902
  export {
2902
- Mr as default
2903
+ Ta as default
2903
2904
  };