vue-data-ui 2.14.2 → 2.14.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-CHiKXhrZ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-C_zNQi8p.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-CjLVVFOF.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-4qYqEUzw.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-CQHjdD9t.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-XakQeDJw.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-BVSNCCsg.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-mH9eFSdi.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-C49A3fVl.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D_nY-zV8.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DAuA0E6E.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-BRAWFiKX.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-Be-4IBib.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-B4lRAXc3.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-CZOjPjId.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-O95d2xYz.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-B5QfWbFM.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-DpgjO9No.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-C86OOuya.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-BS0-lsm3.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-EqGRLYQ_.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-CkGWUdE5.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-BMy6RIsR.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-B7SuIgFc.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-DWAc3Ofk.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BjW1IoFR.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-DfpzNl51.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-BhWpJIxD.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DMSlJoWw.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-Dby5X8Oy.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-BBjEiNoo.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-QR1HniAL.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-D9HDDbAr.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-DMgkrLHs.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-AxsWsoNG.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-B3cs-HjU.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-piOrh5of.js} +295 -279
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-C_amhKRH.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-kgzJDBYW.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-D582UlDY.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy-BCPNqux7.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-6YFYdXxG.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-PN0sgIDN.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-bWGrfPpu.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-CNxerxJF.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-BXiiCP9f.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-LXae2ars.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-B2dzn9rQ.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-DIJJhVIZ.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-4lqDDJmG.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-BIgfyn7z.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-COW7u6EQ.js} +192 -175
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-B3HOf0aF.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-Cg7pNkb3.js} +459 -443
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-DY7BOmEO.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-C8ubvpA2.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-BSUJrp9v.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CNNfP0Gl.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-C0iQMvwp.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-BaXESoFU.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-C-ca3jum.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-BPSnI-sv.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-C2p4SwT6.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-C_Z7se8R.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BNQP-wru.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-S7ZqAbMr.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-BOUcxjBn.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Bcz6Tg5h.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-BwY3L4k_.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BQKMvJ_f.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-BMFeG4Ll.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap-BMcm8nz5.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-DvbV5c0E.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-DaUJKwlB.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-2lttGgfU.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-Br-K5C0A.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-BMcITB4q.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-DyHNX6fM.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-D2O27EVK.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-BJ11Yo4p.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-DoiCiPEX.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-DnATnNkX.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-DRE6d6PA.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-CB8YSoKV.js} +7 -7
  88. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { Q as X, Z as ae, a7 as ue, a8 as ce, a9 as de, aa as ge, ab as fe, ac as Ie, ad as xe, c as ne, A as Ne, F as me, w as be, s as Fe, o as _e, a1 as ye, ae as Ae, x as Le, C as Ce, y as Se, a6 as ke, e as we, r as Oe, f as oe, af as Ge, T as ve, U as pe, q as ze, b as Me, z as Te, d as Pe, ag as Ve, v as Re, ah as He, D as De, a4 as We, ai as Be, i as Ee, G as Ye, K as qe, u as Xe, p as Ue, B as Ze, a as Ke, t as Qe } from "./index-DBYSSUsg.js";
2
- import { u as Je } from "./useMouse-AicQS8Vf.js";
3
- import { u as ie } from "./useNestedProp-Cu77c3W4.js";
4
- import { u as je } from "./useTimeLabels-Mrr0jrpL.js";
5
- import { defineAsyncComponent as Z, resolveComponent as q, createElementBlock as s, openBlock as i, normalizeStyle as _, normalizeClass as j, createBlock as U, createCommentVNode as h, createVNode as le, createSlots as $e, withCtx as W, renderSlot as O, normalizeProps as $, guardReactiveProps as ee, createElementVNode as I, Fragment as g, renderList as x, toDisplayString as V, mergeProps as se, withDirectives as et, vModelCheckbox as tt, createTextVNode as lt } from "vue";
6
- import { S as rt } from "./Slicer-B6mk6VRe.js";
7
- import at from "./Title-xtSGHclp.js";
8
- import { _ as it } from "./Shape-DdpwkHh8.js";
9
- import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const nt = ne(), ct = {
1
+ import { R as X, _ as ae, a8 as ue, a9 as ce, aa as de, ab as ge, ac as fe, ad as Ie, ae as xe, c as ne, A as Ne, F as me, w as be, s as Fe, o as _e, a2 as Ae, af as ye, x as Le, C as Ce, y as Se, a7 as ke, e as we, r as Oe, f as oe, I as Ge, ag as ve, U as pe, V as ze, q as Me, b as Te, z as Pe, d as Ve, ah as Re, v as He, ai as De, D as Be, a5 as We, aj as Ee, i as Ye, G as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-DpgjO9No.js";
2
+ import { u as je } from "./useMouse-AicQS8Vf.js";
3
+ import { u as ie } from "./useNestedProp-BS0-lsm3.js";
4
+ import { u as $e } from "./useTimeLabels-Mrr0jrpL.js";
5
+ import { defineAsyncComponent as Z, resolveComponent as q, createElementBlock as s, openBlock as i, normalizeStyle as F, normalizeClass as j, createBlock as U, createCommentVNode as h, createVNode as le, createSlots as et, withCtx as B, renderSlot as O, normalizeProps as $, guardReactiveProps as ee, createElementVNode as I, Fragment as g, renderList as x, toDisplayString as V, mergeProps as se, withDirectives as tt, vModelCheckbox as lt, createTextVNode as rt } from "vue";
6
+ import { S as at } from "./Slicer-DAuA0E6E.js";
7
+ import it from "./Title-Be-4IBib.js";
8
+ import { _ as st } from "./Shape-D_nY-zV8.js";
9
+ import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const ct = ne(), ot = {
11
11
  name: "vue-ui-xy",
12
12
  props: {
13
13
  config: {
@@ -24,20 +24,20 @@ const nt = ne(), ct = {
24
24
  }
25
25
  },
26
26
  components: {
27
- Slicer: rt,
27
+ Slicer: at,
28
28
  // Must be ready in responsive mode
29
- Title: at,
29
+ Title: it,
30
30
  // Must be ready in responsive mode
31
- Shape: it,
32
- DataTable: Z(() => import("./DataTable-DzCoab4C.js")),
33
- Tooltip: Z(() => import("./Tooltip-D8swCIay.js")),
34
- UserOptions: Z(() => import("./UserOptions-BbJkNcCM.js")),
35
- BaseIcon: Z(() => import("./BaseIcon-D0Q4E4nY.js")),
36
- TableSparkline: Z(() => import("./vue-ui-table-sparkline-CXqoNu29.js")),
37
- Skeleton: Z(() => import("./vue-ui-skeleton-BJy7bURO.js")),
38
- Accordion: Z(() => import("./vue-ui-accordion-CEZHj_of.js")),
39
- PackageVersion: Z(() => import("./PackageVersion-DrhYhyQR.js")),
40
- PenAndPaper: Z(() => import("./PenAndPaper-BdnVqpO9.js"))
31
+ Shape: st,
32
+ DataTable: Z(() => import("./DataTable-CQHjdD9t.js")),
33
+ Tooltip: Z(() => import("./Tooltip-B4lRAXc3.js")),
34
+ UserOptions: Z(() => import("./UserOptions-CZOjPjId.js")),
35
+ BaseIcon: Z(() => import("./BaseIcon-CjLVVFOF.js")),
36
+ TableSparkline: Z(() => import("./vue-ui-table-sparkline-DvbV5c0E.js")),
37
+ Skeleton: Z(() => import("./vue-ui-skeleton-C-ca3jum.js")),
38
+ Accordion: Z(() => import("./vue-ui-accordion-B7SuIgFc.js")),
39
+ PackageVersion: Z(() => import("./PackageVersion-mH9eFSdi.js")),
40
+ PenAndPaper: Z(() => import("./PenAndPaper-C49A3fVl.js"))
41
41
  },
42
42
  data() {
43
43
  this.dataset.forEach((f, l) => {
@@ -48,9 +48,9 @@ const nt = ne(), ct = {
48
48
  index: l
49
49
  });
50
50
  });
51
- const r = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, c = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: r }).length)), u = {
51
+ const r = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, o = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: r }).length)), u = {
52
52
  start: 0,
53
- end: c
53
+ end: o
54
54
  };
55
55
  return {
56
56
  resizeObserver: null,
@@ -61,9 +61,9 @@ const nt = ne(), ct = {
61
61
  selectedScale: null,
62
62
  CTX: null,
63
63
  CANVAS: null,
64
- opacity: Ze,
64
+ opacity: Je,
65
65
  useSafeValues: !0,
66
- palette: Ue,
66
+ palette: Ze,
67
67
  height: 600,
68
68
  width: 1e3,
69
69
  viewBox: "0 0 1000 600",
@@ -103,10 +103,10 @@ const nt = ne(), ct = {
103
103
  titleStep: 0,
104
104
  slicer: u,
105
105
  __to__: null,
106
- maxX: c,
106
+ maxX: o,
107
107
  showSparklineTable: !0,
108
108
  segregateStep: 0,
109
- sliderId: nt,
109
+ sliderId: ct,
110
110
  fontSizes: {
111
111
  xAxis: 18,
112
112
  yAxis: 12,
@@ -128,7 +128,7 @@ const nt = ne(), ct = {
128
128
  },
129
129
  watch: {
130
130
  dataset: {
131
- handler(r, c) {
131
+ handler(r, o) {
132
132
  this.maxX = Math.max(...this.dataset.map((u) => this.largestTriangleThreeBucketsArray({
133
133
  data: u.series,
134
134
  threshold: this.FINAL_CONFIG.downsample.threshold
@@ -140,7 +140,7 @@ const nt = ne(), ct = {
140
140
  deep: !0
141
141
  },
142
142
  config: {
143
- handler(r, c) {
143
+ handler(r, o) {
144
144
  this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1, this.mutableConfig = {
145
145
  dataLabels: {
146
146
  show: !0
@@ -159,8 +159,8 @@ const nt = ne(), ct = {
159
159
  return this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.formatter.locale;
160
160
  },
161
161
  chartAriaLabel() {
162
- const r = this.FINAL_CONFIG.chart.title.text || "Chart visualization", c = this.FINAL_CONFIG.chart.title.subtitle.text || "";
163
- return `${r}. ${c}`;
162
+ const r = this.FINAL_CONFIG.chart.title.text || "Chart visualization", o = this.FINAL_CONFIG.chart.title.subtitle.text || "";
163
+ return `${r}. ${o}`;
164
164
  },
165
165
  optimize() {
166
166
  return {
@@ -172,8 +172,8 @@ const nt = ne(), ct = {
172
172
  },
173
173
  minimap() {
174
174
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
175
- const r = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), c = Math.max(...r.map((l) => l.series.length)), u = [];
176
- for (let l = 0; l < c; l += 1)
175
+ const r = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), o = Math.max(...r.map((l) => l.series.length)), u = [];
176
+ for (let l = 0; l < o; l += 1)
177
177
  u.push(r.map((e) => e.series[l] || 0).reduce((e, a) => (e || 0) + (a || 0), 0));
178
178
  const f = Math.min(...u);
179
179
  return u.map((l) => l + (f < 0 ? Math.abs(f) : 0));
@@ -200,7 +200,7 @@ const nt = ne(), ct = {
200
200
  yOffset: e.yOffset || 0,
201
201
  individualHeight: e.individualHeight || this.drawingArea.height,
202
202
  autoScaleYLabels: e.autoScaleYLabels
203
- })), c = this.barSet.map((e) => ({
203
+ })), o = this.barSet.map((e) => ({
204
204
  name: e.name,
205
205
  color: e.color,
206
206
  scale: e.individualScale,
@@ -223,7 +223,7 @@ const nt = ne(), ct = {
223
223
  id: e.id,
224
224
  yOffset: e.yOffset || 0,
225
225
  individualHeight: e.individualHeight || this.drawingArea.height
226
- })), f = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...r, ...c, ...u], l = f.flatMap((e) => e).length;
226
+ })), f = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...r, ...o, ...u], l = f.flatMap((e) => e).length;
227
227
  return f.flatMap((e, a) => ({
228
228
  unique: e.unique,
229
229
  id: e.id,
@@ -261,9 +261,9 @@ const nt = ne(), ct = {
261
261
  },
262
262
  highlightAreas() {
263
263
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
264
- return this.FINAL_CONFIG.chart.highlightArea.map((c) => ({
265
- ...c,
266
- span: c.from === c.to ? 1 : c.to < c.from ? 0 : c.to - c.from + 1
264
+ return this.FINAL_CONFIG.chart.highlightArea.map((o) => ({
265
+ ...o,
266
+ span: o.from === o.to ? 1 : o.to < o.from ? 0 : o.to - o.from + 1
267
267
  }));
268
268
  const r = this.FINAL_CONFIG.chart.highlightArea;
269
269
  return [{ ...r, span: r.from === r.to ? 1 : r.to < r.from ? 0 : r.to - r.from + 1 }];
@@ -278,33 +278,33 @@ const nt = ne(), ct = {
278
278
  return this.niceScale.max + this.relativeZero;
279
279
  },
280
280
  datasetWithIds() {
281
- return this.useSafeValues ? this.dataset.map((r, c) => ({
281
+ return this.useSafeValues ? this.dataset.map((r, o) => ({
282
282
  ...r,
283
283
  series: this.largestTriangleThreeBucketsArray({
284
284
  data: r.series,
285
285
  threshold: this.FINAL_CONFIG.downsample.threshold
286
286
  }),
287
- id: `uniqueId_${c}`
287
+ id: `uniqueId_${o}`
288
288
  })) : this.dataset;
289
289
  },
290
290
  safeDataset() {
291
- return this.useSafeValues ? this.dataset.map((r, c) => {
291
+ return this.useSafeValues ? this.dataset.map((r, o) => {
292
292
  const u = this.largestTriangleThreeBucketsArray({
293
293
  data: r.series,
294
294
  threshold: this.FINAL_CONFIG.downsample.threshold
295
- }), f = `uniqueId_${c}`;
295
+ }), f = `uniqueId_${o}`;
296
296
  return {
297
297
  ...r,
298
- slotAbsoluteIndex: c,
298
+ slotAbsoluteIndex: o,
299
299
  series: u.map((l) => this.isSafeValue(l) ? l : null).slice(this.slicer.start, this.slicer.end),
300
- color: this.convertColorToHex(r.color ? r.color : this.customPalette[c] ? this.customPalette[c] : this.palette[c]),
300
+ color: this.convertColorToHex(r.color ? r.color : this.customPalette[o] ? this.customPalette[o] : this.palette[o]),
301
301
  id: f,
302
302
  scaleLabel: r.scaleLabel || f
303
303
  };
304
304
  }) : this.dataset;
305
305
  },
306
306
  relativeDataset() {
307
- return this.safeDataset.map((r, c) => ({
307
+ return this.safeDataset.map((r, o) => ({
308
308
  ...r,
309
309
  series: r.series.map((u) => u + this.relativeZero),
310
310
  absoluteValues: r.series
@@ -312,12 +312,12 @@ const nt = ne(), ct = {
312
312
  },
313
313
  tableSparklineDataset() {
314
314
  return this.relativeDataset.map((r) => {
315
- const c = r.absoluteValues.map((u) => [void 0, null].includes(u) ? 0 : u);
315
+ const o = r.absoluteValues.map((u) => [void 0, null].includes(u) ? 0 : u);
316
316
  return {
317
317
  id: r.id,
318
318
  name: r.name,
319
319
  color: r.color,
320
- values: this.fillArray(this.maxSeries, c)
320
+ values: this.fillArray(this.maxSeries, o)
321
321
  };
322
322
  });
323
323
  },
@@ -348,8 +348,8 @@ const nt = ne(), ct = {
348
348
  };
349
349
  },
350
350
  absoluteDataset() {
351
- return this.safeDataset.map((r, c) => ({
352
- absoluteIndex: c,
351
+ return this.safeDataset.map((r, o) => ({
352
+ absoluteIndex: o,
353
353
  ...r,
354
354
  series: r.series.map((u) => u + this.relativeZero),
355
355
  absoluteValues: r.series,
@@ -364,19 +364,19 @@ const nt = ne(), ct = {
364
364
  return this.assignStackRatios(this.absoluteDataset.filter((r) => !this.segregatedSeries.includes(r.id)));
365
365
  },
366
366
  scaleGroups() {
367
- const r = Object.groupBy(this.activeSeriesWithStackRatios, (u) => u.scaleLabel), c = {};
367
+ const r = Object.groupBy(this.activeSeriesWithStackRatios, (u) => u.scaleLabel), o = {};
368
368
  for (const [u, f] of Object.entries(r)) {
369
369
  const l = f.flatMap((e) => e.absoluteValues);
370
- c[u] = {
370
+ o[u] = {
371
371
  min: Math.min(...l) || 0,
372
372
  max: Math.max(...l) || 1,
373
373
  groupId: `scale_group_${this.createUid()}`
374
374
  };
375
375
  }
376
- return c;
376
+ return o;
377
377
  },
378
378
  barSet() {
379
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), c = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (c - 1) : 0, e = this.drawingArea.height - l;
379
+ const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (o - 1) : 0, e = this.drawingArea.height - l;
380
380
  return r.filter((a) => a.type === "bar").map((a, L) => {
381
381
  this.checkAutoScaleError(a);
382
382
  const z = this.scaleGroups[a.scaleLabel].min, G = this.scaleGroups[a.scaleLabel].max;
@@ -384,34 +384,34 @@ const nt = ne(), ct = {
384
384
  const N = {
385
385
  valueMin: z,
386
386
  valueMax: G < 0 ? 0 : G
387
- }, y = {
387
+ }, A = {
388
388
  max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
389
389
  min: a.scaleMin || Math.min(...a.absoluteValues.filter((C) => ![void 0, null].includes(C))) > 0 ? 0 : Math.min(...a.absoluteValues.filter((C) => ![null, void 0].includes(C)))
390
- }, v = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, A = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(y.min, y.max === y.min ? y.max * m : y.max, v) : this.calculateNiceScaleWithExactExtremes(y.min, y.max === y.min ? y.max * m : y.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = A.min >= 0 ? 0 : Math.abs(A.min), H = 0, t = A.max + M, o = b.max + Math.abs(H), n = a.stackIndex, d = c - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + u * d : 0, k = f ? e * a.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / o, B = this.absoluteDataset.filter((C) => C.type === "bar").filter((C) => !this.segregatedSeries.includes(C.id)).length, te = a.series.map((C, R) => {
391
- const Q = this.mutableConfig.useIndividualScale ? (a.absoluteValues[R] + M) / t : this.ratioToMax(C), J = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left + this.slot.bar * L + this.slot.bar * R * B - this.barSlot / 2 - L * this.barPeriodGap;
390
+ }, v = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, y = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(A.min, A.max === A.min ? A.max * m : A.max, v) : this.calculateNiceScaleWithExactExtremes(A.min, A.max === A.min ? A.max * m : A.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = y.min >= 0 ? 0 : Math.abs(y.min), H = 0, t = y.max + M, c = b.max + Math.abs(H), n = a.stackIndex, d = o - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + u * d : 0, k = f ? e * a.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = this.absoluteDataset.filter((C) => C.type === "bar").filter((C) => !this.segregatedSeries.includes(C.id)).length, te = a.series.map((C, R) => {
391
+ const K = this.mutableConfig.useIndividualScale ? (a.absoluteValues[R] + M) / t : this.ratioToMax(C), Q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left + this.slot.bar * L + this.slot.bar * R * W - this.barSlot / 2 - L * this.barPeriodGap;
392
392
  return {
393
393
  yOffset: this.checkNaN(S),
394
394
  individualHeight: this.checkNaN(k),
395
- x: this.checkNaN(J),
396
- y: this.drawingArea.bottom - S - k * Q,
395
+ x: this.checkNaN(Q),
396
+ y: this.drawingArea.bottom - S - k * K,
397
397
  value: a.absoluteValues[R],
398
398
  zeroPosition: this.checkNaN(T),
399
399
  individualMax: this.checkNaN(t),
400
400
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
401
401
  };
402
- }), E = a.absoluteValues.map((C) => b.min >= 0 ? (C - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (C + Math.abs(b.min)) / (b.max + Math.abs(b.min))), K = a.series.map((C, R) => {
403
- const Q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * L + this.slot.bar * R * this.absoluteDataset.filter((J) => J.type === "bar").filter((J) => !this.segregatedSeries.includes(J.id)).length;
402
+ }), E = a.absoluteValues.map((C) => b.min >= 0 ? (C - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (C + Math.abs(b.min)) / (b.max + Math.abs(b.min))), J = a.series.map((C, R) => {
403
+ const K = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * L + this.slot.bar * R * this.absoluteDataset.filter((Q) => Q.type === "bar").filter((Q) => !this.segregatedSeries.includes(Q.id)).length;
404
404
  return {
405
405
  yOffset: this.checkNaN(S),
406
406
  individualHeight: this.checkNaN(k),
407
- x: this.checkNaN(Q),
407
+ x: this.checkNaN(K),
408
408
  y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(S) - (this.checkNaN(k) * E[R] || 0)),
409
409
  value: a.absoluteValues[R],
410
410
  zeroPosition: this.checkNaN(T),
411
411
  individualMax: this.checkNaN(t),
412
412
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
413
413
  };
414
- }), w = A.ticks.map((C) => ({
414
+ }), w = y.ticks.map((C) => ({
415
415
  y: C >= 0 ? T - k * (C / t) : T + k * Math.abs(C) / t,
416
416
  value: C,
417
417
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
@@ -427,41 +427,41 @@ const nt = ne(), ct = {
427
427
  datapoint: a
428
428
  };
429
429
  });
430
- return this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? P : w, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? Y : T, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? o : t, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = S, this.scaleGroups[a.scaleLabel].individualHeight = k, this.scaleGroups[a.scaleLabel].autoScaleYLabels = P, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((C) => C.scaleLabel === a.scaleLabel).length === 1, {
430
+ return this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? P : w, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? Y : T, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? c : t, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = S, this.scaleGroups[a.scaleLabel].individualHeight = k, this.scaleGroups[a.scaleLabel].autoScaleYLabels = P, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((C) => C.scaleLabel === a.scaleLabel).length === 1, {
431
431
  ...a,
432
432
  yOffset: S,
433
433
  autoScaleYLabels: P,
434
434
  individualHeight: k,
435
435
  scaleYLabels: a.autoScaling ? P : w,
436
- individualScale: a.autoScaling ? b : A,
437
- individualMax: a.autoScaling ? o : t,
436
+ individualScale: a.autoScaling ? b : y,
437
+ individualMax: a.autoScaling ? c : t,
438
438
  zeroPosition: a.autoScaling ? Y : T,
439
- plots: a.autoScaling ? K : te,
439
+ plots: a.autoScaling ? J : te,
440
440
  groupId: this.scaleGroups[a.scaleLabel].groupId
441
441
  };
442
442
  });
443
443
  },
444
444
  lineSet() {
445
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), c = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (c - 1) : 0, e = this.drawingArea.height - l;
445
+ const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (o - 1) : 0, e = this.drawingArea.height - l;
446
446
  return r.filter((a) => a.type === "line").map((a, L) => {
447
447
  this.checkAutoScaleError(a);
448
448
  const z = this.scaleGroups[a.scaleLabel].min, G = this.scaleGroups[a.scaleLabel].max;
449
- a.absoluteValues.filter((F) => ![null, void 0].includes(F)).map((F) => (F - z) / (G - z));
449
+ a.absoluteValues.filter((_) => ![null, void 0].includes(_)).map((_) => (_ - z) / (G - z));
450
450
  const N = {
451
451
  valueMin: z,
452
452
  valueMax: G
453
- }, y = {
453
+ }, A = {
454
454
  max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
455
455
  min: a.scaleMin || (Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues))
456
- }, v = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, A = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(y.min, y.max === y.min ? y.max * m : y.max, v) : this.calculateNiceScaleWithExactExtremes(y.min, y.max === y.min ? y.max * m : y.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = A.min >= 0 ? 0 : Math.abs(A.min), H = 0, t = A.max + Math.abs(M), o = b.max + Math.abs(H), n = a.stackIndex, d = c - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + u * d : 0, k = f ? e * a.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / o, B = a.series.map((F, D) => {
457
- const he = this.mutableConfig.useIndividualScale ? (a.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(F);
456
+ }, v = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, y = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(A.min, A.max === A.min ? A.max * m : A.max, v) : this.calculateNiceScaleWithExactExtremes(A.min, A.max === A.min ? A.max * m : A.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = y.min >= 0 ? 0 : Math.abs(y.min), H = 0, t = y.max + Math.abs(M), c = b.max + Math.abs(H), n = a.stackIndex, d = o - 1 - n, p = f ? 1 - a.cumulatedStackRatio : 0, S = f ? e * p + u * d : 0, k = f ? e * a.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = a.series.map((_, D) => {
457
+ const he = this.mutableConfig.useIndividualScale ? (a.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(_);
458
458
  return {
459
459
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
460
460
  y: this.checkNaN(this.drawingArea.bottom - S - k * he),
461
461
  value: a.absoluteValues[D],
462
462
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
463
463
  };
464
- }), te = a.absoluteValues.map((F) => b.min >= 0 ? (F - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (F + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = a.series.map((F, D) => [void 0, null].includes(a.absoluteValues[D]) ? {
464
+ }), te = a.absoluteValues.map((_) => b.min >= 0 ? (_ - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (_ + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = a.series.map((_, D) => [void 0, null].includes(a.absoluteValues[D]) ? {
465
465
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
466
466
  y: T,
467
467
  value: a.absoluteValues[D],
@@ -471,44 +471,44 @@ const nt = ne(), ct = {
471
471
  y: this.checkNaN(this.drawingArea.bottom - S - (k * te[D] || 0)),
472
472
  value: a.absoluteValues[D],
473
473
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
474
- }), K = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(B) : this.createSmoothPath(B.filter((F) => F.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((F) => F.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(B) : this.createStraightPath(B.filter((F) => F.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((F) => F.value !== null)), R = A.ticks.map((F) => ({
475
- y: F >= 0 ? T - k * (F / t) : T + k * Math.abs(F) / t,
476
- value: F,
474
+ }), J = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(W) : this.createSmoothPath(W.filter((_) => _.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((_) => _.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(W) : this.createStraightPath(W.filter((_) => _.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((_) => _.value !== null)), R = y.ticks.map((_) => ({
475
+ y: _ >= 0 ? T - k * (_ / t) : T + k * Math.abs(_) / t,
476
+ value: _,
477
477
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
478
478
  suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
479
479
  datapoint: a
480
- })), Q = b.ticks.map((F) => {
481
- const D = (F - b.min) / (b.max - b.min);
480
+ })), K = b.ticks.map((_) => {
481
+ const D = (_ - b.min) / (b.max - b.min);
482
482
  return {
483
- y: F >= 0 ? Y - k * D : Y + k * D,
484
- value: F,
483
+ y: _ >= 0 ? Y - k * D : Y + k * D,
484
+ value: _,
485
485
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
486
486
  suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
487
487
  datapoint: a
488
488
  };
489
489
  });
490
- this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? Q : R, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? Y : T, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? o : t, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = S, this.scaleGroups[a.scaleLabel].individualHeight = k, this.scaleGroups[a.scaleLabel].autoScaleYLabels = Q, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((F) => F.scaleLabel === a.scaleLabel).length === 1;
491
- const J = this.mutableConfig.useIndividualScale ? a.autoScaling ? Y : T : this.zero, re = Math.max(Math.max(a.autoScaling ? Y : R.at(-1).y || 0, this.drawingArea.top), J);
490
+ this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? K : R, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? Y : T, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? c : t, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = S, this.scaleGroups[a.scaleLabel].individualHeight = k, this.scaleGroups[a.scaleLabel].autoScaleYLabels = K, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((_) => _.scaleLabel === a.scaleLabel).length === 1;
491
+ const Q = this.mutableConfig.useIndividualScale ? a.autoScaling ? Y : T : this.zero, re = Math.max(Math.max(a.autoScaling ? Y : R.at(-1).y || 0, this.drawingArea.top), Q);
492
492
  return {
493
493
  ...a,
494
494
  yOffset: S,
495
- autoScaleYLabels: Q,
495
+ autoScaleYLabels: K,
496
496
  individualHeight: k,
497
- scaleYLabels: a.autoScaling ? Q : R,
498
- individualScale: a.autoScaling ? b : A,
499
- individualMax: a.autoScaling ? o : t,
497
+ scaleYLabels: a.autoScaling ? K : R,
498
+ individualScale: a.autoScaling ? b : y,
499
+ individualMax: a.autoScaling ? c : t,
500
500
  zeroPosition: a.autoScaling ? Y : T,
501
- curve: a.autoScaling ? w : K,
502
- plots: a.autoScaling ? E : B,
501
+ curve: a.autoScaling ? w : J,
502
+ plots: a.autoScaling ? E : W,
503
503
  area: a.useArea ? this.mutableConfig.useIndividualScale ? this.FINAL_CONFIG.line.cutNullValues ? this.createIndividualAreaWithCuts(
504
- a.autoScaling ? E : B,
504
+ a.autoScaling ? E : W,
505
505
  re
506
506
  ) : this.createIndividualArea(
507
- a.autoScaling ? E.filter((F) => F.value !== null) : B.filter((F) => F.value !== null),
507
+ a.autoScaling ? E.filter((_) => _.value !== null) : W.filter((_) => _.value !== null),
508
508
  re
509
- ) : this.createIndividualArea(B.filter((F) => F.value !== null), re) : "",
509
+ ) : this.createIndividualArea(W.filter((_) => _.value !== null), re) : "",
510
510
  curveAreas: a.useArea ? ce(
511
- a.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((F) => F.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? B : B.filter((F) => F.value !== null),
511
+ a.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((_) => _.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? W : W.filter((_) => _.value !== null),
512
512
  re,
513
513
  this.FINAL_CONFIG.line.cutNullValues
514
514
  ) : [],
@@ -518,7 +518,7 @@ const nt = ne(), ct = {
518
518
  });
519
519
  },
520
520
  plotSet() {
521
- const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), c = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (c - 1) : 0, e = this.drawingArea.height - l;
521
+ const r = this.activeSeriesWithStackRatios.filter((a) => ["bar", "line", "plot"].includes(a.type)), o = r.length, u = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? u * (o - 1) : 0, e = this.drawingArea.height - l;
522
522
  return r.filter((a) => a.type === "plot").map((a) => {
523
523
  this.checkAutoScaleError(a);
524
524
  const L = this.scaleGroups[a.scaleLabel].min, z = this.scaleGroups[a.scaleLabel].max;
@@ -529,7 +529,7 @@ const nt = ne(), ct = {
529
529
  }, N = {
530
530
  max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
531
531
  min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
532
- }, y = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, v = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * v : N.max, y), A = this.calculateNiceScaleWithExactExtremes(G.valueMin, G.valueMax === G.valueMin ? G.valueMax * v : G.valueMax, y), b = m.min >= 0 ? 0 : Math.abs(m.min), M = 0, H = m.max + b, t = A.max + Math.abs(M), o = a.stackIndex, n = c - 1 - o, d = f ? 1 - a.cumulatedStackRatio : 0, p = f ? e * d + u * n : 0, S = f ? e * a.stackRatio : this.drawingArea.height, k = this.drawingArea.bottom - p - S * b / H, T = this.drawingArea.bottom - p - S * M / t, Y = a.series.map((w, P) => {
532
+ }, A = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, v = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * v : N.max, A), y = this.calculateNiceScaleWithExactExtremes(G.valueMin, G.valueMax === G.valueMin ? G.valueMax * v : G.valueMax, A), b = m.min >= 0 ? 0 : Math.abs(m.min), M = 0, H = m.max + b, t = y.max + Math.abs(M), c = a.stackIndex, n = o - 1 - c, d = f ? 1 - a.cumulatedStackRatio : 0, p = f ? e * d + u * n : 0, S = f ? e * a.stackRatio : this.drawingArea.height, k = this.drawingArea.bottom - p - S * b / H, T = this.drawingArea.bottom - p - S * M / t, Y = a.series.map((w, P) => {
533
533
  const C = this.mutableConfig.useIndividualScale ? (a.absoluteValues[P] + Math.abs(b)) / H : this.ratioToMax(w);
534
534
  return {
535
535
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * P),
@@ -537,9 +537,9 @@ const nt = ne(), ct = {
537
537
  value: a.absoluteValues[P],
538
538
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
539
539
  };
540
- }), B = a.absoluteValues.map((w) => A.min >= 0 ? (w - Math.abs(A.min)) / (A.max - Math.abs(A.min)) : (w + Math.abs(A.min)) / (A.max + Math.abs(A.min))), te = a.series.map((w, P) => ({
540
+ }), W = a.absoluteValues.map((w) => y.min >= 0 ? (w - Math.abs(y.min)) / (y.max - Math.abs(y.min)) : (w + Math.abs(y.min)) / (y.max + Math.abs(y.min))), te = a.series.map((w, P) => ({
541
541
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * P),
542
- y: this.checkNaN(this.drawingArea.bottom - p - (S * B[P] || 0)),
542
+ y: this.checkNaN(this.drawingArea.bottom - p - (S * W[P] || 0)),
543
543
  value: a.absoluteValues[P],
544
544
  comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
545
545
  })), E = m.ticks.map((w) => ({
@@ -548,8 +548,8 @@ const nt = ne(), ct = {
548
548
  prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
549
549
  suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
550
550
  datapoint: a
551
- })), K = A.ticks.map((w) => {
552
- const P = (w - A.min) / (A.max - A.min);
551
+ })), J = y.ticks.map((w) => {
552
+ const P = (w - y.min) / (y.max - y.min);
553
553
  return {
554
554
  y: w >= 0 ? T - S * P : T + S * P,
555
555
  value: w,
@@ -558,13 +558,13 @@ const nt = ne(), ct = {
558
558
  datapoint: a
559
559
  };
560
560
  });
561
- return this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? K : E, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? T : k, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? t : H, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = p, this.scaleGroups[a.scaleLabel].individualHeight = S, this.scaleGroups[a.scaleLabel].autoScaleYLabels = K, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((w) => w.scaleLabel === a.scaleLabel).length === 1, {
561
+ return this.scaleGroups[a.scaleLabel].name = a.name, this.scaleGroups[a.scaleLabel].groupName = a.scaleLabel, this.scaleGroups[a.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || a.color, this.scaleGroups[a.scaleLabel].color = a.color, this.scaleGroups[a.scaleLabel].scaleYLabels = a.autoScaling ? J : E, this.scaleGroups[a.scaleLabel].zeroPosition = a.autoScaling ? T : k, this.scaleGroups[a.scaleLabel].individualMax = a.autoScaling ? t : H, this.scaleGroups[a.scaleLabel].scaleLabel = a.scaleLabel, this.scaleGroups[a.scaleLabel].id = a.id, this.scaleGroups[a.scaleLabel].yOffset = p, this.scaleGroups[a.scaleLabel].individualHeight = S, this.scaleGroups[a.scaleLabel].autoScaleYLabels = J, this.scaleGroups[a.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((w) => w.scaleLabel === a.scaleLabel).length === 1, {
562
562
  ...a,
563
563
  yOffset: p,
564
- autoScaleYLabels: K,
564
+ autoScaleYLabels: J,
565
565
  individualHeight: S,
566
- scaleYLabels: a.autoScaling ? K : E,
567
- individualScale: a.autoScaling ? A : m,
566
+ scaleYLabels: a.autoScaling ? J : E,
567
+ individualScale: a.autoScaling ? y : m,
568
568
  individualMax: a.autoScaling ? t : H,
569
569
  zeroPosition: a.autoScaling ? T : k,
570
570
  plots: a.autoScaling ? te : Y,
@@ -580,7 +580,7 @@ const nt = ne(), ct = {
580
580
  l.add(a);
581
581
  }), l.size;
582
582
  }
583
- const c = r(this.absoluteDataset.filter((f) => !this.segregatedSeries.includes(f.id))), u = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? c * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
583
+ const o = r(this.absoluteDataset.filter((f) => !this.segregatedSeries.includes(f.id))), u = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? o * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
584
584
  return {
585
585
  top: this.FINAL_CONFIG.chart.padding.top,
586
586
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
@@ -596,7 +596,7 @@ const nt = ne(), ct = {
596
596
  min() {
597
597
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
598
598
  return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
599
- const r = Math.min(...this.safeDataset.filter((c) => !this.segregatedSeries.includes(c.id)).map((c) => Math.min(...c.series)));
599
+ const r = Math.min(...this.safeDataset.filter((o) => !this.segregatedSeries.includes(o.id)).map((o) => Math.min(...o.series)));
600
600
  return r > 0 ? 0 : r;
601
601
  },
602
602
  niceScale() {
@@ -606,8 +606,8 @@ const nt = ne(), ct = {
606
606
  return this.slicer.end - this.slicer.start;
607
607
  },
608
608
  timeLabels() {
609
- const r = Math.max(...this.dataset.map((c) => this.largestTriangleThreeBucketsArray({ data: c.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
610
- return je({
609
+ const r = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
610
+ return $e({
611
611
  values: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values,
612
612
  maxDatapoints: r,
613
613
  formatter: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.datetimeFormatter,
@@ -623,7 +623,7 @@ const nt = ne(), ct = {
623
623
  };
624
624
  },
625
625
  barSlot() {
626
- const r = this.safeDataset.filter((c) => c.type === "bar").filter((c) => !this.segregatedSeries.includes(c.id)).length;
626
+ const r = this.safeDataset.filter((o) => o.type === "bar").filter((o) => !this.segregatedSeries.includes(o.id)).length;
627
627
  return this.drawingArea.width / this.maxSeries / r - this.barPeriodGap * r;
628
628
  },
629
629
  barPeriodGap() {
@@ -638,18 +638,18 @@ const nt = ne(), ct = {
638
638
  label: u.name,
639
639
  color: u.color,
640
640
  type: u.type
641
- })), c = [];
641
+ })), o = [];
642
642
  return this.timeLabels.forEach((u, f) => {
643
643
  const l = [u.text];
644
644
  this.relativeDataset.forEach((e) => {
645
645
  l.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
646
- }), c.push(l);
647
- }), { head: r, body: c };
646
+ }), o.push(l);
647
+ }), { head: r, body: o };
648
648
  },
649
649
  dataTable() {
650
650
  const r = this.FINAL_CONFIG.table.showSum;
651
- let c = [""].concat(this.relativeDataset.map((e) => e.name));
652
- r && (c = c.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>'));
651
+ let o = [""].concat(this.relativeDataset.map((e) => e.name));
652
+ r && (o = o.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
653
653
  let u = [];
654
654
  for (let e = 0; e < this.maxSeries; e += 1) {
655
655
  const a = this.relativeDataset.map((L) => L.absoluteValues[e] ?? 0).reduce((L, z) => L + z, 0);
@@ -683,7 +683,7 @@ const nt = ne(), ct = {
683
683
  },
684
684
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
685
685
  }, l = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
686
- return { head: c, body: u, config: f, colNames: l };
686
+ return { head: o, body: u, config: f, colNames: l };
687
687
  },
688
688
  dataTooltipSlot() {
689
689
  return {
@@ -703,14 +703,14 @@ const nt = ne(), ct = {
703
703
  name: r.name,
704
704
  color: r.color,
705
705
  type: r.type,
706
- value: r.absoluteValues.find((c, u) => u === this.selectedSerieIndex),
706
+ value: r.absoluteValues.find((o, u) => u === this.selectedSerieIndex),
707
707
  comments: r.comments || [],
708
708
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
709
709
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix
710
710
  }));
711
711
  },
712
712
  tooltipContent() {
713
- let r = "", c = this.selectedSeries.map((l) => l.value).filter((l) => this.isSafeValue(l) && l !== null).reduce((l, e) => Math.abs(l) + Math.abs(e), 0);
713
+ let r = "", o = this.selectedSeries.map((l) => l.value).filter((l) => this.isSafeValue(l) && l !== null).reduce((l, e) => Math.abs(l) + Math.abs(e), 0);
714
714
  const u = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
715
715
  return this.isFunction(f) && this.functionReturnsString(() => f({
716
716
  seriesIndex: this.selectedSerieIndex,
@@ -779,7 +779,7 @@ const nt = ne(), ct = {
779
779
  }),
780
780
  { datapoint: l }
781
781
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${oe({
782
- v: this.checkNaN(Math.abs(l.value) / c * 100),
782
+ v: this.checkNaN(Math.abs(l.value) / o * 100),
783
783
  s: "%",
784
784
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
785
785
  })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && l.comments.length && l.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${l.color}">${l.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
@@ -806,26 +806,26 @@ const nt = ne(), ct = {
806
806
  annotationsY() {
807
807
  const r = this.FINAL_CONFIG.chart.annotations;
808
808
  if (!Array.isArray(r) || r.every((N) => !N.show)) return [];
809
- const c = r.filter(
809
+ const o = r.filter(
810
810
  (N) => N.show && (N.yAxis.yTop != null || N.yAxis.yBottom != null)
811
811
  );
812
- if (!c.length) return [];
812
+ if (!o.length) return [];
813
813
  const { left: u, right: f } = this.drawingArea, l = this.zero, e = this.drawingArea.height, a = this.niceScale.min, z = this.niceScale.max - a, G = (N) => {
814
- const y = (N - 0) / z;
815
- return l - y * e;
814
+ const A = (N - 0) / z;
815
+ return l - A * e;
816
816
  };
817
- return c.map((N) => {
818
- const { yAxis: { yTop: y, yBottom: v, label: m } } = N, A = y != null && v != null && y !== v, b = y == null ? null : G(y), M = v == null ? null : G(v), H = this.getTextMeasurer(m.fontSize);
817
+ return o.map((N) => {
818
+ const { yAxis: { yTop: A, yBottom: v, label: m } } = N, y = A != null && v != null && A !== v, b = A == null ? null : G(A), M = v == null ? null : G(v), H = this.getTextMeasurer(m.fontSize);
819
819
  H.font = `${m.fontSize}px sans-serif`;
820
- const t = H.measureText(m.text).width, o = m.fontSize, n = (m.position === "start" ? u + m.padding.left : f - m.padding.right) + m.offsetX, p = (b != null && M != null ? Math.min(b, M) : b ?? M) - m.fontSize / 3 + m.offsetY - m.padding.top;
820
+ const t = H.measureText(m.text).width, c = m.fontSize, n = (m.position === "start" ? u + m.padding.left : f - m.padding.right) + m.offsetX, p = (b != null && M != null ? Math.min(b, M) : b ?? M) - m.fontSize / 3 + m.offsetY - m.padding.top;
821
821
  let S;
822
822
  m.textAnchor === "middle" ? S = n - t / 2 - m.padding.left : m.textAnchor === "end" ? S = n - t - m.padding.right : S = n - m.padding.left;
823
- const k = p - o * 0.75 - m.padding.top;
823
+ const k = p - c * 0.75 - m.padding.top;
824
824
  return {
825
825
  show: ![b, M, k].includes(NaN),
826
826
  id: `annotation_y_${this.createUid()}`,
827
- hasArea: A,
828
- areaHeight: A ? Math.abs(b - M) : 0,
827
+ hasArea: y,
828
+ areaHeight: y ? Math.abs(b - M) : 0,
829
829
  yTop: b,
830
830
  yBottom: M,
831
831
  config: N.yAxis,
@@ -836,7 +836,7 @@ const nt = ne(), ct = {
836
836
  x: S,
837
837
  y: k,
838
838
  width: t + m.padding.left + m.padding.right,
839
- height: o + m.padding.top + m.padding.bottom,
839
+ height: c + m.padding.top + m.padding.bottom,
840
840
  fill: m.backgroundColor,
841
841
  stroke: m.border.stroke,
842
842
  rx: m.border.rx,
@@ -859,22 +859,23 @@ const nt = ne(), ct = {
859
859
  document.removeEventListener("scroll", this.hideTags), this.resizeObserver && (this.resizeObserver.unobserve(this.observedEl), this.resizeObserver.disconnect());
860
860
  },
861
861
  methods: {
862
- abbreviate: qe,
863
- adaptColorToBackground: Ye,
864
- applyDataLabel: Ee,
865
- assignStackRatios: Be,
862
+ abbreviate: Xe,
863
+ adaptColorToBackground: qe,
864
+ applyDataLabel: Ye,
865
+ assignStackRatios: Ee,
866
866
  calcLinearProgression: We,
867
- calculateNiceScale: De,
868
- calculateNiceScaleWithExactExtremes: He,
869
- checkNaN: Re,
870
- closestDecimal: Ve,
871
- convertColorToHex: Pe,
872
- convertConfigColors: Te,
873
- convertCustomPalette: Me,
874
- createCsvContent: ze,
875
- createSmoothPath: pe,
876
- createStraightPath: ve,
877
- createTSpans: Ge,
867
+ calculateNiceScale: Be,
868
+ calculateNiceScaleWithExactExtremes: De,
869
+ checkNaN: He,
870
+ closestDecimal: Re,
871
+ convertColorToHex: Ve,
872
+ convertConfigColors: Pe,
873
+ convertCustomPalette: Te,
874
+ createCsvContent: Me,
875
+ createSmoothPath: ze,
876
+ createStraightPath: pe,
877
+ createTSpans: ve,
878
+ createTSpansFromLineBreaksOnX: Ge,
878
879
  dataLabel: oe,
879
880
  downloadCsv: Oe,
880
881
  error: we,
@@ -882,14 +883,14 @@ const nt = ne(), ct = {
882
883
  functionReturnsString: Se,
883
884
  hasDeepProperty: Ce,
884
885
  isFunction: Le,
885
- isSafeValue: Ae,
886
- largestTriangleThreeBucketsArray: ye,
886
+ isSafeValue: ye,
887
+ largestTriangleThreeBucketsArray: Ae,
887
888
  objectIsEmpty: _e,
888
889
  setOpacity: Fe,
889
890
  shiftHue: be,
890
891
  translateSize: me,
891
892
  treeShake: Ne,
892
- useMouse: Je,
893
+ useMouse: je,
893
894
  useNestedProp: ie,
894
895
  createUid: ne,
895
896
  placeXYTag: xe,
@@ -902,19 +903,19 @@ const nt = ne(), ct = {
902
903
  usesSelectTimeLabelEvent() {
903
904
  return !!this.$.vnode.props?.onSelectTimeLabel;
904
905
  },
905
- getTextMeasurer(r, c, u) {
906
+ getTextMeasurer(r, o, u) {
906
907
  if (!this._textMeasurer) {
907
908
  const f = document.createElement("canvas");
908
909
  this._textMeasurer = f.getContext("2d");
909
910
  }
910
- return this._textMeasurer.font = `${u || "normal"} ${r}px ${c || "sans-serif"}`, this._textMeasurer;
911
+ return this._textMeasurer.font = `${u || "normal"} ${r}px ${o || "sans-serif"}`, this._textMeasurer;
911
912
  },
912
913
  hideTags() {
913
914
  const r = document.querySelectorAll(".vue-ui-xy-tag");
914
- r.length && Array.from(r).forEach((c) => c.style.opacity = "0");
915
+ r.length && Array.from(r).forEach((o) => o.style.opacity = "0");
915
916
  },
916
- setTagRef(r, c, u, f, l) {
917
- u && (this.tagRefs[`${r}_${c}_${f}_${l}`] = u);
917
+ setTagRef(r, o, u, f, l) {
918
+ u && (this.tagRefs[`${r}_${o}_${f}_${l}`] = u);
918
919
  },
919
920
  setUserOptionsVisibility(r = !1) {
920
921
  this.showUserOptionsOnChartHover && (this.userOptionsVisible = r);
@@ -922,13 +923,13 @@ const nt = ne(), ct = {
922
923
  toggleAnnotator() {
923
924
  this.isAnnotator = !this.isAnnotator;
924
925
  },
925
- selectTimeLabel(r, c) {
926
+ selectTimeLabel(r, o) {
926
927
  const u = this.relativeDataset.map((f) => ({
927
928
  shape: f.shape || null,
928
929
  name: f.name,
929
930
  color: f.color,
930
931
  type: f.type,
931
- value: f.absoluteValues.find((l, e) => e === c),
932
+ value: f.absoluteValues.find((l, e) => e === o),
932
933
  comments: f.comments || [],
933
934
  prefix: f.prefix || this.FINAL_CONFIG.chart.labels.prefix,
934
935
  suffix: f.suffix || this.FINAL_CONFIG.chart.labels.suffix
@@ -940,47 +941,47 @@ const nt = ne(), ct = {
940
941
  });
941
942
  },
942
943
  getHighlightAreaPosition(r) {
943
- const c = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (r.from - this.slicer.start), u = this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span;
944
+ const o = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (r.from - this.slicer.start), u = this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span;
944
945
  return {
945
- x: c < this.drawingArea.left ? this.drawingArea.left : c,
946
+ x: o < this.drawingArea.left ? this.drawingArea.left : o,
946
947
  width: u
947
948
  };
948
949
  },
949
950
  prepareConfig() {
950
- const r = Xe().vue_ui_xy;
951
+ const r = Ue().vue_ui_xy;
951
952
  if (!Object.keys(this.config || {}).length)
952
953
  return r;
953
- const c = this.useNestedProp({
954
+ const o = this.useNestedProp({
954
955
  userConfig: this.config,
955
956
  defaultConfig: r
956
957
  });
957
- return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? c.chart.highlightArea = this.config.chart.highlightArea : c.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? c.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : c.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? c.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : c.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? c.chart.zoom.startIndex = this.config.chart.zoom.startIndex : c.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? c.chart.zoom.endIndex = this.config.chart.zoom.endIndex : c.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? c.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : c.chart.grid.labels.yAxis.groupColor = null, this.config && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length && (c.chart.annotations = this.config.chart.annotations.map((u) => ie({
958
+ return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? o.chart.highlightArea = this.config.chart.highlightArea : o.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? o.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : o.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? o.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : o.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? o.chart.zoom.startIndex = this.config.chart.zoom.startIndex : o.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? o.chart.zoom.endIndex = this.config.chart.zoom.endIndex : o.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? o.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : o.chart.grid.labels.yAxis.groupColor = null, this.config && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length && (o.chart.annotations = this.config.chart.annotations.map((u) => ie({
958
959
  defaultConfig: r.chart.annotations[0],
959
960
  userConfig: u
960
- }))), c.theme ? {
961
+ }))), o.theme ? {
961
962
  ...ie({
962
- userConfig: this.themes.vue_ui_xy[c.theme] || this.config,
963
- defaultConfig: c
963
+ userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
964
+ defaultConfig: o
964
965
  }),
965
- customPalette: this.themePalettes[c.theme] || this.palette
966
- } : c;
966
+ customPalette: this.themePalettes[o.theme] || this.palette
967
+ } : o;
967
968
  },
968
969
  prepareChart() {
969
970
  if (this.objectIsEmpty(this.dataset) ? this.error({
970
971
  componentName: "VueUiXy",
971
972
  type: "dataset"
972
- }) : this.dataset.forEach((r, c) => {
973
+ }) : this.dataset.forEach((r, o) => {
973
974
  [null, void 0].includes(r.name) && this.error({
974
975
  componentName: "VueUiXy",
975
976
  type: "datasetSerieAttribute",
976
977
  property: "name (string)",
977
- index: c
978
+ index: o
978
979
  });
979
980
  }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((r) => {
980
- r.series.forEach((c, u) => {
981
- this.isSafeValue(c) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
982
- -----> The serie '${r.name}' contains the value '${c}' at index ${u}.
983
- '${c}' was converted to null to allow the chart to display.`);
981
+ r.series.forEach((o, u) => {
982
+ this.isSafeValue(o) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
983
+ -----> The serie '${r.name}' contains the value '${o}' at index ${u}.
984
+ '${o}' was converted to null to allow the chart to display.`);
984
985
  });
985
986
  }), this.showUserOptionsOnChartHover = this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.keepUserOptionState = this.FINAL_CONFIG.chart.userOptions.keepStateOnChartLeave, this.userOptionsVisible = !this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.mutableConfig = {
986
987
  dataLabels: {
@@ -991,9 +992,9 @@ const nt = ne(), ct = {
991
992
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
992
993
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
993
994
  }, this.FINAL_CONFIG.responsive) {
994
- const c = this.$refs.chart.parentNode;
995
+ const o = this.$refs.chart.parentNode;
995
996
  this.resizeObserver && (this.resizeObserver.unobserve(this.observedEl), this.resizeObserver.disconnect());
996
- const { height: u, width: f } = c.getBoundingClientRect();
997
+ const { height: u, width: f } = o.getBoundingClientRect();
997
998
  let l = null, e = 0;
998
999
  this.FINAL_CONFIG.chart.title.show && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
999
1000
  let a = null, L = 0;
@@ -1002,15 +1003,15 @@ const nt = ne(), ct = {
1002
1003
  this.FINAL_CONFIG.chart.legend.show && (z = this.$refs.chartLegend, G = z.getBoundingClientRect().height);
1003
1004
  let N = 0;
1004
1005
  this.$refs.source && (N = this.$refs.source.getBoundingClientRect().height);
1005
- let y = 0;
1006
- this.$refs.noTitle && (y = this.$refs.noTitle.getBoundingClientRect().height), this.height = u - e - G - L - N - y, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1006
+ let A = 0;
1007
+ this.$refs.noTitle && (A = this.$refs.noTitle.getBoundingClientRect().height), this.height = u - e - G - L - N - A, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1007
1008
  const v = new ResizeObserver((m) => {
1008
- for (const A of m)
1009
+ for (const y of m)
1009
1010
  this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (L = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (G = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (N = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
1010
- this.height = A.contentBoxSize[0].blockSize - e - G - L - N - 24, this.width = A.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1011
+ this.height = y.contentBoxSize[0].blockSize - e - G - L - N - 24, this.width = y.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1011
1012
  });
1012
1013
  });
1013
- this.resizeObserver = v, this.observedEl = c, v.observe(c);
1014
+ this.resizeObserver = v, this.observedEl = o, v.observe(o);
1014
1015
  } else
1015
1016
  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;
1016
1017
  },
@@ -1075,19 +1076,19 @@ const nt = ne(), ct = {
1075
1076
  checkAutoScaleError(r) {
1076
1077
  r.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${r.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${r.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
1077
1078
  },
1078
- createArea(r, c) {
1079
+ createArea(r, o) {
1079
1080
  if (!r[0]) return [-10, -10, "", -10, -10];
1080
- const u = { x: r[0].x, y: c }, f = { x: r.at(-1).x, y: c }, l = [];
1081
+ const u = { x: r[0].x, y: o }, f = { x: r.at(-1).x, y: o }, l = [];
1081
1082
  return r.forEach((e) => {
1082
1083
  l.push(`${e.x},${e.y} `);
1083
1084
  }), [u.x, u.y, ...l, f.x, f.y].toString();
1084
1085
  },
1085
1086
  createStar: ae,
1086
1087
  createPolygonPath: X,
1087
- fillArray(r, c) {
1088
+ fillArray(r, o) {
1088
1089
  let u = Array(r).fill(0);
1089
- for (let f = 0; f < c.length && f < r; f += 1)
1090
- u[f] = c[f];
1090
+ for (let f = 0; f < o.length && f < r; f += 1)
1091
+ u[f] = o[f];
1091
1092
  return u;
1092
1093
  },
1093
1094
  async setupSlicer() {
@@ -1100,12 +1101,12 @@ const nt = ne(), ct = {
1100
1101
  this.setupSlicer();
1101
1102
  },
1102
1103
  validSlicerEnd(r) {
1103
- const c = Math.max(...this.dataset.map((u) => this.largestTriangleThreeBucketsArray({ data: u.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
1104
- return r > c ? c : r < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && r < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : r;
1104
+ const o = Math.max(...this.dataset.map((u) => this.largestTriangleThreeBucketsArray({ data: u.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
1105
+ return r > o ? o : r < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && r < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : r;
1105
1106
  },
1106
1107
  calcRectHeight(r) {
1107
- const c = ![null, void 0].includes(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin) && this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin > 0 && this.min >= 0 ? this.drawingArea.bottom : this.zero;
1108
- return r.value >= 0 ? this.checkNaN(c - r.y <= 0 ? 1e-5 : c - r.y) : this.checkNaN(r.y - this.zero <= 0 ? 1e-5 : r.y - this.zero);
1108
+ const o = ![null, void 0].includes(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin) && this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin > 0 && this.min >= 0 ? this.drawingArea.bottom : this.zero;
1109
+ return r.value >= 0 ? this.checkNaN(o - r.y <= 0 ? 1e-5 : o - r.y) : this.checkNaN(r.y - this.zero <= 0 ? 1e-5 : r.y - this.zero);
1109
1110
  },
1110
1111
  calcIndividualHeight(r) {
1111
1112
  return r.value >= 0 ? this.checkNaN(r.zeroPosition - r.y <= 0 ? 1e-5 : r.zeroPosition - r.y) : this.checkNaN(r.y - r.zeroPosition <= 0 ? 1e-5 : r.zeroPosition - r.y);
@@ -1125,11 +1126,11 @@ const nt = ne(), ct = {
1125
1126
  canShowValue(r) {
1126
1127
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(r);
1127
1128
  },
1128
- findClosestValue(r, c) {
1129
- let u = c[0], f = Math.abs(r - c[0]);
1130
- for (let l = 1; l < c.length; l += 1) {
1131
- const e = Math.abs(r - c[l]);
1132
- e < f && c[l] < r && (u = c[l], f = e);
1129
+ findClosestValue(r, o) {
1130
+ let u = o[0], f = Math.abs(r - o[0]);
1131
+ for (let l = 1; l < o.length; l += 1) {
1132
+ const e = Math.abs(r - o[l]);
1133
+ e < f && o[l] < r && (u = o[l], f = e);
1133
1134
  }
1134
1135
  return u;
1135
1136
  },
@@ -1140,11 +1141,11 @@ const nt = ne(), ct = {
1140
1141
  this.$emit(
1141
1142
  "selectX",
1142
1143
  {
1143
- dataset: this.relativeDataset.map((c) => ({
1144
- name: c.name,
1145
- value: [null, void 0, NaN].includes(c.absoluteValues[r]) ? null : c.absoluteValues[r],
1146
- color: c.color,
1147
- type: c.type
1144
+ dataset: this.relativeDataset.map((o) => ({
1145
+ name: o.name,
1146
+ value: [null, void 0, NaN].includes(o.absoluteValues[r]) ? null : o.absoluteValues[r],
1147
+ color: o.color,
1148
+ type: o.type
1148
1149
  })),
1149
1150
  index: r,
1150
1151
  indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[r]
@@ -1161,20 +1162,20 @@ const nt = ne(), ct = {
1161
1162
  },
1162
1163
  segregate(r) {
1163
1164
  if (this.segregatedSeries.includes(r.id))
1164
- this.segregatedSeries = this.segregatedSeries.filter((c) => c !== r.id);
1165
+ this.segregatedSeries = this.segregatedSeries.filter((o) => o !== r.id);
1165
1166
  else {
1166
1167
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
1167
1168
  this.segregatedSeries.push(r.id);
1168
1169
  }
1169
- this.$emit("selectLegend", this.relativeDataset.map((c) => ({
1170
- name: c.name,
1171
- values: c.absoluteValues,
1172
- color: c.color,
1173
- type: c.type
1170
+ this.$emit("selectLegend", this.relativeDataset.map((o) => ({
1171
+ name: o.name,
1172
+ values: o.absoluteValues,
1173
+ color: o.color,
1174
+ type: o.type
1174
1175
  }))), this.segregateStep += 1;
1175
1176
  },
1176
- toggleTooltipVisibility(r, c = null) {
1177
- this.isTooltip = r, r ? this.selectedSerieIndex = c : this.selectedSerieIndex = null;
1177
+ toggleTooltipVisibility(r, o = null) {
1178
+ this.isTooltip = r, r ? this.selectedSerieIndex = o : this.selectedSerieIndex = null;
1178
1179
  },
1179
1180
  toggleFullscreen(r) {
1180
1181
  this.isFullscreen = r, this.step += 1;
@@ -1185,7 +1186,7 @@ const nt = ne(), ct = {
1185
1186
  async generatePdf() {
1186
1187
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1187
1188
  try {
1188
- const { default: r } = await import("./pdf-Cq3bf6D0.js");
1189
+ const { default: r } = await import("./pdf-C86OOuya.js");
1189
1190
  await r({
1190
1191
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1191
1192
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1199,7 +1200,7 @@ const nt = ne(), ct = {
1199
1200
  }, 100);
1200
1201
  },
1201
1202
  generateCsv(r = null) {
1202
- const c = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], u = ["", ...this.table.head.map((a) => a.label)], f = this.table.body, l = c.concat([u]).concat(f), e = this.createCsvContent(l);
1203
+ const o = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], u = ["", ...this.table.head.map((a) => a.label)], f = this.table.body, l = o.concat([u]).concat(f), e = this.createCsvContent(l);
1203
1204
  r ? r(e) : this.downloadCsv({ csvContent: e, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1204
1205
  },
1205
1206
  showSpinnerImage() {
@@ -1208,7 +1209,7 @@ const nt = ne(), ct = {
1208
1209
  async generateImage() {
1209
1210
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1210
1211
  try {
1211
- const { default: r } = await import("./img-CtqhCOnQ.js");
1212
+ const { default: r } = await import("./img-B5QfWbFM.js");
1212
1213
  await r({
1213
1214
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1214
1215
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1223,72 +1224,72 @@ const nt = ne(), ct = {
1223
1224
  }, 100);
1224
1225
  }
1225
1226
  }
1226
- }, ot = ["id"], ht = {
1227
+ }, ht = ["id"], ut = {
1227
1228
  key: 1,
1228
1229
  ref: "noTitle",
1229
1230
  class: "vue-data-ui-no-title-space",
1230
1231
  style: "height:36px; width: 100%; background:transparent"
1231
- }, ut = ["viewBox", "aria-label"], dt = ["x", "y", "width", "height"], gt = { key: 1 }, ft = { class: "vue-ui-xy-grid" }, It = ["stroke", "x1", "x2", "y1", "y2"], xt = ["stroke", "x1", "x2", "y1", "y2"], Nt = { key: 1 }, mt = ["x1", "x2", "y1", "y2", "stroke"], bt = ["x1", "x2", "y1", "y2", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke"], _t = { key: 3 }, yt = ["x1", "x2", "y1", "y2", "stroke"], At = { key: 4 }, Lt = ["y1", "y2", "x1", "x2", "stroke"], Ct = ["id"], St = ["stop-color"], kt = ["stop-color"], wt = ["stop-color"], Ot = ["id"], Gt = ["stop-color"], vt = ["stop-color"], pt = ["stop-color"], zt = ["id"], Mt = ["stop-color"], Tt = ["stop-color"], Pt = ["id"], Vt = ["stop-color"], Rt = ["stop-color"], Ht = ["id"], Dt = ["stop-color"], Wt = ["stop-color"], Bt = ["x", "y", "height", "width", "fill"], Et = ["x", "y", "width"], Yt = ["x", "y", "height", "width", "fill"], qt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Xt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ut = ["width", "x", "y"], Zt = { key: 0 }, Kt = ["id"], Qt = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], jt = ["x", "y", "font-size", "fill"], $t = ["stroke", "x1", "x2", "y1", "y2"], el = { key: 2 }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ll = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], rl = { key: 4 }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["fill", "font-size", "transform"], sl = ["x1", "x2", "y1", "y2", "stroke"], nl = ["x", "y", "font-size", "fill"], cl = ["x1", "x2", "y1", "y2", "stroke"], ol = ["x", "y", "font-size", "fill"], hl = ["width", "x", "y"], ul = { style: { width: "100%" } }, dl = { key: 0 }, gl = ["id"], fl = ["fill"], Il = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], xl = ["x", "y", "font-size", "fill"], Nl = ["d", "stroke", "stroke-width", "stroke-dasharray"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], bl = { key: 5 }, Fl = { key: 0 }, _l = ["d", "fill"], yl = ["d", "fill"], Al = ["d", "fill"], Ll = ["d", "fill"], Cl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Sl = ["d", "stroke", "stroke-width", "stroke-dasharray"], kl = ["width", "x", "y"], wl = { style: { width: "100%" } }, Ol = { key: 3 }, Gl = ["id"], vl = ["fill"], pl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], zl = ["x", "y", "font-size", "fill"], Ml = { key: 6 }, Tl = ["x", "y", "font-size", "fill"], Pl = ["x", "y", "font-size", "fill", "font-weight"], Vl = { key: 7 }, Rl = ["x", "y", "font-size", "fill"], Hl = { key: 8 }, Dl = ["x", "y"], Wl = ["innerHTML"], Bl = ["x", "y"], El = ["innerHTML"], Yl = ["x1", "x2", "y1", "y2", "stroke"], ql = { key: 9 }, Xl = ["x", "y", "font-size", "fill"], Ul = { key: 10 }, Zl = ["x", "y"], Kl = ["innerHTML"], Ql = ["x", "y"], Jl = ["innerHTML"], jl = ["x1", "x2", "y1", "y2", "stroke"], $l = ["x", "y", "font-size", "fill", "innerHTML"], er = ["x", "y", "font-size", "fill", "innerHTML"], tr = ["x", "y", "font-size", "fill", "innerHTML"], lr = ["x", "y", "font-size", "fill", "innerHTML"], rr = ["id"], ar = ["stop-color"], ir = ["stop-color"], sr = ["x", "y", "width", "height", "fill", "onMouseenter"], nr = ["font-size", "fill", "transform"], cr = ["x", "y", "font-size", "fill"], or = { key: 12 }, hr = ["text-anchor", "font-size", "fill", "transform", "onClick"], ur = { key: 13 }, dr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], gr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], fr = ["y", "x", "width", "height", "fill"], Ir = ["id", "x", "y", "font-size", "fill", "text-anchor"], xr = ["x", "y", "height", "width", "onMouseenter", "onClick"], Nr = {
1232
+ }, dt = ["viewBox", "aria-label"], gt = ["x", "y", "width", "height"], ft = { key: 1 }, It = { class: "vue-ui-xy-grid" }, xt = ["stroke", "x1", "x2", "y1", "y2"], Nt = ["stroke", "x1", "x2", "y1", "y2"], mt = { key: 1 }, bt = ["x1", "x2", "y1", "y2", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke"], _t = ["x1", "x2", "y1", "y2", "stroke"], At = { key: 3 }, yt = ["x1", "x2", "y1", "y2", "stroke"], Lt = { key: 4 }, Ct = ["y1", "y2", "x1", "x2", "stroke"], St = ["id"], kt = ["stop-color"], wt = ["stop-color"], Ot = ["stop-color"], Gt = ["id"], vt = ["stop-color"], pt = ["stop-color"], zt = ["stop-color"], Mt = ["id"], Tt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Rt = ["stop-color"], Ht = ["stop-color"], Dt = ["id"], Bt = ["stop-color"], Wt = ["stop-color"], Et = ["x", "y", "height", "width", "fill"], Yt = ["x", "y", "width"], qt = ["x", "y", "height", "width", "fill"], Xt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ut = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zt = ["width", "x", "y"], Jt = { key: 0 }, Kt = ["id"], Qt = ["fill"], jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], $t = ["x", "y", "font-size", "fill"], el = ["stroke", "x1", "x2", "y1", "y2"], tl = { key: 2 }, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], al = { key: 4 }, il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["fill", "font-size", "transform"], nl = ["x1", "x2", "y1", "y2", "stroke"], cl = ["x", "y", "font-size", "fill"], ol = ["x1", "x2", "y1", "y2", "stroke"], hl = ["x", "y", "font-size", "fill"], ul = ["width", "x", "y"], dl = { style: { width: "100%" } }, gl = { key: 0 }, fl = ["id"], Il = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Nl = ["x", "y", "font-size", "fill"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fl = { key: 5 }, _l = { key: 0 }, Al = ["d", "fill"], yl = ["d", "fill"], Ll = ["d", "fill"], Cl = ["d", "fill"], Sl = ["d", "stroke", "stroke-width", "stroke-dasharray"], kl = ["d", "stroke", "stroke-width", "stroke-dasharray"], wl = ["width", "x", "y"], Ol = { style: { width: "100%" } }, Gl = { key: 3 }, vl = ["id"], pl = ["fill"], zl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ml = ["x", "y", "font-size", "fill"], Tl = { key: 6 }, Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill", "font-weight"], Rl = { key: 7 }, Hl = ["x", "y", "font-size", "fill"], Dl = { key: 8 }, Bl = ["x", "y"], Wl = ["innerHTML"], El = ["x", "y"], Yl = ["innerHTML"], ql = ["x1", "x2", "y1", "y2", "stroke"], Xl = { key: 9 }, Ul = ["x", "y", "font-size", "fill"], Zl = { key: 10 }, Jl = ["x", "y"], Kl = ["innerHTML"], Ql = ["x", "y"], jl = ["innerHTML"], $l = ["x1", "x2", "y1", "y2", "stroke"], er = ["x", "y", "font-size", "fill", "innerHTML"], tr = ["x", "y", "font-size", "fill", "innerHTML"], lr = ["x", "y", "font-size", "fill", "innerHTML"], rr = ["x", "y", "font-size", "fill", "innerHTML"], ar = ["id"], ir = ["stop-color"], sr = ["stop-color"], nr = ["x", "y", "width", "height", "fill", "onMouseenter"], cr = ["font-size", "fill", "transform"], or = ["x", "y", "font-size", "fill"], hr = { key: 12 }, ur = ["text-anchor", "font-size", "fill", "transform", "onClick"], dr = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gr = { key: 13 }, fr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ir = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xr = ["y", "x", "width", "height", "fill"], Nr = ["id", "x", "y", "font-size", "fill", "text-anchor"], mr = ["x", "y", "height", "width", "onMouseenter", "onClick"], br = {
1232
1233
  key: 14,
1233
1234
  style: { "pointer-events": "none" }
1234
- }, mr = ["x", "y"], br = ["cx", "cy", "r", "fill"], Fr = {
1235
+ }, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"], Ar = {
1235
1236
  key: 5,
1236
1237
  class: "vue-data-ui-watermark"
1237
- }, _r = {
1238
+ }, yr = {
1238
1239
  class: "vue-ui-xy-tag-arrow",
1239
1240
  height: "20",
1240
1241
  viewBox: "0 0 10 20",
1241
1242
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1242
- }, yr = ["fill"], Ar = ["innerHTML"], Lr = {
1243
+ }, Lr = ["fill"], Cr = ["innerHTML"], Sr = {
1243
1244
  class: "vue-ui-xy-tag-arrow",
1244
1245
  height: "100%",
1245
1246
  viewBox: "0 0 10 20",
1246
1247
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1247
- }, Cr = ["fill"], Sr = ["innerHTML"], kr = {
1248
+ }, kr = ["fill"], wr = ["innerHTML"], Or = {
1248
1249
  class: "vue-ui-xy-tag-arrow",
1249
1250
  height: "20",
1250
1251
  viewBox: "0 0 10 20",
1251
1252
  style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1252
- }, wr = ["fill"], Or = ["innerHTML"], Gr = {
1253
+ }, Gr = ["fill"], vr = ["innerHTML"], pr = {
1253
1254
  class: "vue-ui-xy-tag-arrow",
1254
1255
  height: "100%",
1255
1256
  viewBox: "0 0 10 20",
1256
1257
  style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1257
- }, vr = ["fill"], pr = ["innerHTML"], zr = ["onClick"], Mr = {
1258
+ }, zr = ["fill"], Mr = ["innerHTML"], Tr = ["onClick"], Pr = {
1258
1259
  key: 0,
1259
1260
  viewBox: "0 0 20 12",
1260
1261
  height: "14",
1261
1262
  width: "20"
1262
- }, Tr = ["stroke", "fill"], Pr = {
1263
+ }, Vr = ["stroke", "fill"], Rr = {
1263
1264
  key: 1,
1264
1265
  viewBox: "0 0 40 40",
1265
1266
  height: "14",
1266
1267
  width: "14"
1267
- }, Vr = ["fill"], Rr = ["fill"], Hr = {
1268
+ }, Hr = ["fill"], Dr = ["fill"], Br = {
1268
1269
  key: 2,
1269
1270
  viewBox: "0 0 12 12",
1270
1271
  height: "14",
1271
1272
  width: "14"
1272
- }, Dr = {
1273
+ }, Wr = {
1273
1274
  key: 9,
1274
1275
  ref: "chartLegend"
1275
- }, Wr = {
1276
+ }, Er = {
1276
1277
  key: 10,
1277
1278
  ref: "source",
1278
1279
  dir: "auto"
1279
- }, Br = {
1280
+ }, Yr = {
1280
1281
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1281
1282
  "data-dom-to-png-ignore": ""
1282
- }, Er = ["innerHTML"];
1283
- function Yr(r, c, u, f, l, e) {
1284
- const a = q("PenAndPaper"), L = q("Title"), z = q("UserOptions"), G = q("PackageVersion"), N = q("Shape"), y = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), A = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
1283
+ }, qr = ["innerHTML"];
1284
+ function Xr(r, o, u, f, l, e) {
1285
+ const a = q("PenAndPaper"), L = q("Title"), z = q("UserOptions"), G = q("PackageVersion"), N = q("Shape"), A = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), y = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
1285
1286
  return i(), s("div", {
1286
1287
  id: `vue-ui-xy_${l.uniqueId}`,
1287
1288
  class: j(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1288
1289
  ref: "chart",
1289
- style: _(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1290
- onMouseenter: c[7] || (c[7] = () => e.setUserOptionsVisibility(!0)),
1291
- onMouseleave: c[8] || (c[8] = () => e.setUserOptionsVisibility(!1))
1290
+ style: F(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1291
+ onMouseenter: o[7] || (o[7] = () => e.setUserOptionsVisibility(!0)),
1292
+ onMouseleave: o[8] || (o[8] = () => e.setUserOptionsVisibility(!1))
1292
1293
  }, [
1293
1294
  e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (i(), U(a, {
1294
1295
  key: 0,
@@ -1298,12 +1299,12 @@ function Yr(r, c, u, f, l, e) {
1298
1299
  active: l.isAnnotator,
1299
1300
  onClose: e.toggleAnnotator
1300
1301
  }, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
1301
- e.hasOptionsNoTitle ? (i(), s("div", ht, null, 512)) : h("", !0),
1302
+ e.hasOptionsNoTitle ? (i(), s("div", ut, null, 512)) : h("", !0),
1302
1303
  e.FINAL_CONFIG.chart.title.show ? (i(), s("div", {
1303
1304
  key: 2,
1304
1305
  ref: "chartTitle",
1305
1306
  class: "vue-ui-xy-title",
1306
- style: _(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1307
+ style: F(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1307
1308
  }, [
1308
1309
  (i(), U(L, {
1309
1310
  key: `title_${l.titleStep}`,
@@ -1353,77 +1354,77 @@ function Yr(r, c, u, f, l, e) {
1353
1354
  onToggleStack: e.toggleStack,
1354
1355
  onToggleTooltip: e.toggleTooltip,
1355
1356
  onToggleAnnotator: e.toggleAnnotator,
1356
- style: _({
1357
+ style: F({
1357
1358
  visibility: l.keepUserOptionState ? l.userOptionsVisible ? "visible" : "hidden" : "visible"
1358
1359
  })
1359
- }, $e({ _: 2 }, [
1360
+ }, et({ _: 2 }, [
1360
1361
  r.$slots.menuIcon ? {
1361
1362
  name: "menuIcon",
1362
- fn: W(({ isOpen: t, color: o }) => [
1363
- O(r.$slots, "menuIcon", $(ee({ isOpen: t, color: o })), void 0, !0)
1363
+ fn: B(({ isOpen: t, color: c }) => [
1364
+ O(r.$slots, "menuIcon", $(ee({ isOpen: t, color: c })), void 0, !0)
1364
1365
  ]),
1365
1366
  key: "0"
1366
1367
  } : void 0,
1367
1368
  r.$slots.optionTooltip ? {
1368
1369
  name: "optionTooltip",
1369
- fn: W(() => [
1370
+ fn: B(() => [
1370
1371
  O(r.$slots, "optionTooltip", {}, void 0, !0)
1371
1372
  ]),
1372
1373
  key: "1"
1373
1374
  } : void 0,
1374
1375
  r.$slots.optionPdf ? {
1375
1376
  name: "optionPdf",
1376
- fn: W(() => [
1377
+ fn: B(() => [
1377
1378
  O(r.$slots, "optionPdf", {}, void 0, !0)
1378
1379
  ]),
1379
1380
  key: "2"
1380
1381
  } : void 0,
1381
1382
  r.$slots.optionCsv ? {
1382
1383
  name: "optionCsv",
1383
- fn: W(() => [
1384
+ fn: B(() => [
1384
1385
  O(r.$slots, "optionCsv", {}, void 0, !0)
1385
1386
  ]),
1386
1387
  key: "3"
1387
1388
  } : void 0,
1388
1389
  r.$slots.optionImg ? {
1389
1390
  name: "optionImg",
1390
- fn: W(() => [
1391
+ fn: B(() => [
1391
1392
  O(r.$slots, "optionImg", {}, void 0, !0)
1392
1393
  ]),
1393
1394
  key: "4"
1394
1395
  } : void 0,
1395
1396
  r.$slots.optionTable ? {
1396
1397
  name: "optionTable",
1397
- fn: W(() => [
1398
+ fn: B(() => [
1398
1399
  O(r.$slots, "optionTable", {}, void 0, !0)
1399
1400
  ]),
1400
1401
  key: "5"
1401
1402
  } : void 0,
1402
1403
  r.$slots.optionLabels ? {
1403
1404
  name: "optionLabels",
1404
- fn: W(() => [
1405
+ fn: B(() => [
1405
1406
  O(r.$slots, "optionLabels", {}, void 0, !0)
1406
1407
  ]),
1407
1408
  key: "6"
1408
1409
  } : void 0,
1409
1410
  r.$slots.optionStack ? {
1410
1411
  name: "optionStack",
1411
- fn: W(() => [
1412
+ fn: B(() => [
1412
1413
  O(r.$slots, "optionStack", {}, void 0, !0)
1413
1414
  ]),
1414
1415
  key: "7"
1415
1416
  } : void 0,
1416
1417
  r.$slots.optionFullscreen ? {
1417
1418
  name: "optionFullscreen",
1418
- fn: W(({ toggleFullscreen: t, isFullscreen: o }) => [
1419
- O(r.$slots, "optionFullscreen", $(ee({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
1419
+ fn: B(({ toggleFullscreen: t, isFullscreen: c }) => [
1420
+ O(r.$slots, "optionFullscreen", $(ee({ toggleFullscreen: t, isFullscreen: c })), void 0, !0)
1420
1421
  ]),
1421
1422
  key: "8"
1422
1423
  } : void 0,
1423
1424
  r.$slots.optionAnnotator ? {
1424
1425
  name: "optionAnnotator",
1425
- fn: W(({ toggleAnnotator: t, isAnnotator: o }) => [
1426
- O(r.$slots, "optionAnnotator", $(ee({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
1426
+ fn: B(({ toggleAnnotator: t, isAnnotator: c }) => [
1427
+ O(r.$slots, "optionAnnotator", $(ee({ toggleAnnotator: t, isAnnotator: c })), void 0, !0)
1427
1428
  ]),
1428
1429
  key: "9"
1429
1430
  } : void 0
@@ -1435,7 +1436,7 @@ function Yr(r, c, u, f, l, e) {
1435
1436
  class: j([{ "vue-data-ui-fullscreen--on": l.isFullscreen, "vue-data-ui-fulscreen--off": !l.isFullscreen }, "vue-ui-xy-svg"]),
1436
1437
  width: "100%",
1437
1438
  viewBox: l.viewBox,
1438
- style: _(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1439
+ style: F(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1439
1440
  "aria-label": e.chartAriaLabel,
1440
1441
  role: "img",
1441
1442
  "aria-live": "polite"
@@ -1452,9 +1453,9 @@ function Yr(r, c, u, f, l, e) {
1452
1453
  }
1453
1454
  }, [
1454
1455
  O(r.$slots, "chart-background", {}, void 0, !0)
1455
- ], 8, dt)) : h("", !0),
1456
- e.maxSeries > 0 ? (i(), s("g", gt, [
1457
- I("g", ft, [
1456
+ ], 8, gt)) : h("", !0),
1457
+ e.maxSeries > 0 ? (i(), s("g", ft, [
1458
+ I("g", It, [
1458
1459
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (i(), s("line", {
1459
1460
  key: 0,
1460
1461
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1465,27 +1466,27 @@ function Yr(r, c, u, f, l, e) {
1465
1466
  y2: e.forceValidValue(e.drawingArea.bottom),
1466
1467
  "stroke-linecap": "round",
1467
1468
  style: { animation: "none !important" }
1468
- }, null, 8, It)) : h("", !0),
1469
+ }, null, 8, xt)) : h("", !0),
1469
1470
  l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(!0), s(g, { key: 2 }, x(e.allScales, (t) => (i(), s("g", null, [
1470
- t.id === l.selectedScale && t.yLabels.length ? (i(!0), s(g, { key: 0 }, x(t.yLabels, (o) => (i(), s("line", {
1471
+ t.id === l.selectedScale && t.yLabels.length ? (i(!0), s(g, { key: 0 }, x(t.yLabels, (c) => (i(), s("line", {
1471
1472
  x1: e.drawingArea.left + e.xPadding,
1472
1473
  x2: e.drawingArea.right - e.xPadding,
1473
- y1: e.forceValidValue(o.y),
1474
- y2: e.forceValidValue(o.y),
1474
+ y1: e.forceValidValue(c.y),
1475
+ y2: e.forceValidValue(c.y),
1475
1476
  stroke: t.color,
1476
1477
  "stroke-width": 0.5,
1477
1478
  "stroke-linecap": "round",
1478
1479
  style: { animation: "none !important" }
1479
- }, null, 8, bt))), 256)) : t.yLabels.length ? (i(!0), s(g, { key: 1 }, x(t.yLabels, (o) => (i(), s("line", {
1480
+ }, null, 8, Ft))), 256)) : t.yLabels.length ? (i(!0), s(g, { key: 1 }, x(t.yLabels, (c) => (i(), s("line", {
1480
1481
  x1: e.drawingArea.left + e.xPadding,
1481
1482
  x2: e.drawingArea.right - e.xPadding,
1482
- y1: e.forceValidValue(o.y),
1483
- y2: e.forceValidValue(o.y),
1483
+ y1: e.forceValidValue(c.y),
1484
+ y2: e.forceValidValue(c.y),
1484
1485
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1485
1486
  "stroke-width": 0.5,
1486
1487
  "stroke-linecap": "round",
1487
1488
  style: { animation: "none !important" }
1488
- }, null, 8, Ft))), 256)) : h("", !0)
1489
+ }, null, 8, _t))), 256)) : h("", !0)
1489
1490
  ]))), 256)) : h("", !0) : (i(), s(g, { key: 1 }, [
1490
1491
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (i(), s("line", {
1491
1492
  key: 0,
@@ -1497,8 +1498,8 @@ function Yr(r, c, u, f, l, e) {
1497
1498
  y2: e.forceValidValue(e.drawingArea.bottom),
1498
1499
  "stroke-linecap": "round",
1499
1500
  style: { animation: "none !important" }
1500
- }, null, 8, xt)) : h("", !0),
1501
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(), s("g", Nt, [
1501
+ }, null, 8, Nt)) : h("", !0),
1502
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(), s("g", mt, [
1502
1503
  (i(!0), s(g, null, x(e.yLabels, (t) => (i(), s("line", {
1503
1504
  x1: e.drawingArea.left + e.xPadding,
1504
1505
  x2: e.drawingArea.right - e.xPadding,
@@ -1508,14 +1509,14 @@ function Yr(r, c, u, f, l, e) {
1508
1509
  "stroke-width": 0.5,
1509
1510
  "stroke-linecap": "round",
1510
1511
  style: { animation: "none !important" }
1511
- }, null, 8, mt))), 256))
1512
+ }, null, 8, bt))), 256))
1512
1513
  ])) : h("", !0)
1513
1514
  ], 64)),
1514
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (i(), s("g", _t, [
1515
- (i(!0), s(g, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, o) => (i(), s("line", {
1516
- key: `grid_vertical_line_${o}`,
1517
- x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
1518
- x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
1515
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (i(), s("g", At, [
1516
+ (i(!0), s(g, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (i(), s("line", {
1517
+ key: `grid_vertical_line_${c}`,
1518
+ x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1519
+ x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1519
1520
  y1: e.forceValidValue(e.drawingArea.top),
1520
1521
  y2: e.forceValidValue(e.drawingArea.bottom),
1521
1522
  "stroke-width": "0.5",
@@ -1523,71 +1524,71 @@ function Yr(r, c, u, f, l, e) {
1523
1524
  style: { animation: "none !important" }
1524
1525
  }, null, 8, yt))), 128))
1525
1526
  ])) : h("", !0),
1526
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", At, [
1527
- (i(!0), s(g, null, x(e.timeLabels, (t, o) => (i(), s("g", {
1528
- key: `time_label_${o}`
1527
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", Lt, [
1528
+ (i(!0), s(g, null, x(e.timeLabels, (t, c) => (i(), s("g", {
1529
+ key: `time_label_${c}`
1529
1530
  }, [
1530
- t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s(g, { key: 0 }, [
1531
+ t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s(g, { key: 0 }, [
1531
1532
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showCrosshairs ? (i(), s("line", {
1532
1533
  key: 0,
1533
1534
  y1: e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? e.zero - (e.zero === e.drawingArea.bottom ? 0 : e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize / 2) : e.drawingArea.bottom,
1534
1535
  y2: e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? e.zero + e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize / (e.zero === e.drawingArea.bottom ? 1 : 2) : e.drawingArea.bottom + e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize,
1535
- x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2,
1536
- x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2,
1536
+ x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2,
1537
+ x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2,
1537
1538
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1538
1539
  "stroke-width": 1,
1539
1540
  "stroke-linecap": "round",
1540
1541
  style: { animation: "none !important" }
1541
- }, null, 8, Lt)) : h("", !0)
1542
+ }, null, 8, Ct)) : h("", !0)
1542
1543
  ], 64)) : h("", !0)
1543
1544
  ]))), 128))
1544
1545
  ])) : h("", !0)
1545
1546
  ]),
1546
- (i(!0), s(g, null, x(e.barSet, (t, o) => (i(), s("defs", {
1547
- key: `def_rect_${o}`
1547
+ (i(!0), s(g, null, x(e.barSet, (t, c) => (i(), s("defs", {
1548
+ key: `def_rect_${c}`
1548
1549
  }, [
1549
1550
  I("linearGradient", {
1550
- id: `rectGradient_pos_${o}_${l.uniqueId}`,
1551
+ id: `rectGradient_pos_${c}_${l.uniqueId}`,
1551
1552
  x2: "0%",
1552
1553
  y2: "100%"
1553
1554
  }, [
1554
1555
  I("stop", {
1555
1556
  offset: "0%",
1556
1557
  "stop-color": t.color
1557
- }, null, 8, St),
1558
+ }, null, 8, kt),
1558
1559
  I("stop", {
1559
1560
  offset: "62%",
1560
1561
  "stop-color": `${e.shiftHue(t.color, 0.02)}`
1561
- }, null, 8, kt),
1562
+ }, null, 8, wt),
1562
1563
  I("stop", {
1563
1564
  offset: "100%",
1564
1565
  "stop-color": `${e.shiftHue(t.color, 0.05)}`
1565
- }, null, 8, wt)
1566
- ], 8, Ct),
1566
+ }, null, 8, Ot)
1567
+ ], 8, St),
1567
1568
  I("linearGradient", {
1568
- id: `rectGradient_neg_${o}_${l.uniqueId}`,
1569
+ id: `rectGradient_neg_${c}_${l.uniqueId}`,
1569
1570
  x2: "0%",
1570
1571
  y2: "100%"
1571
1572
  }, [
1572
1573
  I("stop", {
1573
1574
  offset: "0%",
1574
1575
  "stop-color": `${e.shiftHue(t.color, 0.05)}`
1575
- }, null, 8, Gt),
1576
+ }, null, 8, vt),
1576
1577
  I("stop", {
1577
1578
  offset: "38%",
1578
1579
  "stop-color": `${e.shiftHue(t.color, 0.02)}`
1579
- }, null, 8, vt),
1580
+ }, null, 8, pt),
1580
1581
  I("stop", {
1581
1582
  offset: "100%",
1582
1583
  "stop-color": t.color
1583
- }, null, 8, pt)
1584
- ], 8, Ot)
1584
+ }, null, 8, zt)
1585
+ ], 8, Gt)
1585
1586
  ]))), 128)),
1586
- (i(!0), s(g, null, x(e.plotSet, (t, o) => (i(), s("defs", {
1587
- key: `def_plot_${o}`
1587
+ (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s("defs", {
1588
+ key: `def_plot_${c}`
1588
1589
  }, [
1589
1590
  I("radialGradient", {
1590
- id: `plotGradient_${o}_${l.uniqueId}`,
1591
+ id: `plotGradient_${c}_${l.uniqueId}`,
1591
1592
  cx: "50%",
1592
1593
  cy: "50%",
1593
1594
  r: "50%",
@@ -1597,18 +1598,18 @@ function Yr(r, c, u, f, l, e) {
1597
1598
  I("stop", {
1598
1599
  offset: "0%",
1599
1600
  "stop-color": `${e.shiftHue(t.color, 0.05)}`
1600
- }, null, 8, Mt),
1601
+ }, null, 8, Tt),
1601
1602
  I("stop", {
1602
1603
  offset: "100%",
1603
1604
  "stop-color": t.color
1604
- }, null, 8, Tt)
1605
- ], 8, zt)
1605
+ }, null, 8, Pt)
1606
+ ], 8, Mt)
1606
1607
  ]))), 128)),
1607
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s("defs", {
1608
- key: `def_line_${o}`
1608
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s("defs", {
1609
+ key: `def_line_${c}`
1609
1610
  }, [
1610
1611
  I("radialGradient", {
1611
- id: `lineGradient_${o}_${l.uniqueId}`,
1612
+ id: `lineGradient_${c}_${l.uniqueId}`,
1612
1613
  cx: "50%",
1613
1614
  cy: "50%",
1614
1615
  r: "50%",
@@ -1618,14 +1619,14 @@ function Yr(r, c, u, f, l, e) {
1618
1619
  I("stop", {
1619
1620
  offset: "0%",
1620
1621
  "stop-color": `${e.shiftHue(t.color, 0.05)}`
1621
- }, null, 8, Vt),
1622
+ }, null, 8, Rt),
1622
1623
  I("stop", {
1623
1624
  offset: "100%",
1624
1625
  "stop-color": t.color
1625
- }, null, 8, Rt)
1626
- ], 8, Pt),
1626
+ }, null, 8, Ht)
1627
+ ], 8, Vt),
1627
1628
  I("linearGradient", {
1628
- id: `areaGradient_${o}_${l.uniqueId}`,
1629
+ id: `areaGradient_${c}_${l.uniqueId}`,
1629
1630
  x1: "0%",
1630
1631
  x2: "100%",
1631
1632
  y1: "0%",
@@ -1634,17 +1635,17 @@ function Yr(r, c, u, f, l, e) {
1634
1635
  I("stop", {
1635
1636
  offset: "0%",
1636
1637
  "stop-color": `${e.setOpacity(e.shiftHue(t.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1637
- }, null, 8, Dt),
1638
+ }, null, 8, Bt),
1638
1639
  I("stop", {
1639
1640
  offset: "100%",
1640
1641
  "stop-color": `${e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)}`
1641
1642
  }, null, 8, Wt)
1642
- ], 8, Ht)
1643
+ ], 8, Dt)
1643
1644
  ]))), 128)),
1644
1645
  (i(!0), s(g, null, x(e.highlightAreas, (t) => (i(), s("g", null, [
1645
- t.show ? (i(!0), s(g, { key: 0 }, x(t.span, (o, n) => (i(), s("g", null, [
1646
+ t.show ? (i(!0), s(g, { key: 0 }, x(t.span, (c, n) => (i(), s("g", null, [
1646
1647
  I("rect", {
1647
- style: _({
1648
+ style: F({
1648
1649
  transition: "none",
1649
1650
  opacity: t.from + n >= l.slicer.start && t.from + n <= l.slicer.end - 1 ? 1 : 0
1650
1651
  }),
@@ -1653,12 +1654,12 @@ function Yr(r, c, u, f, l, e) {
1653
1654
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1654
1655
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1655
1656
  fill: e.setOpacity(t.color, t.opacity)
1656
- }, null, 12, Bt),
1657
+ }, null, 12, Et),
1657
1658
  t.caption.text && n === 0 ? (i(), s("foreignObject", {
1658
1659
  key: 0,
1659
1660
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - l.slicer.start) - (t.caption.width === "auto" ? 0 : t.caption.width / 2 - e.drawingArea.width / e.maxSeries * t.span / 2),
1660
1661
  y: e.drawingArea.top + t.caption.offsetY,
1661
- style: _({
1662
+ style: F({
1662
1663
  overflow: "visible",
1663
1664
  opacity: t.to >= l.slicer.start && t.from < l.slicer.end ? 1 : 0
1664
1665
  }),
@@ -1666,31 +1667,31 @@ function Yr(r, c, u, f, l, e) {
1666
1667
  width: t.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * t.span : t.caption.width
1667
1668
  }, [
1668
1669
  I("div", {
1669
- style: _(`padding:${t.caption.padding}px;text-align:${t.caption.textAlign};font-size:${t.caption.fontSize}px;color:${t.caption.color};font-weight:${t.caption.bold ? "bold" : "normal"}`)
1670
+ style: F(`padding:${t.caption.padding}px;text-align:${t.caption.textAlign};font-size:${t.caption.fontSize}px;color:${t.caption.color};font-weight:${t.caption.bold ? "bold" : "normal"}`)
1670
1671
  }, V(t.caption.text), 5)
1671
- ], 12, Et)) : h("", !0)
1672
+ ], 12, Yt)) : h("", !0)
1672
1673
  ]))), 256)) : h("", !0)
1673
1674
  ]))), 256)),
1674
1675
  I("g", null, [
1675
- (i(!0), s(g, null, x(e.maxSeries, (t, o) => (i(), s("g", {
1676
- key: `tooltip_trap_highlighter_${o}`
1676
+ (i(!0), s(g, null, x(e.maxSeries, (t, c) => (i(), s("g", {
1677
+ key: `tooltip_trap_highlighter_${c}`
1677
1678
  }, [
1678
1679
  I("rect", {
1679
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
1680
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
1680
1681
  y: e.drawingArea.top,
1681
1682
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1682
1683
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1683
- fill: [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1684
- }, null, 8, Yt)
1684
+ fill: [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(c) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1685
+ }, null, 8, qt)
1685
1686
  ]))), 128))
1686
1687
  ]),
1687
- e.barSet.length ? (i(!0), s(g, { key: 0 }, x(e.barSet, (t, o) => (i(), s("g", {
1688
- key: `serie_bar_${o}`,
1689
- class: j(`serie_bar_${o}`),
1690
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1688
+ e.barSet.length ? (i(!0), s(g, { key: 0 }, x(e.barSet, (t, c) => (i(), s("g", {
1689
+ key: `serie_bar_${c}`,
1690
+ class: j(`serie_bar_${c}`),
1691
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1691
1692
  }, [
1692
1693
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s("g", {
1693
- key: `bar_plot_${o}_${d}`
1694
+ key: `bar_plot_${c}_${d}`
1694
1695
  }, [
1695
1696
  e.canShowValue(n.value) ? (i(), s("rect", {
1696
1697
  key: 0,
@@ -1699,10 +1700,10 @@ function Yr(r, c, u, f, l, e) {
1699
1700
  height: l.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1700
1701
  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),
1701
1702
  rx: e.FINAL_CONFIG.bar.borderRadius,
1702
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${l.uniqueId})` : `url(#rectGradient_neg_${o}_${l.uniqueId})` : t.color,
1703
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${l.uniqueId})` : `url(#rectGradient_neg_${c}_${l.uniqueId})` : t.color,
1703
1704
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
1704
1705
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1705
- }, null, 8, qt)) : h("", !0),
1706
+ }, null, 8, Xt)) : h("", !0),
1706
1707
  e.canShowValue(n.value) && r.$slots.pattern ? (i(), s("rect", {
1707
1708
  key: 1,
1708
1709
  x: e.calcRectX(n),
@@ -1713,7 +1714,7 @@ function Yr(r, c, u, f, l, e) {
1713
1714
  fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`,
1714
1715
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
1715
1716
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1716
- }, null, 8, Xt)) : h("", !0),
1717
+ }, null, 8, Ut)) : h("", !0),
1717
1718
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
1718
1719
  key: 2,
1719
1720
  style: { overflow: "visible" },
@@ -1723,14 +1724,14 @@ function Yr(r, c, u, f, l, e) {
1723
1724
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1724
1725
  }, [
1725
1726
  O(r.$slots, "plot-comment", {
1726
- plot: { ...n, color: t.color, seriesIndex: o, datapointIndex: d }
1727
+ plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: d }
1727
1728
  }, void 0, !0)
1728
- ], 8, Ut)) : h("", !0)
1729
+ ], 8, Zt)) : h("", !0)
1729
1730
  ]))), 128)),
1730
- Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", Zt, [
1731
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", Jt, [
1731
1732
  I("defs", null, [
1732
1733
  I("marker", {
1733
- id: `bar_arrow_${o}`,
1734
+ id: `bar_arrow_${c}`,
1734
1735
  markerWidth: 7,
1735
1736
  markerHeight: 7,
1736
1737
  refX: "0",
@@ -1752,8 +1753,8 @@ function Yr(r, c, u, f, l, e) {
1752
1753
  "stroke-width": 1,
1753
1754
  stroke: t.color,
1754
1755
  "stroke-dasharray": 2,
1755
- "marker-end": `url(#bar_arrow_${o})`
1756
- }, null, 8, Jt)) : h("", !0),
1756
+ "marker-end": `url(#bar_arrow_${c})`
1757
+ }, null, 8, jt)) : h("", !0),
1757
1758
  t.plots.length > 1 ? (i(), s("text", {
1758
1759
  key: 1,
1759
1760
  "text-anchor": "middle",
@@ -1765,7 +1766,7 @@ function Yr(r, c, u, f, l, e) {
1765
1766
  v: e.calcLinearProgression(t.plots).trend * 100,
1766
1767
  s: "%",
1767
1768
  r: 2
1768
- })), 9, jt)) : h("", !0)
1769
+ })), 9, $t)) : h("", !0)
1769
1770
  ])) : h("", !0)
1770
1771
  ], 6))), 128)) : h("", !0),
1771
1772
  !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (i(), s("line", {
@@ -1778,8 +1779,8 @@ function Yr(r, c, u, f, l, e) {
1778
1779
  y2: e.forceValidValue(e.zero),
1779
1780
  "stroke-linecap": "round",
1780
1781
  style: { animation: "none !important" }
1781
- }, null, 8, $t)) : h("", !0),
1782
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", el, [
1782
+ }, null, 8, el)) : h("", !0),
1783
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", tl, [
1783
1784
  I("line", {
1784
1785
  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,
1785
1786
  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,
@@ -1790,7 +1791,7 @@ function Yr(r, c, u, f, l, e) {
1790
1791
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1791
1792
  "stroke-linecap": "round",
1792
1793
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1793
- }, null, 8, tl)
1794
+ }, null, 8, ll)
1794
1795
  ])) : h("", !0),
1795
1796
  e.FINAL_CONFIG.chart.grid.frame.show ? (i(), s("rect", {
1796
1797
  key: 3,
@@ -1805,8 +1806,8 @@ function Yr(r, c, u, f, l, e) {
1805
1806
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1806
1807
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1807
1808
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1808
- }, null, 8, ll)) : h("", !0),
1809
- e.FINAL_CONFIG.chart.grid.labels.show ? (i(), s("g", rl, [
1809
+ }, null, 8, rl)) : h("", !0),
1810
+ e.FINAL_CONFIG.chart.grid.labels.show ? (i(), s("g", al, [
1810
1811
  l.mutableConfig.useIndividualScale ? (i(), s(g, { key: 0 }, [
1811
1812
  (i(!0), s(g, null, x(e.allScales, (t) => (i(), s("g", null, [
1812
1813
  I("line", {
@@ -1817,51 +1818,51 @@ function Yr(r, c, u, f, l, e) {
1817
1818
  stroke: t.color,
1818
1819
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1819
1820
  "stroke-linecap": "round",
1820
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1821
- }, null, 12, al)
1821
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
1822
+ }, null, 12, il)
1822
1823
  ]))), 256)),
1823
1824
  (i(!0), s(g, null, x(e.allScales, (t) => (i(), s("g", {
1824
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1825
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1825
1826
  }, [
1826
1827
  I("text", {
1827
1828
  fill: t.color,
1828
1829
  "font-size": l.fontSizes.dataLabels,
1829
1830
  "text-anchor": "middle",
1830
1831
  transform: `translate(${t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset - t.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1831
- }, V(t.name) + " " + V(t.scaleLabel && t.unique && t.scaleLabel !== t.id ? `- ${t.scaleLabel}` : ""), 9, il),
1832
- (i(!0), s(g, null, x(t.yLabels, (o, n) => (i(), s(g, null, [
1832
+ }, V(t.name) + " " + V(t.scaleLabel && t.unique && t.scaleLabel !== t.id ? `- ${t.scaleLabel}` : ""), 9, sl),
1833
+ (i(!0), s(g, null, x(t.yLabels, (c, n) => (i(), s(g, null, [
1833
1834
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
1834
1835
  key: 0,
1835
1836
  x1: t.x + 3 + e.xPadding - e.FINAL_CONFIG.chart.grid.labels.yAxis.crosshairSize,
1836
1837
  x2: t.x + e.xPadding,
1837
- y1: e.forceValidValue(o.y),
1838
- y2: e.forceValidValue(o.y),
1838
+ y1: e.forceValidValue(c.y),
1839
+ y2: e.forceValidValue(c.y),
1839
1840
  stroke: t.color,
1840
1841
  "stroke-width": 1,
1841
1842
  "stroke-linecap": "round",
1842
1843
  style: { animation: "none !important" }
1843
- }, null, 8, sl)) : h("", !0)
1844
+ }, null, 8, nl)) : h("", !0)
1844
1845
  ], 64))), 256)),
1845
- (i(!0), s(g, null, x(t.yLabels, (o, n) => (i(), s("text", {
1846
+ (i(!0), s(g, null, x(t.yLabels, (c, n) => (i(), s("text", {
1846
1847
  x: t.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1847
- y: e.forceValidValue(o.y) + l.fontSizes.dataLabels / 3,
1848
+ y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
1848
1849
  "font-size": l.fontSizes.dataLabels,
1849
1850
  "text-anchor": "end",
1850
1851
  fill: t.color
1851
1852
  }, V(e.applyDataLabel(
1852
1853
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1853
- o.value,
1854
+ c.value,
1854
1855
  e.dataLabel({
1855
- p: o.prefix,
1856
- v: o.value,
1857
- s: o.suffix,
1856
+ p: c.prefix,
1857
+ v: c.value,
1858
+ s: c.suffix,
1858
1859
  r: 1
1859
1860
  }),
1860
- { datapoint: o.datapoint, seriesIndex: n }
1861
- )), 9, nl))), 256))
1861
+ { datapoint: c.datapoint, seriesIndex: n }
1862
+ )), 9, cl))), 256))
1862
1863
  ], 4))), 256))
1863
- ], 64)) : (i(!0), s(g, { key: 1 }, x(e.yLabels, (t, o) => (i(), s("g", {
1864
- key: `yLabel_${o}`
1864
+ ], 64)) : (i(!0), s(g, { key: 1 }, x(e.yLabels, (t, c) => (i(), s("g", {
1865
+ key: `yLabel_${c}`
1865
1866
  }, [
1866
1867
  e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max && e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (i(), s("line", {
1867
1868
  key: 0,
@@ -1873,7 +1874,7 @@ function Yr(r, c, u, f, l, e) {
1873
1874
  "stroke-width": "1",
1874
1875
  "stroke-linecap": "round",
1875
1876
  style: { animation: "none !important" }
1876
- }, null, 8, cl)) : h("", !0),
1877
+ }, null, 8, ol)) : h("", !0),
1877
1878
  t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (i(), s("text", {
1878
1879
  key: 1,
1879
1880
  x: e.drawingArea.left - 7 + e.xPadding,
@@ -1890,21 +1891,21 @@ function Yr(r, c, u, f, l, e) {
1890
1891
  s: t.suffix,
1891
1892
  r: 1
1892
1893
  })
1893
- ) : ""), 9, ol)) : h("", !0)
1894
+ ) : ""), 9, hl)) : h("", !0)
1894
1895
  ]))), 128))
1895
1896
  ])) : h("", !0),
1896
- (i(!0), s(g, null, x(e.plotSet, (t, o) => (i(), s("g", {
1897
- key: `serie_plot_${o}`,
1898
- class: j(`serie_plot_${o}`),
1899
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1897
+ (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s("g", {
1898
+ key: `serie_plot_${c}`,
1899
+ class: j(`serie_plot_${c}`),
1900
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1900
1901
  }, [
1901
1902
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s("g", {
1902
- key: `circle_plot_${o}_${d}`
1903
+ key: `circle_plot_${c}_${d}`
1903
1904
  }, [
1904
1905
  n && e.canShowValue(n.value) ? (i(), U(N, {
1905
1906
  key: 0,
1906
1907
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
1907
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? t.color : e.FINAL_CONFIG.plot.dot.fill,
1908
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? t.color : e.FINAL_CONFIG.plot.dot.fill,
1908
1909
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1909
1910
  radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (l.plotRadii.plot || 6) * 1.5 : l.plotRadii.plot || 6,
1910
1911
  stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
@@ -1918,17 +1919,17 @@ function Yr(r, c, u, f, l, e) {
1918
1919
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1919
1920
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1920
1921
  }, [
1921
- I("div", ul, [
1922
+ I("div", dl, [
1922
1923
  O(r.$slots, "plot-comment", {
1923
- plot: { ...n, color: t.color, seriesIndex: o, datapointIndex: d }
1924
+ plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: d }
1924
1925
  }, void 0, !0)
1925
1926
  ])
1926
- ], 8, hl)) : h("", !0)
1927
+ ], 8, ul)) : h("", !0)
1927
1928
  ]))), 128)),
1928
- Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", dl, [
1929
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", gl, [
1929
1930
  I("defs", null, [
1930
1931
  I("marker", {
1931
- id: `plot_arrow_${o}`,
1932
+ id: `plot_arrow_${c}`,
1932
1933
  markerWidth: 7,
1933
1934
  markerHeight: 7,
1934
1935
  refX: "0",
@@ -1938,8 +1939,8 @@ function Yr(r, c, u, f, l, e) {
1938
1939
  I("polygon", {
1939
1940
  points: `0 0, 7 ${7 / 2}, 0 7`,
1940
1941
  fill: t.color
1941
- }, null, 8, fl)
1942
- ], 8, gl)
1942
+ }, null, 8, Il)
1943
+ ], 8, fl)
1943
1944
  ]),
1944
1945
  t.plots.length > 1 ? (i(), s("line", {
1945
1946
  key: 0,
@@ -1950,8 +1951,8 @@ function Yr(r, c, u, f, l, e) {
1950
1951
  "stroke-width": 1,
1951
1952
  stroke: t.color,
1952
1953
  "stroke-dasharray": 2,
1953
- "marker-end": `url(#plot_arrow_${o})`
1954
- }, null, 8, Il)) : h("", !0),
1954
+ "marker-end": `url(#plot_arrow_${c})`
1955
+ }, null, 8, xl)) : h("", !0),
1955
1956
  t.plots.length > 1 ? (i(), s("text", {
1956
1957
  key: 1,
1957
1958
  "text-anchor": "middle",
@@ -1963,13 +1964,13 @@ function Yr(r, c, u, f, l, e) {
1963
1964
  v: e.calcLinearProgression(t.plots).trend * 100,
1964
1965
  s: "%",
1965
1966
  r: 2
1966
- })), 9, xl)) : h("", !0)
1967
+ })), 9, Nl)) : h("", !0)
1967
1968
  ])) : h("", !0)
1968
1969
  ], 6))), 128)),
1969
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s("g", {
1970
- key: `serie_line_${o}`,
1971
- class: j(`serie_line_${o}`),
1972
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1970
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s("g", {
1971
+ key: `serie_line_${c}`,
1972
+ class: j(`serie_line_${c}`),
1973
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1973
1974
  }, [
1974
1975
  t.smooth && t.plots.length > 1 && t.curve ? (i(), s("path", {
1975
1976
  key: 0,
@@ -1978,7 +1979,7 @@ function Yr(r, c, u, f, l, e) {
1978
1979
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1979
1980
  "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1980
1981
  fill: "none"
1981
- }, null, 8, Nl)) : t.plots.length > 1 && t.straight ? (i(), s("path", {
1982
+ }, null, 8, ml)) : t.plots.length > 1 && t.straight ? (i(), s("path", {
1982
1983
  key: 1,
1983
1984
  d: `M${t.straight}`,
1984
1985
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1987,24 +1988,24 @@ function Yr(r, c, u, f, l, e) {
1987
1988
  fill: "none",
1988
1989
  "stroke-linecap": "round",
1989
1990
  "stroke-linejoin": "round"
1990
- }, null, 8, ml)) : h("", !0)
1991
+ }, null, 8, bl)) : h("", !0)
1991
1992
  ], 6))), 128)),
1992
- r.$slots.pattern ? (i(), s("defs", bl, [
1993
- (i(!0), s(g, null, x(e.safeDataset, (t, o) => O(r.$slots, "pattern", se({
1994
- key: `serie_pattern_slot_${o}`
1995
- }, { ref_for: !0 }, { ...t, seriesIndex: t.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${o}` }), void 0, !0)), 128))
1993
+ r.$slots.pattern ? (i(), s("defs", Fl, [
1994
+ (i(!0), s(g, null, x(e.safeDataset, (t, c) => O(r.$slots, "pattern", se({
1995
+ key: `serie_pattern_slot_${c}`
1996
+ }, { ref_for: !0 }, { ...t, seriesIndex: t.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
1996
1997
  ])) : h("", !0),
1997
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s("g", {
1998
- key: `serie_line_${o}`,
1999
- class: j(`serie_line_${o}`),
2000
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1998
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s("g", {
1999
+ key: `serie_line_${c}`,
2000
+ class: j(`serie_line_${c}`),
2001
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2001
2002
  }, [
2002
- t.useArea && t.plots.length > 1 ? (i(), s("g", Fl, [
2003
+ t.useArea && t.plots.length > 1 ? (i(), s("g", _l, [
2003
2004
  t.smooth ? (i(!0), s(g, { key: 0 }, x(t.curveAreas, (n, d) => (i(), s(g, { key: d }, [
2004
2005
  I("path", {
2005
2006
  d: n,
2006
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2007
- }, null, 8, _l),
2007
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2008
+ }, null, 8, Al),
2008
2009
  r.$slots.pattern ? (i(), s("path", {
2009
2010
  key: 0,
2010
2011
  d: n,
@@ -2013,13 +2014,13 @@ function Yr(r, c, u, f, l, e) {
2013
2014
  ], 64))), 128)) : (i(!0), s(g, { key: 1 }, x(t.area.split(";"), (n, d) => (i(), s(g, { key: d }, [
2014
2015
  I("path", {
2015
2016
  d: `M${n}Z`,
2016
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2017
- }, null, 8, Al),
2017
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2018
+ }, null, 8, Ll),
2018
2019
  r.$slots.pattern ? (i(), s("path", {
2019
2020
  key: 0,
2020
2021
  d: `M${n}Z`,
2021
2022
  fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
2022
- }, null, 8, Ll)) : h("", !0)
2023
+ }, null, 8, Cl)) : h("", !0)
2023
2024
  ], 64))), 128))
2024
2025
  ])) : h("", !0),
2025
2026
  t.smooth && t.plots.length > 1 && t.curve ? (i(), s("path", {
@@ -2030,7 +2031,7 @@ function Yr(r, c, u, f, l, e) {
2030
2031
  "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
2031
2032
  fill: "none",
2032
2033
  "stroke-linecap": "round"
2033
- }, null, 8, Cl)) : t.plots.length > 1 && t.straight ? (i(), s("path", {
2034
+ }, null, 8, Sl)) : t.plots.length > 1 && t.straight ? (i(), s("path", {
2034
2035
  key: 2,
2035
2036
  d: `M${t.straight}`,
2036
2037
  stroke: t.color,
@@ -2039,14 +2040,14 @@ function Yr(r, c, u, f, l, e) {
2039
2040
  fill: "none",
2040
2041
  "stroke-linecap": "round",
2041
2042
  "stroke-linejoin": "round"
2042
- }, null, 8, Sl)) : h("", !0),
2043
+ }, null, 8, kl)) : h("", !0),
2043
2044
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2044
- key: `circle_line_${o}_${d}`
2045
+ key: `circle_line_${c}_${d}`
2045
2046
  }, [
2046
2047
  !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d) ? (i(), U(N, {
2047
2048
  key: 0,
2048
2049
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
2049
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? t.color : e.FINAL_CONFIG.line.dot.fill,
2050
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? t.color : e.FINAL_CONFIG.line.dot.fill,
2050
2051
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
2051
2052
  radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (l.plotRadii.line || 6) * 1.5 : l.plotRadii.line || 6,
2052
2053
  stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
@@ -2060,17 +2061,17 @@ function Yr(r, c, u, f, l, e) {
2060
2061
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
2061
2062
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
2062
2063
  }, [
2063
- I("div", wl, [
2064
+ I("div", Ol, [
2064
2065
  O(r.$slots, "plot-comment", {
2065
- plot: { ...n, color: t.color, seriesIndex: o, datapointIndex: d }
2066
+ plot: { ...n, color: t.color, seriesIndex: c, datapointIndex: d }
2066
2067
  }, void 0, !0)
2067
2068
  ])
2068
- ], 8, kl)) : h("", !0)
2069
+ ], 8, wl)) : h("", !0)
2069
2070
  ], 64))), 128)),
2070
- Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", Ol, [
2071
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (i(), s("g", Gl, [
2071
2072
  I("defs", null, [
2072
2073
  I("marker", {
2073
- id: `line_arrow_${o}`,
2074
+ id: `line_arrow_${c}`,
2074
2075
  markerWidth: 7,
2075
2076
  markerHeight: 7,
2076
2077
  refX: "0",
@@ -2080,8 +2081,8 @@ function Yr(r, c, u, f, l, e) {
2080
2081
  I("polygon", {
2081
2082
  points: `0 0, 7 ${7 / 2}, 0 7`,
2082
2083
  fill: t.color
2083
- }, null, 8, vl)
2084
- ], 8, Gl)
2084
+ }, null, 8, pl)
2085
+ ], 8, vl)
2085
2086
  ]),
2086
2087
  t.plots.length > 1 ? (i(), s("line", {
2087
2088
  key: 0,
@@ -2092,8 +2093,8 @@ function Yr(r, c, u, f, l, e) {
2092
2093
  "stroke-width": 1,
2093
2094
  stroke: t.color,
2094
2095
  "stroke-dasharray": 2,
2095
- "marker-end": `url(#line_arrow_${o})`
2096
- }, null, 8, pl)) : h("", !0),
2096
+ "marker-end": `url(#line_arrow_${c})`
2097
+ }, null, 8, zl)) : h("", !0),
2097
2098
  t.plots.length > 1 ? (i(), s("text", {
2098
2099
  key: 1,
2099
2100
  "text-anchor": "middle",
@@ -2105,15 +2106,15 @@ function Yr(r, c, u, f, l, e) {
2105
2106
  v: e.calcLinearProgression(t.plots).trend * 100,
2106
2107
  s: "%",
2107
2108
  r: 2
2108
- })), 9, zl)) : h("", !0)
2109
+ })), 9, Ml)) : h("", !0)
2109
2110
  ])) : h("", !0)
2110
2111
  ], 6))), 128)),
2111
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (i(), s("g", Ml, [
2112
- (i(!0), s(g, null, x(e.barSet, (t, o) => (i(), s(g, {
2113
- key: `xLabel_bar_${o}`
2112
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (i(), s("g", Tl, [
2113
+ (i(!0), s(g, null, x(e.barSet, (t, c) => (i(), s(g, {
2114
+ key: `xLabel_bar_${c}`
2114
2115
  }, [
2115
2116
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2116
- key: `xLabel_bar_${o}_${d}`
2117
+ key: `xLabel_bar_${c}_${d}`
2117
2118
  }, [
2118
2119
  n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d) && e.FINAL_CONFIG.bar.labels.show ? (i(), s("text", {
2119
2120
  key: 0,
@@ -2122,7 +2123,7 @@ function Yr(r, c, u, f, l, e) {
2122
2123
  "text-anchor": "middle",
2123
2124
  "font-size": l.fontSizes.plotLabels,
2124
2125
  fill: e.FINAL_CONFIG.bar.labels.color,
2125
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2126
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2126
2127
  }, V(e.canShowValue(n.value) ? e.applyDataLabel(
2127
2128
  e.FINAL_CONFIG.bar.labels.formatter,
2128
2129
  n.value,
@@ -2136,7 +2137,7 @@ function Yr(r, c, u, f, l, e) {
2136
2137
  datapoint: n,
2137
2138
  serie: t
2138
2139
  }
2139
- ) : ""), 13, Tl)) : h("", !0),
2140
+ ) : ""), 13, Pl)) : h("", !0),
2140
2141
  n && e.FINAL_CONFIG.bar.serieName.show ? (i(), s("text", {
2141
2142
  key: 1,
2142
2143
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
@@ -2145,17 +2146,17 @@ function Yr(r, c, u, f, l, e) {
2145
2146
  "font-size": l.fontSizes.plotLabels,
2146
2147
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? t.color : e.FINAL_CONFIG.bar.serieName.color,
2147
2148
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal",
2148
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2149
- }, V(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: t.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : t.name), 13, Pl)) : h("", !0)
2149
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2150
+ }, V(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: t.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : t.name), 13, Vl)) : h("", !0)
2150
2151
  ], 64))), 128))
2151
2152
  ], 64))), 128))
2152
2153
  ])) : h("", !0),
2153
- e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Vl, [
2154
- (i(!0), s(g, null, x(e.plotSet, (t, o) => (i(), s(g, {
2155
- key: `xLabel_plot_${o}`
2154
+ e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Rl, [
2155
+ (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2156
+ key: `xLabel_plot_${c}`
2156
2157
  }, [
2157
2158
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2158
- key: `xLabel_plot_${o}_${d}`
2159
+ key: `xLabel_plot_${c}_${d}`
2159
2160
  }, [
2160
2161
  n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (i(), s("text", {
2161
2162
  key: 0,
@@ -2164,7 +2165,7 @@ function Yr(r, c, u, f, l, e) {
2164
2165
  "text-anchor": "middle",
2165
2166
  "font-size": l.fontSizes.plotLabels,
2166
2167
  fill: e.FINAL_CONFIG.plot.labels.color,
2167
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2168
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2168
2169
  }, V(e.canShowValue(n.value) ? e.applyDataLabel(
2169
2170
  e.FINAL_CONFIG.plot.labels.formatter,
2170
2171
  n.value,
@@ -2178,15 +2179,15 @@ function Yr(r, c, u, f, l, e) {
2178
2179
  datapoint: n,
2179
2180
  serie: t
2180
2181
  }
2181
- ) : ""), 13, Rl)) : h("", !0)
2182
+ ) : ""), 13, Hl)) : h("", !0)
2182
2183
  ], 64))), 128))
2183
2184
  ], 64))), 128))
2184
- ])) : (i(), s("g", Hl, [
2185
- (i(!0), s(g, null, x(e.plotSet, (t, o) => (i(), s(g, {
2186
- key: `xLabel_plot_${o}`
2185
+ ])) : (i(), s("g", Dl, [
2186
+ (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2187
+ key: `xLabel_plot_${c}`
2187
2188
  }, [
2188
2189
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2189
- key: `xLabel_plot_${o}_${d}`
2190
+ key: `xLabel_plot_${c}_${d}`
2190
2191
  }, [
2191
2192
  e.FINAL_CONFIG.plot.tag.followValue ? (i(), s(g, { key: 1 }, [
2192
2193
  [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag ? (i(), s("line", {
@@ -2200,7 +2201,7 @@ function Yr(r, c, u, f, l, e) {
2200
2201
  "stroke-linecap": "round",
2201
2202
  "stroke-dasharray": "2",
2202
2203
  stroke: t.color
2203
- }, null, 8, Yl)) : h("", !0)
2204
+ }, null, 8, ql)) : h("", !0)
2204
2205
  ], 64)) : (i(), s(g, { key: 0 }, [
2205
2206
  n && d === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2206
2207
  key: 0,
@@ -2208,10 +2209,10 @@ function Yr(r, c, u, f, l, e) {
2208
2209
  y: n.y - 20,
2209
2210
  height: 24,
2210
2211
  width: "150",
2211
- style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2212
+ style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2212
2213
  }, [
2213
2214
  I("div", {
2214
- style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2215
+ style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2215
2216
  innerHTML: e.applyDataLabel(
2216
2217
  e.FINAL_CONFIG.plot.tag.formatter,
2217
2218
  n.value,
@@ -2223,17 +2224,17 @@ function Yr(r, c, u, f, l, e) {
2223
2224
  }
2224
2225
  )
2225
2226
  }, null, 12, Wl)
2226
- ], 12, Dl)) : h("", !0),
2227
+ ], 12, Bl)) : h("", !0),
2227
2228
  n && d === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2228
2229
  key: 1,
2229
2230
  x: n.x - t.name.length * (l.fontSizes.plotLabels / 2),
2230
2231
  y: n.y - 20,
2231
2232
  height: 24,
2232
2233
  width: "150",
2233
- style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2234
+ style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2234
2235
  }, [
2235
2236
  I("div", {
2236
- style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2237
+ style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2237
2238
  innerHTML: e.applyDataLabel(
2238
2239
  e.FINAL_CONFIG.plot.tag.formatter,
2239
2240
  n.value,
@@ -2244,18 +2245,18 @@ function Yr(r, c, u, f, l, e) {
2244
2245
  serieName: t.name
2245
2246
  }
2246
2247
  )
2247
- }, null, 12, El)
2248
- ], 12, Bl)) : h("", !0)
2248
+ }, null, 12, Yl)
2249
+ ], 12, El)) : h("", !0)
2249
2250
  ], 64))
2250
2251
  ], 64))), 128))
2251
2252
  ], 64))), 128))
2252
2253
  ])),
2253
- e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", ql, [
2254
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s(g, {
2255
- key: `xLabel_line_${o}`
2254
+ e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Xl, [
2255
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2256
+ key: `xLabel_line_${c}`
2256
2257
  }, [
2257
2258
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2258
- key: `xLabel_line_${o}_${d}`
2259
+ key: `xLabel_line_${c}_${d}`
2259
2260
  }, [
2260
2261
  n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === d || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === d ? (i(), s("text", {
2261
2262
  key: 0,
@@ -2264,7 +2265,7 @@ function Yr(r, c, u, f, l, e) {
2264
2265
  "text-anchor": "middle",
2265
2266
  "font-size": l.fontSizes.plotLabels,
2266
2267
  fill: e.FINAL_CONFIG.line.labels.color,
2267
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2268
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2268
2269
  }, V(e.canShowValue(n.value) ? e.applyDataLabel(
2269
2270
  e.FINAL_CONFIG.line.labels.formatter,
2270
2271
  n.value,
@@ -2278,15 +2279,15 @@ function Yr(r, c, u, f, l, e) {
2278
2279
  datapoint: n,
2279
2280
  serie: t
2280
2281
  }
2281
- ) : ""), 13, Xl)) : h("", !0)
2282
+ ) : ""), 13, Ul)) : h("", !0)
2282
2283
  ], 64))), 128))
2283
2284
  ], 64))), 128))
2284
- ])) : (i(), s("g", Ul, [
2285
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s(g, {
2286
- key: `xLabel_line_${o}`
2285
+ ])) : (i(), s("g", Zl, [
2286
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2287
+ key: `xLabel_line_${c}`
2287
2288
  }, [
2288
2289
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2289
- key: `xLabel_line_${o}_${d}`
2290
+ key: `xLabel_line_${c}_${d}`
2290
2291
  }, [
2291
2292
  e.FINAL_CONFIG.line.tag.followValue ? (i(), s(g, { key: 1 }, [
2292
2293
  [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag ? (i(), s("line", {
@@ -2300,7 +2301,7 @@ function Yr(r, c, u, f, l, e) {
2300
2301
  "stroke-linecap": "round",
2301
2302
  "stroke-dasharray": "2",
2302
2303
  stroke: t.color
2303
- }, null, 8, jl)) : h("", !0)
2304
+ }, null, 8, $l)) : h("", !0)
2304
2305
  ], 64)) : (i(), s(g, { key: 0 }, [
2305
2306
  n && d === 0 && t.useTag && t.useTag === "start" ? (i(), s("foreignObject", {
2306
2307
  key: 0,
@@ -2308,10 +2309,10 @@ function Yr(r, c, u, f, l, e) {
2308
2309
  y: n.y - 20,
2309
2310
  height: 24,
2310
2311
  width: "150",
2311
- style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2312
+ style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2312
2313
  }, [
2313
2314
  I("div", {
2314
- style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2315
+ style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2315
2316
  innerHTML: e.applyDataLabel(
2316
2317
  e.FINAL_CONFIG.line.tag.formatter,
2317
2318
  n.value,
@@ -2323,17 +2324,17 @@ function Yr(r, c, u, f, l, e) {
2323
2324
  }
2324
2325
  )
2325
2326
  }, null, 12, Kl)
2326
- ], 12, Zl)) : h("", !0),
2327
+ ], 12, Jl)) : h("", !0),
2327
2328
  n && d === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (i(), s("foreignObject", {
2328
2329
  key: 1,
2329
2330
  x: n.x,
2330
2331
  y: n.y - 20,
2331
2332
  height: 24,
2332
2333
  width: "150",
2333
- style: _(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2334
+ style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2334
2335
  }, [
2335
2336
  I("div", {
2336
- style: _(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2337
+ style: F(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2337
2338
  innerHTML: e.applyDataLabel(
2338
2339
  e.FINAL_CONFIG.line.tag.formatter,
2339
2340
  n.value,
@@ -2344,17 +2345,17 @@ function Yr(r, c, u, f, l, e) {
2344
2345
  serieName: t.name
2345
2346
  }
2346
2347
  )
2347
- }, null, 12, Jl)
2348
+ }, null, 12, jl)
2348
2349
  ], 12, Ql)) : h("", !0)
2349
2350
  ], 64))
2350
2351
  ], 64))), 128))
2351
2352
  ], 64))), 128))
2352
2353
  ])),
2353
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s(g, {
2354
- key: `xLabel_line_${o}`
2354
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2355
+ key: `xLabel_line_${c}`
2355
2356
  }, [
2356
2357
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2357
- key: `xLabel_line_${o}_${d}`
2358
+ key: `xLabel_line_${c}_${d}`
2358
2359
  }, [
2359
2360
  n && d === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2360
2361
  key: 0,
@@ -2371,8 +2372,8 @@ function Yr(r, c, u, f, l, e) {
2371
2372
  y: n.y,
2372
2373
  maxWords: 2
2373
2374
  }),
2374
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2375
- }, null, 12, $l)) : h("", !0),
2375
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2376
+ }, null, 12, er)) : h("", !0),
2376
2377
  n && d === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2377
2378
  key: 1,
2378
2379
  x: n.x + l.fontSizes.plotLabels,
@@ -2388,15 +2389,15 @@ function Yr(r, c, u, f, l, e) {
2388
2389
  y: n.y,
2389
2390
  maxWords: 2
2390
2391
  }),
2391
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2392
- }, null, 12, er)) : h("", !0)
2392
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2393
+ }, null, 12, tr)) : h("", !0)
2393
2394
  ], 64))), 128))
2394
2395
  ], 64))), 128)),
2395
- (i(!0), s(g, null, x(e.plotSet, (t, o) => (i(), s(g, {
2396
- key: `xLabel_plot_${o}`
2396
+ (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2397
+ key: `xLabel_plot_${c}`
2397
2398
  }, [
2398
2399
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2399
- key: `xLabel_plot_${o}_${d}`
2400
+ key: `xLabel_plot_${c}_${d}`
2400
2401
  }, [
2401
2402
  n && d === 0 && t.showSerieName && t.showSerieName === "start" ? (i(), s("text", {
2402
2403
  key: 0,
@@ -2413,8 +2414,8 @@ function Yr(r, c, u, f, l, e) {
2413
2414
  y: n.y,
2414
2415
  maxWords: 2
2415
2416
  }),
2416
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2417
- }, null, 12, tr)) : h("", !0),
2417
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2418
+ }, null, 12, lr)) : h("", !0),
2418
2419
  n && d === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (i(), s("text", {
2419
2420
  key: 1,
2420
2421
  x: n.x + l.fontSizes.plotLabels,
@@ -2430,14 +2431,14 @@ function Yr(r, c, u, f, l, e) {
2430
2431
  y: n.y,
2431
2432
  maxWords: 2
2432
2433
  }),
2433
- style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2434
- }, null, 12, lr)) : h("", !0)
2434
+ style: F(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2435
+ }, null, 12, rr)) : h("", !0)
2435
2436
  ], 64))), 128))
2436
2437
  ], 64))), 128)),
2437
2438
  l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (i(), s(g, { key: 11 }, [
2438
2439
  I("defs", null, [
2439
- (i(!0), s(g, null, x(e.allScales, (t, o) => (i(), s("linearGradient", {
2440
- id: `individual_scale_gradient_${l.uniqueId}_${o}`,
2440
+ (i(!0), s(g, null, x(e.allScales, (t, c) => (i(), s("linearGradient", {
2441
+ id: `individual_scale_gradient_${l.uniqueId}_${c}`,
2441
2442
  x1: "0%",
2442
2443
  x2: "100%",
2443
2444
  y1: "0%",
@@ -2447,23 +2448,23 @@ function Yr(r, c, u, f, l, e) {
2447
2448
  offset: "0%",
2448
2449
  "stop-color": e.FINAL_CONFIG.chart.backgroundColor,
2449
2450
  "stop-opacity": "0"
2450
- }, null, 8, ar),
2451
+ }, null, 8, ir),
2451
2452
  I("stop", {
2452
2453
  offset: "100%",
2453
2454
  "stop-color": t.color,
2454
2455
  "stop-opacity": "0.2"
2455
- }, null, 8, ir)
2456
- ], 8, rr))), 256))
2456
+ }, null, 8, sr)
2457
+ ], 8, ar))), 256))
2457
2458
  ]),
2458
- (i(!0), s(g, null, x(e.allScales, (t, o) => (i(), s("rect", {
2459
+ (i(!0), s(g, null, x(e.allScales, (t, c) => (i(), s("rect", {
2459
2460
  x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2460
2461
  y: e.drawingArea.top,
2461
2462
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2462
2463
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2463
- fill: l.selectedScale === t.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${o})` : "transparent",
2464
+ fill: l.selectedScale === t.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${c})` : "transparent",
2464
2465
  onMouseenter: (n) => l.selectedScale = t.groupId,
2465
- onMouseleave: c[0] || (c[0] = (n) => l.selectedScale = null)
2466
- }, null, 40, sr))), 256))
2466
+ onMouseleave: o[0] || (o[0] = (n) => l.selectedScale = null)
2467
+ }, null, 40, nr))), 256))
2467
2468
  ], 64)) : h("", !0),
2468
2469
  I("g", null, [
2469
2470
  e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (i(), s("text", {
@@ -2473,7 +2474,7 @@ function Yr(r, c, u, f, l, e) {
2473
2474
  transform: `translate(${l.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2474
2475
  "text-anchor": "middle",
2475
2476
  style: { transition: "none" }
2476
- }, V(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, nr)) : h("", !0),
2477
+ }, V(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, cr)) : h("", !0),
2477
2478
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (i(), s("text", {
2478
2479
  key: 1,
2479
2480
  "text-anchor": "middle",
@@ -2481,39 +2482,59 @@ function Yr(r, c, u, f, l, e) {
2481
2482
  y: e.drawingArea.bottom + l.fontSizes.yAxis + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2482
2483
  "font-size": l.fontSizes.yAxis,
2483
2484
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2484
- }, V(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, cr)) : h("", !0)
2485
+ }, V(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, or)) : h("", !0)
2485
2486
  ]),
2486
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", or, [
2487
- r.$slots["time-label"] ? (i(!0), s(g, { key: 0 }, x(e.timeLabels, (t, o) => O(r.$slots, "time-label", se({
2488
- key: `time_label_${o}`,
2487
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", hr, [
2488
+ r.$slots["time-label"] ? (i(!0), s(g, { key: 0 }, x(e.timeLabels, (t, c) => O(r.$slots, "time-label", se({
2489
+ key: `time_label_${c}`,
2489
2490
  ref_for: !0
2490
2491
  }, {
2491
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2,
2492
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2,
2492
2493
  y: e.drawingArea.bottom + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2493
2494
  fontSize: l.fontSizes.xAxis,
2494
2495
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2495
- transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + 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})`,
2496
+ 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})`,
2496
2497
  absoluteIndex: t.absoluteIndex,
2497
2498
  content: t.text,
2498
2499
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2499
- show: t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2500
- }), void 0, !0)), 128)) : (i(!0), s(g, { key: 1 }, x(e.timeLabels, (t, o) => (i(), s("g", {
2501
- key: `time_label_${o}`
2500
+ show: t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2501
+ }), void 0, !0)), 128)) : (i(!0), s(g, { key: 1 }, x(e.timeLabels, (t, c) => (i(), s("g", {
2502
+ key: `time_label_${c}`
2502
2503
  }, [
2503
- t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s("text", {
2504
- key: 0,
2505
- "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2506
- "font-size": l.fontSizes.xAxis,
2507
- fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2508
- transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + 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})`,
2509
- style: _({
2510
- cursor: e.usesSelectTimeLabelEvent() ? "pointer" : "default"
2511
- }),
2512
- onClick: () => e.selectTimeLabel(t, o)
2513
- }, V(t.text || ""), 13, hr)) : h("", !0)
2504
+ t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s(g, { key: 0 }, [
2505
+ String(t.text).includes(`
2506
+ `) ? (i(), s("text", {
2507
+ key: 1,
2508
+ "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2509
+ "font-size": l.fontSizes.xAxis,
2510
+ fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2511
+ transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2512
+ style: F({
2513
+ cursor: e.usesSelectTimeLabelEvent() ? "pointer" : "default"
2514
+ }),
2515
+ innerHTML: e.createTSpansFromLineBreaksOnX({
2516
+ content: String(t.text),
2517
+ fontSize: l.fontSizes.xAxis,
2518
+ fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2519
+ x: 0,
2520
+ y: 0
2521
+ }),
2522
+ onClick: () => e.selectTimeLabel(t, c)
2523
+ }, null, 12, dr)) : (i(), s("text", {
2524
+ key: 0,
2525
+ "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2526
+ "font-size": l.fontSizes.xAxis,
2527
+ fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2528
+ transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2529
+ style: F({
2530
+ cursor: e.usesSelectTimeLabelEvent() ? "pointer" : "default"
2531
+ }),
2532
+ onClick: () => e.selectTimeLabel(t, c)
2533
+ }, V(t.text || ""), 13, ur))
2534
+ ], 64)) : h("", !0)
2514
2535
  ]))), 128))
2515
2536
  ])) : h("", !0),
2516
- e.annotationsY.length && !l.mutableConfig.isStacked ? (i(), s("g", ur, [
2537
+ e.annotationsY.length && !l.mutableConfig.isStacked ? (i(), s("g", gr, [
2517
2538
  (i(!0), s(g, null, x(e.annotationsY, (t) => (i(), s("g", {
2518
2539
  key: t.uid
2519
2540
  }, [
@@ -2528,7 +2549,7 @@ function Yr(r, c, u, f, l, e) {
2528
2549
  "stroke-dasharray": t.config.line.strokeDasharray,
2529
2550
  "stroke-linecap": "round",
2530
2551
  style: { animation: "none !important" }
2531
- }, null, 8, dr)) : h("", !0),
2552
+ }, null, 8, fr)) : h("", !0),
2532
2553
  t.yBottom && t.show ? (i(), s("line", {
2533
2554
  key: 1,
2534
2555
  x1: t.x1,
@@ -2540,7 +2561,7 @@ function Yr(r, c, u, f, l, e) {
2540
2561
  "stroke-dasharray": t.config.line.strokeDasharray,
2541
2562
  "stroke-linecap": "round",
2542
2563
  style: { animation: "none !important" }
2543
- }, null, 8, gr)) : h("", !0),
2564
+ }, null, 8, Ir)) : h("", !0),
2544
2565
  t.hasArea && t.show ? (i(), s("rect", {
2545
2566
  key: 2,
2546
2567
  y: Math.min(t.yTop, t.yBottom),
@@ -2549,7 +2570,7 @@ function Yr(r, c, u, f, l, e) {
2549
2570
  height: e.checkNaN(t.areaHeight, 0),
2550
2571
  fill: e.setOpacity(t.config.area.fill, t.config.area.opacity),
2551
2572
  style: { animation: "none !important" }
2552
- }, null, 8, fr)) : h("", !0),
2573
+ }, null, 8, xr)) : h("", !0),
2553
2574
  t.config.label.text && t.show ? (i(), s("rect", se({
2554
2575
  key: 3,
2555
2576
  class: "vue-ui-xy-annotation-label-box"
@@ -2563,23 +2584,23 @@ function Yr(r, c, u, f, l, e) {
2563
2584
  "font-size": t.config.label.fontSize,
2564
2585
  fill: t.config.label.color,
2565
2586
  "text-anchor": t.config.label.textAnchor
2566
- }, V(t.config.label.text), 9, Ir)) : h("", !0)
2587
+ }, V(t.config.label.text), 9, Nr)) : h("", !0)
2567
2588
  ]))), 128))
2568
2589
  ])) : h("", !0),
2569
2590
  I("g", null, [
2570
- (i(!0), s(g, null, x(e.maxSeries, (t, o) => (i(), s("rect", {
2571
- key: `tooltip_trap_${o}`,
2572
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
2591
+ (i(!0), s(g, null, x(e.maxSeries, (t, c) => (i(), s("rect", {
2592
+ key: `tooltip_trap_${c}`,
2593
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
2573
2594
  y: e.drawingArea.top,
2574
2595
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2575
2596
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2576
2597
  fill: "transparent",
2577
- onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
2578
- onMouseleave: c[1] || (c[1] = (n) => e.toggleTooltipVisibility(!1)),
2579
- onClick: (n) => e.selectX(o)
2580
- }, null, 40, xr))), 128))
2598
+ onMouseenter: (n) => e.toggleTooltipVisibility(!0, c),
2599
+ onMouseleave: o[1] || (o[1] = (n) => e.toggleTooltipVisibility(!1)),
2600
+ onClick: (n) => e.selectX(c)
2601
+ }, null, 40, mr))), 128))
2581
2602
  ]),
2582
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", Nr, [
2603
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", br, [
2583
2604
  (i(), s("foreignObject", {
2584
2605
  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,
2585
2606
  y: e.drawingArea.bottom,
@@ -2589,48 +2610,48 @@ function Yr(r, c, u, f, l, e) {
2589
2610
  }, [
2590
2611
  I("div", {
2591
2612
  class: "vue-ui-xy-time-tag",
2592
- style: _(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2613
+ style: F(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2593
2614
  }, V(e.timeLabels[(l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)].text || (l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)), 5)
2594
- ], 8, mr)),
2615
+ ], 8, Fr)),
2595
2616
  I("circle", {
2596
2617
  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,
2597
2618
  cy: e.drawingArea.bottom,
2598
2619
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2599
2620
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2600
- }, null, 8, br)
2621
+ }, null, 8, _r)
2601
2622
  ])) : h("", !0)
2602
2623
  ])) : h("", !0),
2603
2624
  O(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2604
- ], 14, ut)) : h("", !0),
2605
- r.$slots.watermark ? (i(), s("div", Fr, [
2625
+ ], 14, dt)) : h("", !0),
2626
+ r.$slots.watermark ? (i(), s("div", Ar, [
2606
2627
  O(r.$slots, "watermark", $(ee({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2607
2628
  ])) : h("", !0),
2608
- (i(!0), s(g, null, x(e.lineSet, (t, o) => (i(), s(g, {
2609
- key: `tag_line_${o}`
2629
+ (i(!0), s(g, null, x(e.lineSet, (t, c) => (i(), s(g, {
2630
+ key: `tag_line_${c}`
2610
2631
  }, [
2611
2632
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2612
- key: `tag_line_${o}_${d}`
2633
+ key: `tag_line_${c}_${d}`
2613
2634
  }, [
2614
2635
  [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (i(), s("div", {
2615
2636
  key: 0,
2616
2637
  ref_for: !0,
2617
- ref: (p) => e.setTagRef(o, d, p, "right", "line"),
2638
+ ref: (p) => e.setTagRef(c, d, p, "right", "line"),
2618
2639
  class: "vue-ui-xy-tag",
2619
2640
  "data-tag": "right",
2620
- style: _({
2641
+ style: F({
2621
2642
  position: "fixed",
2622
2643
  top: e.placeXYTag({
2623
2644
  svgElement: l.svgRef,
2624
2645
  x: e.drawingArea.right + e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2625
2646
  y: n.y,
2626
- element: l.tagRefs[`${o}_${d}_right_line`],
2647
+ element: l.tagRefs[`${c}_${d}_right_line`],
2627
2648
  position: "right"
2628
2649
  }).top + "px",
2629
2650
  left: e.placeXYTag({
2630
2651
  svgElement: l.svgRef,
2631
2652
  x: e.drawingArea.right + e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2632
2653
  y: n.y,
2633
- element: l.tagRefs[`${o}_${d}_right_line`],
2654
+ element: l.tagRefs[`${c}_${d}_right_line`],
2634
2655
  position: "right"
2635
2656
  }).left + "px",
2636
2657
  height: "fit-content",
@@ -2642,12 +2663,12 @@ function Yr(r, c, u, f, l, e) {
2642
2663
  opacity: 1
2643
2664
  })
2644
2665
  }, [
2645
- (i(), s("svg", _r, [
2666
+ (i(), s("svg", yr, [
2646
2667
  I("path", {
2647
2668
  d: "M 0,10 10,0 10,20 Z",
2648
2669
  fill: t.color,
2649
2670
  stroke: "none"
2650
- }, null, 8, yr)
2671
+ }, null, 8, Lr)
2651
2672
  ])),
2652
2673
  I("div", {
2653
2674
  class: "vue-ui-xy-tag-content",
@@ -2661,28 +2682,28 @@ function Yr(r, c, u, f, l, e) {
2661
2682
  serieName: t.name
2662
2683
  }
2663
2684
  )
2664
- }, null, 8, Ar)
2685
+ }, null, 8, Cr)
2665
2686
  ], 4)) : h("", !0),
2666
2687
  [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (i(), s("div", {
2667
2688
  key: 1,
2668
2689
  ref_for: !0,
2669
- ref: (p) => e.setTagRef(o, d, p, "left", "line"),
2690
+ ref: (p) => e.setTagRef(c, d, p, "left", "line"),
2670
2691
  class: "vue-ui-xy-tag",
2671
2692
  "data-tag": "left",
2672
- style: _({
2693
+ style: F({
2673
2694
  position: "fixed",
2674
2695
  top: e.placeXYTag({
2675
2696
  svgElement: l.svgRef,
2676
2697
  x: e.drawingArea.left - e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2677
2698
  y: n.y,
2678
- element: l.tagRefs[`${o}_${d}_left_line`],
2699
+ element: l.tagRefs[`${c}_${d}_left_line`],
2679
2700
  position: "left"
2680
2701
  }).top + "px",
2681
2702
  left: e.placeXYTag({
2682
2703
  svgElement: l.svgRef,
2683
2704
  x: e.drawingArea.left - e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2684
2705
  y: n.y,
2685
- element: l.tagRefs[`${o}_${d}_left_line`],
2706
+ element: l.tagRefs[`${c}_${d}_left_line`],
2686
2707
  position: "left"
2687
2708
  }).left + "px",
2688
2709
  height: "fit-content",
@@ -2694,12 +2715,12 @@ function Yr(r, c, u, f, l, e) {
2694
2715
  opacity: 1
2695
2716
  })
2696
2717
  }, [
2697
- (i(), s("svg", Lr, [
2718
+ (i(), s("svg", Sr, [
2698
2719
  I("path", {
2699
2720
  d: "M 0,0 10,10 0,20 Z",
2700
2721
  fill: t.color,
2701
2722
  stroke: "none"
2702
- }, null, 8, Cr)
2723
+ }, null, 8, kr)
2703
2724
  ])),
2704
2725
  I("div", {
2705
2726
  class: "vue-ui-xy-tag-content",
@@ -2713,36 +2734,36 @@ function Yr(r, c, u, f, l, e) {
2713
2734
  serieName: t.name
2714
2735
  }
2715
2736
  )
2716
- }, null, 8, Sr)
2737
+ }, null, 8, wr)
2717
2738
  ], 4)) : h("", !0)
2718
2739
  ], 64))), 128))
2719
2740
  ], 64))), 128)),
2720
- (i(!0), s(g, null, x(e.plotSet, (t, o) => (i(), s(g, {
2721
- key: `tag_plot_${o}`
2741
+ (i(!0), s(g, null, x(e.plotSet, (t, c) => (i(), s(g, {
2742
+ key: `tag_plot_${c}`
2722
2743
  }, [
2723
2744
  (i(!0), s(g, null, x(t.plots, (n, d) => (i(), s(g, {
2724
- key: `tag_plot_${o}_${d}`
2745
+ key: `tag_plot_${c}_${d}`
2725
2746
  }, [
2726
2747
  [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (i(), s("div", {
2727
2748
  key: 0,
2728
2749
  ref_for: !0,
2729
- ref: (p) => e.setTagRef(o, d, p, "right", "plot"),
2750
+ ref: (p) => e.setTagRef(c, d, p, "right", "plot"),
2730
2751
  class: "vue-ui-xy-tag",
2731
2752
  "data-tag": "right",
2732
- style: _({
2753
+ style: F({
2733
2754
  position: "fixed",
2734
2755
  top: e.placeXYTag({
2735
2756
  svgElement: l.svgRef,
2736
2757
  x: e.drawingArea.right + e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2737
2758
  y: n.y,
2738
- element: l.tagRefs[`${o}_${d}_right_plot`],
2759
+ element: l.tagRefs[`${c}_${d}_right_plot`],
2739
2760
  position: "right"
2740
2761
  }).top + "px",
2741
2762
  left: e.placeXYTag({
2742
2763
  svgElement: l.svgRef,
2743
2764
  x: e.drawingArea.right + e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2744
2765
  y: n.y,
2745
- element: l.tagRefs[`${o}_${d}_right_plot`],
2766
+ element: l.tagRefs[`${c}_${d}_right_plot`],
2746
2767
  position: "right"
2747
2768
  }).left + "px",
2748
2769
  height: "fit-content",
@@ -2754,12 +2775,12 @@ function Yr(r, c, u, f, l, e) {
2754
2775
  opacity: 1
2755
2776
  })
2756
2777
  }, [
2757
- (i(), s("svg", kr, [
2778
+ (i(), s("svg", Or, [
2758
2779
  I("path", {
2759
2780
  d: "M 0,10 10,0 10,20 Z",
2760
2781
  fill: t.color,
2761
2782
  stroke: "none"
2762
- }, null, 8, wr)
2783
+ }, null, 8, Gr)
2763
2784
  ])),
2764
2785
  I("div", {
2765
2786
  class: "vue-ui-xy-tag-content",
@@ -2773,28 +2794,28 @@ function Yr(r, c, u, f, l, e) {
2773
2794
  serieName: t.name
2774
2795
  }
2775
2796
  )
2776
- }, null, 8, Or)
2797
+ }, null, 8, vr)
2777
2798
  ], 4)) : h("", !0),
2778
2799
  [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(d) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (i(), s("div", {
2779
2800
  key: 1,
2780
2801
  ref_for: !0,
2781
- ref: (p) => e.setTagRef(o, d, p, "left", "plot"),
2802
+ ref: (p) => e.setTagRef(c, d, p, "left", "plot"),
2782
2803
  class: "vue-ui-xy-tag",
2783
2804
  "data-tag": "left",
2784
- style: _({
2805
+ style: F({
2785
2806
  position: "fixed",
2786
2807
  top: e.placeXYTag({
2787
2808
  svgElement: l.svgRef,
2788
2809
  x: e.drawingArea.left - e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2789
2810
  y: n.y,
2790
- element: l.tagRefs[`${o}_${d}_left_plot`],
2811
+ element: l.tagRefs[`${c}_${d}_left_plot`],
2791
2812
  position: "left"
2792
2813
  }).top + "px",
2793
2814
  left: e.placeXYTag({
2794
2815
  svgElement: l.svgRef,
2795
2816
  x: e.drawingArea.left - e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2796
2817
  y: n.y,
2797
- element: l.tagRefs[`${o}_${d}_left_plot`],
2818
+ element: l.tagRefs[`${c}_${d}_left_plot`],
2798
2819
  position: "left"
2799
2820
  }).left + "px",
2800
2821
  height: "fit-content",
@@ -2806,12 +2827,12 @@ function Yr(r, c, u, f, l, e) {
2806
2827
  opacity: 1
2807
2828
  })
2808
2829
  }, [
2809
- (i(), s("svg", Gr, [
2830
+ (i(), s("svg", pr, [
2810
2831
  I("path", {
2811
2832
  d: "M 0,0 10,10 0,20 Z",
2812
2833
  fill: t.color,
2813
2834
  stroke: "none"
2814
- }, null, 8, vr)
2835
+ }, null, 8, zr)
2815
2836
  ])),
2816
2837
  I("div", {
2817
2838
  class: "vue-ui-xy-tag-content",
@@ -2825,11 +2846,11 @@ function Yr(r, c, u, f, l, e) {
2825
2846
  serieName: t.name
2826
2847
  }
2827
2848
  )
2828
- }, null, 8, pr)
2849
+ }, null, 8, Mr)
2829
2850
  ], 4)) : h("", !0)
2830
2851
  ], 64))), 128))
2831
2852
  ], 64))), 128)),
2832
- e.isDataset ? h("", !0) : (i(), U(y, {
2853
+ e.isDataset ? h("", !0) : (i(), U(A, {
2833
2854
  key: 6,
2834
2855
  config: {
2835
2856
  type: "line",
@@ -2873,9 +2894,9 @@ function Yr(r, c, u, f, l, e) {
2873
2894
  valueStart: l.slicer.start,
2874
2895
  valueEnd: l.slicer.end,
2875
2896
  start: l.slicer.start,
2876
- "onUpdate:start": c[2] || (c[2] = (t) => l.slicer.start = t),
2897
+ "onUpdate:start": o[2] || (o[2] = (t) => l.slicer.start = t),
2877
2898
  end: l.slicer.end,
2878
- "onUpdate:end": c[3] || (c[3] = (t) => l.slicer.end = t),
2899
+ "onUpdate:end": o[3] || (o[3] = (t) => l.slicer.end = t),
2879
2900
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2880
2901
  refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...u.dataset.map((t) => e.largestTriangleThreeBucketsArray({ data: t.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2881
2902
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
@@ -2883,7 +2904,7 @@ function Yr(r, c, u, f, l, e) {
2883
2904
  onReset: e.refreshSlicer,
2884
2905
  onTrapMouse: e.selectMinimapIndex
2885
2906
  }, {
2886
- "reset-action": W(({ reset: t }) => [
2907
+ "reset-action": B(({ reset: t }) => [
2887
2908
  O(r.$slots, "reset-action", $(ee({ reset: t })), void 0, !0)
2888
2909
  ]),
2889
2910
  _: 3
@@ -2892,14 +2913,14 @@ function Yr(r, c, u, f, l, e) {
2892
2913
  key: 8,
2893
2914
  ref: "chartLegend",
2894
2915
  class: "vue-ui-xy-legend",
2895
- style: _(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2916
+ style: F(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2896
2917
  }, [
2897
- (i(!0), s(g, null, x(e.absoluteDataset, (t, o) => (i(), s("div", {
2898
- key: `div_legend_item_${o}`,
2918
+ (i(!0), s(g, null, x(e.absoluteDataset, (t, c) => (i(), s("div", {
2919
+ key: `div_legend_item_${c}`,
2899
2920
  onClick: (n) => e.segregate(t),
2900
2921
  class: j({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(t.id) })
2901
2922
  }, [
2902
- l.icons[t.type] === "line" ? (i(), s("svg", Mr, [
2923
+ l.icons[t.type] === "line" ? (i(), s("svg", Pr, [
2903
2924
  I("rect", {
2904
2925
  x: "0",
2905
2926
  y: "7.5",
@@ -2909,7 +2930,7 @@ function Yr(r, c, u, f, l, e) {
2909
2930
  height: "3",
2910
2931
  width: "20",
2911
2932
  fill: t.color
2912
- }, null, 8, Tr),
2933
+ }, null, 8, Vr),
2913
2934
  le(N, {
2914
2935
  plot: { x: 10, y: 9 },
2915
2936
  radius: 4,
@@ -2918,7 +2939,7 @@ function Yr(r, c, u, f, l, e) {
2918
2939
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2919
2940
  strokeWidth: 0.5
2920
2941
  }, null, 8, ["color", "shape", "stroke"])
2921
- ])) : l.icons[t.type] === "bar" ? (i(), s("svg", Pr, [
2942
+ ])) : l.icons[t.type] === "bar" ? (i(), s("svg", Rr, [
2922
2943
  l.icons[t.type] === "bar" && r.$slots.pattern ? (i(), s("rect", {
2923
2944
  key: 0,
2924
2945
  x: "0",
@@ -2928,7 +2949,7 @@ function Yr(r, c, u, f, l, e) {
2928
2949
  width: "40",
2929
2950
  stroke: "none",
2930
2951
  fill: t.color
2931
- }, null, 8, Vr)) : h("", !0),
2952
+ }, null, 8, Hr)) : h("", !0),
2932
2953
  l.icons[t.type] === "bar" ? (i(), s("rect", {
2933
2954
  key: 1,
2934
2955
  x: "0",
@@ -2938,8 +2959,8 @@ function Yr(r, c, u, f, l, e) {
2938
2959
  width: "40",
2939
2960
  stroke: "none",
2940
2961
  fill: r.$slots.pattern ? `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})` : t.color
2941
- }, null, 8, Rr)) : h("", !0)
2942
- ])) : (i(), s("svg", Hr, [
2962
+ }, null, 8, Dr)) : h("", !0)
2963
+ ])) : (i(), s("svg", Br, [
2943
2964
  le(N, {
2944
2965
  plot: { x: 6, y: 6 },
2945
2966
  radius: 5,
@@ -2948,13 +2969,13 @@ function Yr(r, c, u, f, l, e) {
2948
2969
  }, null, 8, ["color", "shape"])
2949
2970
  ])),
2950
2971
  I("span", {
2951
- style: _(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2972
+ style: F(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2952
2973
  }, V(t.name), 5)
2953
- ], 10, zr))), 128))
2954
- ], 4)) : (i(), s("div", Dr, [
2974
+ ], 10, Tr))), 128))
2975
+ ], 4)) : (i(), s("div", Wr, [
2955
2976
  O(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2956
2977
  ], 512)),
2957
- r.$slots.source ? (i(), s("div", Wr, [
2978
+ r.$slots.source ? (i(), s("div", Er, [
2958
2979
  O(r.$slots, "source", {}, void 0, !0)
2959
2980
  ], 512)) : h("", !0),
2960
2981
  le(m, {
@@ -2973,10 +2994,10 @@ function Yr(r, c, u, f, l, e) {
2973
2994
  isFullscreen: l.isFullscreen,
2974
2995
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2975
2996
  }, {
2976
- "tooltip-before": W(() => [
2997
+ "tooltip-before": B(() => [
2977
2998
  O(r.$slots, "tooltip-before", $(ee({ ...e.dataTooltipSlot })), void 0, !0)
2978
2999
  ]),
2979
- "tooltip-after": W(() => [
3000
+ "tooltip-after": B(() => [
2980
3001
  O(r.$slots, "tooltip-after", $(ee({ ...e.dataTooltipSlot })), void 0, !0)
2981
3002
  ]),
2982
3003
  _: 3
@@ -2997,22 +3018,22 @@ function Yr(r, c, u, f, l, e) {
2997
3018
  }
2998
3019
  }
2999
3020
  }, {
3000
- content: W(() => [
3021
+ content: B(() => [
3001
3022
  I("div", {
3002
- style: _(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3023
+ style: F(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
3003
3024
  }, [
3004
- I("div", Br, [
3005
- et(I("input", {
3025
+ I("div", Yr, [
3026
+ tt(I("input", {
3006
3027
  type: "checkbox",
3007
- "onUpdate:modelValue": c[4] || (c[4] = (t) => l.showSparklineTable = t)
3028
+ "onUpdate:modelValue": o[4] || (o[4] = (t) => l.showSparklineTable = t)
3008
3029
  }, null, 512), [
3009
- [tt, l.showSparklineTable]
3030
+ [lt, l.showSparklineTable]
3010
3031
  ]),
3011
3032
  I("div", {
3012
- onClick: c[5] || (c[5] = (t) => l.showSparklineTable = !l.showSparklineTable),
3033
+ onClick: o[5] || (o[5] = (t) => l.showSparklineTable = !l.showSparklineTable),
3013
3034
  style: { cursor: "pointer" }
3014
3035
  }, [
3015
- le(A, {
3036
+ le(y, {
3016
3037
  name: "chartLine",
3017
3038
  size: 20,
3018
3039
  stroke: e.FINAL_CONFIG.chart.color
@@ -3030,13 +3051,13 @@ function Yr(r, c, u, f, l, e) {
3030
3051
  body: e.dataTable.body,
3031
3052
  config: e.dataTable.config,
3032
3053
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
3033
- onClose: c[6] || (c[6] = (t) => l.mutableConfig.showTable = !1)
3054
+ onClose: o[6] || (o[6] = (t) => l.mutableConfig.showTable = !1)
3034
3055
  }, {
3035
- th: W(({ th: t }) => [
3036
- I("div", { innerHTML: t }, null, 8, Er)
3056
+ th: B(({ th: t }) => [
3057
+ I("div", { innerHTML: t }, null, 8, qr)
3037
3058
  ]),
3038
- td: W(({ td: t }) => [
3039
- lt(V(isNaN(Number(t)) ? t : e.dataLabel({
3059
+ td: B(({ td: t }) => [
3060
+ rt(V(isNaN(Number(t)) ? t : e.dataLabel({
3040
3061
  p: e.FINAL_CONFIG.chart.labels.prefix,
3041
3062
  v: t,
3042
3063
  s: e.FINAL_CONFIG.chart.labels.suffix,
@@ -3049,9 +3070,9 @@ function Yr(r, c, u, f, l, e) {
3049
3070
  ]),
3050
3071
  _: 1
3051
3072
  }, 8, ["config"])) : h("", !0)
3052
- ], 46, ot);
3073
+ ], 46, ht);
3053
3074
  }
3054
- const ea = /* @__PURE__ */ st(ct, [["render", Yr], ["__scopeId", "data-v-263ed7b7"]]);
3075
+ const la = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-2bc488d7"]]);
3055
3076
  export {
3056
- ea as default
3077
+ la as default
3057
3078
  };