vue-data-ui 2.16.4 → 2.16.6

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 (92) hide show
  1. package/README.md +2 -2
  2. package/dist/{Arrow-CQWVJ5sZ.js → Arrow-DCqxVwey.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Fz8fA4VM.js → BaseDraggableDialog-6DIKXIBU.js} +2 -2
  4. package/dist/{BaseIcon-CfYrW3zO.js → BaseIcon-Bn996RXm.js} +1 -1
  5. package/dist/{ColorPicker-B2ITT7Lp.js → ColorPicker-OFfLkKNb.js} +2 -2
  6. package/dist/{DataTable-C6IBsdXI.js → DataTable-CHBLjKtZ.js} +2 -2
  7. package/dist/{Legend-bIoNrGWy.js → Legend-nBXoxXJH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-BsSwoYpL.js → NonSvgPenAndPaper-Cls2idJS.js} +3 -3
  9. package/dist/{PackageVersion-DfefmcMg.js → PackageVersion-Bg_9KCU-.js} +1 -1
  10. package/dist/{PenAndPaper-CixPm-N0.js → PenAndPaper-BPTpbnay.js} +3 -3
  11. package/dist/{Shape-dKMmmbg5.js → Shape-Bnf512BA.js} +1 -1
  12. package/dist/{Slicer-szgfOkiL.js → Slicer-BrqtJG2E.js} +2 -2
  13. package/dist/{SparkTooltip-D_NmtqzO.js → SparkTooltip-C-rLATAw.js} +1 -1
  14. package/dist/{Title-DTuTBtAe.js → Title-Gi81VwUM.js} +1 -1
  15. package/dist/{Tooltip-CVPiPR9d.js → Tooltip-CJxVw7-T.js} +1 -1
  16. package/dist/{UserOptions-D8SRavqE.js → UserOptions-CBEK6_jo.js} +137 -129
  17. package/dist/{dom-to-png-Br5bL5eX.js → dom-to-png-CRHNL8VU.js} +1 -1
  18. package/dist/img-BgOg8opa.js +27 -0
  19. package/dist/{index-BsirVW_m.js → index-DvIXJm6t.js} +1 -1
  20. package/dist/{pdf-BBk37REU.js → pdf-DhTxBrbJ.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +2 -2
  23. package/dist/types/vue-data-ui.d.ts +2 -2
  24. package/dist/{useNestedProp-Ej-oqNyf.js → useNestedProp-DrYHm61t.js} +1 -1
  25. package/dist/{usePrinter-Dpd-vZym.js → usePrinter-CWnXbGMb.js} +2 -2
  26. package/dist/{vue-data-ui-Bd_shukQ.js → vue-data-ui-B8EWlMIK.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Baaeejpi.js → vue-ui-3d-bar-CtlB4p7i.js} +42 -41
  29. package/dist/{vue-ui-accordion-D2TcT2US.js → vue-ui-accordion-D55kCO5G.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BW2q5yMT.js → vue-ui-age-pyramid-DSshyUn-.js} +39 -38
  31. package/dist/{vue-ui-annotator-DR6dXmoQ.js → vue-ui-annotator-DQSMv_k2.js} +2 -2
  32. package/dist/{vue-ui-bullet-BYvOXGoO.js → vue-ui-bullet-FeScjj7q.js} +23 -22
  33. package/dist/{vue-ui-candlestick-DXGY7-1u.js → vue-ui-candlestick-Drupgyoi.js} +100 -99
  34. package/dist/{vue-ui-carousel-table-DpRdTSdS.js → vue-ui-carousel-table-BTZQRZfO.js} +17 -16
  35. package/dist/{vue-ui-chestnut--uqQw5gd.js → vue-ui-chestnut-DLWjPwRL.js} +64 -63
  36. package/dist/{vue-ui-chord-C6z1Oi8y.js → vue-ui-chord-BgLbFBT9.js} +87 -86
  37. package/dist/{vue-ui-circle-pack-BgtFPkv2.js → vue-ui-circle-pack-VXcRh2gy.js} +31 -30
  38. package/dist/{vue-ui-cursor-C_KZ7SW0.js → vue-ui-cursor-DWmfnM25.js} +2 -2
  39. package/dist/{vue-ui-dashboard-YSzYS59X.js → vue-ui-dashboard-CGIocEHj.js} +62 -62
  40. package/dist/{vue-ui-digits-B6Ej5XbC.js → vue-ui-digits-BgQch3Fc.js} +2 -2
  41. package/dist/{vue-ui-donut-BYouj_X8.js → vue-ui-donut-B59bCV5_.js} +74 -73
  42. package/dist/{vue-ui-donut-evolution-DHIMoo_a.js → vue-ui-donut-evolution-CI8qBIQd.js} +44 -43
  43. package/dist/{vue-ui-dumbbell-rHe7aWF7.js → vue-ui-dumbbell-CXv7sk88.js} +9 -8
  44. package/dist/{vue-ui-flow-hV-6uTPS.js → vue-ui-flow-DxF0ELtv.js} +9 -8
  45. package/dist/{vue-ui-funnel-45FdkG1w.js → vue-ui-funnel-Bco8rqF8.js} +20 -19
  46. package/dist/{vue-ui-galaxy-yg-YRwYP.js → vue-ui-galaxy-CaPJwwOj.js} +22 -21
  47. package/dist/{vue-ui-gauge-Ccf__w06.js → vue-ui-gauge-D7arhDmb.js} +8 -7
  48. package/dist/{vue-ui-gizmo-CxSBWMgK.js → vue-ui-gizmo-Dwli-Mip.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cz1GzvLQ.js → vue-ui-heatmap-Cyn-ahGO.js} +10 -9
  50. package/dist/{vue-ui-history-plot-DChEbCv0.js → vue-ui-history-plot-C2AEToqx.js} +27 -26
  51. package/dist/{vue-ui-kpi-D1cHw1LD.js → vue-ui-kpi-DKDibSdl.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-FxoEnicn.js → vue-ui-mini-loader-B8OVutUx.js} +2 -2
  53. package/dist/{vue-ui-molecule-BvGzvTQc.js → vue-ui-molecule-BVSrqIGw.js} +22 -21
  54. package/dist/{vue-ui-mood-radar-DomwWh69.js → vue-ui-mood-radar-DvlyS3RN.js} +9 -8
  55. package/dist/{vue-ui-nested-donuts-BrC9S0cw.js → vue-ui-nested-donuts-D9ssSus6.js} +89 -88
  56. package/dist/{vue-ui-onion-YvCPFGpJ.js → vue-ui-onion-Buu4VX3u.js} +40 -39
  57. package/dist/{vue-ui-parallel-coordinate-plot-D_ji0o1R.js → vue-ui-parallel-coordinate-plot-DFLUvhxD.js} +29 -28
  58. package/dist/{vue-ui-quadrant-B1xa2r0Q.js → vue-ui-quadrant-BMC7NBGd.js} +90 -89
  59. package/dist/{vue-ui-quick-chart-ClCOLJ5y.js → vue-ui-quick-chart-DB9RKUkb.js} +59 -58
  60. package/dist/{vue-ui-radar-B460wd0h.js → vue-ui-radar-68NMPxxQ.js} +26 -25
  61. package/dist/{vue-ui-rating-D1_WFLlk.js → vue-ui-rating-swH9kRr3.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-ECKEkE2-.js → vue-ui-relation-circle-CT-EdSjO.js} +11 -10
  63. package/dist/{vue-ui-ridgeline-E-1Lcv1j.js → vue-ui-ridgeline-DftROPaX.js} +10 -9
  64. package/dist/{vue-ui-rings-BsSwSht6.js → vue-ui-rings-M-9dPI5D.js} +45 -44
  65. package/dist/{vue-ui-scatter-CVEd6_m1.js → vue-ui-scatter-CsGhaFJh.js} +44 -43
  66. package/dist/{vue-ui-skeleton-CchtfQiJ.js → vue-ui-skeleton-BAOt2neL.js} +3 -3
  67. package/dist/{vue-ui-smiley-CkedzX6d.js → vue-ui-smiley-7_kIgPg-.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-ByPzMHci.js → vue-ui-spark-trend-DHlQQpwz.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-DoVR95AR.js → vue-ui-sparkbar-BnHhzuKf.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-B9WEsmn8.js → vue-ui-sparkgauge-WtfkCK8g.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B5Ub1nsA.js → vue-ui-sparkhistogram-B2u4XLVd.js} +4 -4
  72. package/dist/{vue-ui-sparkline-BqHPNt6h.js → vue-ui-sparkline-DKIyUlSm.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BhL0IxK5.js → vue-ui-sparkstackbar-BLGz2qIb.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CuSsigBj.js → vue-ui-stackbar-BDpMsTYe.js} +277 -275
  75. package/dist/{vue-ui-strip-plot-BTqp8p9u.js → vue-ui-strip-plot-5qDcYPnR.js} +22 -21
  76. package/dist/{vue-ui-table-Du7un5Fm.js → vue-ui-table-Bg5HIQ3O.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-YxGFfRC3.js → vue-ui-table-heatmap-DmjNy1q1.js} +26 -25
  78. package/dist/{vue-ui-table-sparkline-Bbt4GjUn.js → vue-ui-table-sparkline-CnkJkBk5.js} +8 -7
  79. package/dist/{vue-ui-thermometer-Cnc4zVKO.js → vue-ui-thermometer-RlD-9mJf.js} +30 -29
  80. package/dist/{vue-ui-timer-DgVQY-BQ.js → vue-ui-timer-Bes74INL.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BTHDxycu.js → vue-ui-tiremarks-DiLS3akQ.js} +29 -28
  82. package/dist/vue-ui-treemap-BG1Omm38.js +953 -0
  83. package/dist/{vue-ui-vertical-bar-C5aombcF.js → vue-ui-vertical-bar-CwqQyZFX.js} +39 -38
  84. package/dist/{vue-ui-waffle-DHDmy4xh.js → vue-ui-waffle-Ce3T4BPp.js} +10 -9
  85. package/dist/{vue-ui-wheel-DmPltDq0.js → vue-ui-wheel-6B0WTkf2.js} +34 -33
  86. package/dist/{vue-ui-word-cloud-D15rS85A.js → vue-ui-word-cloud-ByYZCOh7.js} +42 -41
  87. package/dist/{vue-ui-world-9lR_bov_.js → vue-ui-world-B9PxVO4n.js} +8 -7
  88. package/dist/{vue-ui-xy-DnEdi5Hn.js → vue-ui-xy-DtJ7qJib.js} +69 -68
  89. package/dist/{vue-ui-xy-canvas-BaZZ7r1e.js → vue-ui-xy-canvas-S6YpFgzs.js} +131 -130
  90. package/package.json +1 -1
  91. package/dist/img-BOi0vhPf.js +0 -20
  92. package/dist/vue-ui-treemap-B96LGRM_.js +0 -952
@@ -1,11 +1,11 @@
1
- import { R as X, _ as ie, a8 as ue, a9 as ce, aa as de, ab as ge, ac as fe, ad as Ie, ae as xe, c as ne, A as Ne, E as me, w as be, s as Fe, o as _e, a2 as ye, af as Ae, x as Le, C as Ce, y as Se, a7 as ke, e as we, r as Oe, f as oe, I as Ge, ag as ve, U as pe, V as ze, q as Me, b as Te, z as Pe, d as Ve, ah as Re, v as He, ai as De, D as Be, a5 as We, aj as Ee, i as Ye, F as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-BsirVW_m.js";
1
+ import { R as X, _ as ie, a8 as ue, a9 as ce, aa as de, ab as ge, ac as fe, ad as Ie, ae as xe, c as ne, A as Ne, E as me, w as be, s as Fe, o as _e, a2 as Ae, af as ye, x as Le, C as Ce, y as Se, a7 as ke, e as we, r as Oe, f as oe, I as Ge, ag as ve, U as pe, V as ze, q as Me, b as Te, z as Pe, d as Ve, ah as Re, v as He, ai as De, D as Be, a5 as We, aj as Ee, i as Ye, F as qe, L as Xe, u as Ue, p as Ze, B as Je, a as Ke, t as Qe } from "./index-DvIXJm6t.js";
2
2
  import { u as je } from "./useMouse-AicQS8Vf.js";
3
- import { u as ae } from "./useNestedProp-Ej-oqNyf.js";
3
+ import { u as ae } from "./useNestedProp-DrYHm61t.js";
4
4
  import { u as $e } from "./useTimeLabels-Mrr0jrpL.js";
5
5
  import { defineAsyncComponent as Z, resolveComponent as q, createElementBlock as s, openBlock as a, normalizeStyle as _, normalizeClass as j, createBlock as U, createCommentVNode as h, createVNode as le, createSlots as et, withCtx as B, renderSlot as G, normalizeProps as $, guardReactiveProps as ee, createElementVNode as I, Fragment as u, renderList as x, toDisplayString as V, mergeProps as se, withDirectives as tt, vModelCheckbox as lt, createTextVNode as rt } from "vue";
6
- import { S as it } from "./Slicer-szgfOkiL.js";
7
- import at from "./Title-DTuTBtAe.js";
8
- import { _ as st } from "./Shape-dKMmmbg5.js";
6
+ import { S as it } from "./Slicer-BrqtJG2E.js";
7
+ import at from "./Title-Gi81VwUM.js";
8
+ import { _ as st } from "./Shape-Bnf512BA.js";
9
9
  import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const ct = ne(), ot = {
11
11
  name: "vue-ui-xy",
@@ -29,15 +29,15 @@ const ct = ne(), ot = {
29
29
  Title: at,
30
30
  // Must be ready in responsive mode
31
31
  Shape: st,
32
- DataTable: Z(() => import("./DataTable-C6IBsdXI.js")),
33
- Tooltip: Z(() => import("./Tooltip-CVPiPR9d.js")),
34
- UserOptions: Z(() => import("./UserOptions-D8SRavqE.js")),
35
- BaseIcon: Z(() => import("./BaseIcon-CfYrW3zO.js")),
36
- TableSparkline: Z(() => import("./vue-ui-table-sparkline-Bbt4GjUn.js")),
37
- Skeleton: Z(() => import("./vue-ui-skeleton-CchtfQiJ.js")),
38
- Accordion: Z(() => import("./vue-ui-accordion-D2TcT2US.js")),
39
- PackageVersion: Z(() => import("./PackageVersion-DfefmcMg.js")),
40
- PenAndPaper: Z(() => import("./PenAndPaper-CixPm-N0.js"))
32
+ DataTable: Z(() => import("./DataTable-CHBLjKtZ.js")),
33
+ Tooltip: Z(() => import("./Tooltip-CJxVw7-T.js")),
34
+ UserOptions: Z(() => import("./UserOptions-CBEK6_jo.js")),
35
+ BaseIcon: Z(() => import("./BaseIcon-Bn996RXm.js")),
36
+ TableSparkline: Z(() => import("./vue-ui-table-sparkline-CnkJkBk5.js")),
37
+ Skeleton: Z(() => import("./vue-ui-skeleton-BAOt2neL.js")),
38
+ Accordion: Z(() => import("./vue-ui-accordion-D55kCO5G.js")),
39
+ PackageVersion: Z(() => import("./PackageVersion-Bg_9KCU-.js")),
40
+ PenAndPaper: Z(() => import("./PenAndPaper-BPTpbnay.js"))
41
41
  },
42
42
  data() {
43
43
  this.dataset.forEach((f, l) => {
@@ -235,9 +235,9 @@ const ct = ne(), ot = {
235
235
  yOffset: e.yOffset,
236
236
  individualHeight: e.individualHeight,
237
237
  x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (i + 1),
238
- yLabels: e.scaleYLabels || e.scale.ticks.map((A) => ({
239
- y: A >= 0 ? e.zero - e.individualHeight * (A / e.max) : e.zero + e.individualHeight * Math.abs(A) / e.max,
240
- value: A
238
+ yLabels: e.scaleYLabels || e.scale.ticks.map((y) => ({
239
+ y: y >= 0 ? e.zero - e.individualHeight * (y / e.max) : e.zero + e.individualHeight * Math.abs(y) / e.max,
240
+ value: y
241
241
  }))
242
242
  }));
243
243
  },
@@ -377,7 +377,7 @@ const ct = ne(), ot = {
377
377
  },
378
378
  barSet() {
379
379
  const r = this.activeSeriesWithStackRatios.filter((i) => ["bar", "line", "plot"].includes(i.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
380
- return r.filter((i) => i.type === "bar").map((i, A) => {
380
+ return r.filter((i) => i.type === "bar").map((i, y) => {
381
381
  this.checkAutoScaleError(i);
382
382
  const z = this.scaleGroups[i.scaleLabel].min, O = this.scaleGroups[i.scaleLabel].max;
383
383
  i.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - z) / (O - z));
@@ -388,7 +388,7 @@ const ct = ne(), ot = {
388
388
  max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
389
389
  min: i.scaleMin || Math.min(...i.absoluteValues.filter((C) => ![void 0, null].includes(C))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((C) => ![null, void 0].includes(C)))
390
390
  }, v = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + M, c = b.max + Math.abs(H), n = i.stackIndex, g = o - 1 - n, p = f ? 1 - i.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * i.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = this.absoluteDataset.filter((C) => C.type === "bar").filter((C) => !this.segregatedSeries.includes(C.id)).length, te = i.series.map((C, R) => {
391
- const K = this.mutableConfig.useIndividualScale ? (i.absoluteValues[R] + M) / t : this.ratioToMax(C), Q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left + this.slot.bar * A + this.slot.bar * R * W - this.barSlot / 2 - A * this.barPeriodGap;
391
+ const K = this.mutableConfig.useIndividualScale ? (i.absoluteValues[R] + M) / t : this.ratioToMax(C), Q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left + this.slot.bar * y + this.slot.bar * R * W - this.barSlot / 2 - y * this.barPeriodGap;
392
392
  return {
393
393
  yOffset: this.checkNaN(S),
394
394
  individualHeight: this.checkNaN(k),
@@ -400,7 +400,7 @@ const ct = ne(), ot = {
400
400
  comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
401
401
  };
402
402
  }), E = i.absoluteValues.map((C) => b.min >= 0 ? (C - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (C + Math.abs(b.min)) / (b.max + Math.abs(b.min))), J = i.series.map((C, R) => {
403
- const K = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * A + this.slot.bar * R * this.absoluteDataset.filter((Q) => Q.type === "bar").filter((Q) => !this.segregatedSeries.includes(Q.id)).length;
403
+ const K = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * R : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * y + this.slot.bar * R * this.absoluteDataset.filter((Q) => Q.type === "bar").filter((Q) => !this.segregatedSeries.includes(Q.id)).length;
404
404
  return {
405
405
  yOffset: this.checkNaN(S),
406
406
  individualHeight: this.checkNaN(k),
@@ -443,25 +443,25 @@ const ct = ne(), ot = {
443
443
  },
444
444
  lineSet() {
445
445
  const r = this.activeSeriesWithStackRatios.filter((i) => ["bar", "line", "plot"].includes(i.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
446
- return r.filter((i) => i.type === "line").map((i, A) => {
446
+ return r.filter((i) => i.type === "line").map((i, y) => {
447
447
  this.checkAutoScaleError(i);
448
448
  const z = this.scaleGroups[i.scaleLabel].min, O = this.scaleGroups[i.scaleLabel].max;
449
- i.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - z) / (O - z));
449
+ i.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - z) / (O - z));
450
450
  const N = {
451
451
  valueMin: z,
452
452
  valueMax: O
453
453
  }, F = {
454
454
  max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
455
455
  min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
456
- }, v = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + Math.abs(M), c = b.max + Math.abs(H), n = i.stackIndex, g = o - 1 - n, p = f ? 1 - i.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * i.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = i.series.map((y, D) => {
457
- const he = this.mutableConfig.useIndividualScale ? (i.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(y);
456
+ }, v = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(F.min, F.max === F.min ? F.max * m : F.max, v) : this.calculateNiceScaleWithExactExtremes(F.min, F.max === F.min ? F.max * m : F.max, v), b = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v) : this.calculateNiceScaleWithExactExtremes(N.valueMin, N.valueMax === N.valueMin ? N.valueMax * m : N.valueMax, v), M = L.min >= 0 ? 0 : Math.abs(L.min), H = 0, t = L.max + Math.abs(M), c = b.max + Math.abs(H), n = i.stackIndex, g = o - 1 - n, p = f ? 1 - i.cumulatedStackRatio : 0, S = f ? e * p + d * g : 0, k = f ? e * i.stackRatio : this.drawingArea.height, T = this.drawingArea.bottom - S - k * M / t, Y = this.drawingArea.bottom - S - k * H / c, W = i.series.map((A, D) => {
457
+ const he = this.mutableConfig.useIndividualScale ? (i.absoluteValues[D] + Math.abs(M)) / t : this.ratioToMax(A);
458
458
  return {
459
459
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
460
460
  y: this.checkNaN(this.drawingArea.bottom - S - k * he),
461
461
  value: i.absoluteValues[D],
462
462
  comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
463
463
  };
464
- }), te = i.absoluteValues.map((y) => b.min >= 0 ? (y - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (y + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = i.series.map((y, D) => [void 0, null].includes(i.absoluteValues[D]) ? {
464
+ }), te = i.absoluteValues.map((A) => b.min >= 0 ? (A - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (A + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = i.series.map((A, D) => [void 0, null].includes(i.absoluteValues[D]) ? {
465
465
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
466
466
  y: T,
467
467
  value: i.absoluteValues[D],
@@ -471,23 +471,23 @@ const ct = ne(), ot = {
471
471
  y: this.checkNaN(this.drawingArea.bottom - S - (k * te[D] || 0)),
472
472
  value: i.absoluteValues[D],
473
473
  comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
474
- }), J = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(W) : this.createSmoothPath(W.filter((y) => y.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((y) => y.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(W) : this.createStraightPath(W.filter((y) => y.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((y) => y.value !== null)), R = L.ticks.map((y) => ({
475
- y: y >= 0 ? T - k * (y / t) : T + k * Math.abs(y) / t,
476
- value: y,
474
+ }), J = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(W) : this.createSmoothPath(W.filter((A) => A.value !== null)), w = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(E) : this.createSmoothPath(E.filter((A) => A.value !== null)), P = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(W) : this.createStraightPath(W.filter((A) => A.value !== null)), C = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(E) : this.createStraightPath(E.filter((A) => A.value !== null)), R = L.ticks.map((A) => ({
475
+ y: A >= 0 ? T - k * (A / t) : T + k * Math.abs(A) / t,
476
+ value: A,
477
477
  prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
478
478
  suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
479
479
  datapoint: i
480
- })), K = b.ticks.map((y) => {
481
- const D = (y - b.min) / (b.max - b.min);
480
+ })), K = b.ticks.map((A) => {
481
+ const D = (A - b.min) / (b.max - b.min);
482
482
  return {
483
- y: y >= 0 ? Y - k * D : Y + k * D,
484
- value: y,
483
+ y: A >= 0 ? Y - k * D : Y + k * D,
484
+ value: A,
485
485
  prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
486
486
  suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
487
487
  datapoint: i
488
488
  };
489
489
  });
490
- this.scaleGroups[i.scaleLabel].name = i.name, this.scaleGroups[i.scaleLabel].groupName = i.scaleLabel, this.scaleGroups[i.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || i.color, this.scaleGroups[i.scaleLabel].color = i.color, this.scaleGroups[i.scaleLabel].scaleYLabels = i.autoScaling ? K : R, this.scaleGroups[i.scaleLabel].zeroPosition = i.autoScaling ? Y : T, this.scaleGroups[i.scaleLabel].individualMax = i.autoScaling ? c : t, this.scaleGroups[i.scaleLabel].scaleLabel = i.scaleLabel, this.scaleGroups[i.scaleLabel].id = i.id, this.scaleGroups[i.scaleLabel].yOffset = S, this.scaleGroups[i.scaleLabel].individualHeight = k, this.scaleGroups[i.scaleLabel].autoScaleYLabels = K, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === i.scaleLabel).length === 1;
490
+ this.scaleGroups[i.scaleLabel].name = i.name, this.scaleGroups[i.scaleLabel].groupName = i.scaleLabel, this.scaleGroups[i.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || i.color, this.scaleGroups[i.scaleLabel].color = i.color, this.scaleGroups[i.scaleLabel].scaleYLabels = i.autoScaling ? K : R, this.scaleGroups[i.scaleLabel].zeroPosition = i.autoScaling ? Y : T, this.scaleGroups[i.scaleLabel].individualMax = i.autoScaling ? c : t, this.scaleGroups[i.scaleLabel].scaleLabel = i.scaleLabel, this.scaleGroups[i.scaleLabel].id = i.id, this.scaleGroups[i.scaleLabel].yOffset = S, this.scaleGroups[i.scaleLabel].individualHeight = k, this.scaleGroups[i.scaleLabel].autoScaleYLabels = K, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((A) => A.scaleLabel === i.scaleLabel).length === 1;
491
491
  const Q = this.mutableConfig.useIndividualScale ? i.autoScaling ? Y : T : this.zero, re = Math.max(Math.max(i.autoScaling ? Y : R.at(-1).y || 0, this.drawingArea.top), Q);
492
492
  return {
493
493
  ...i,
@@ -504,11 +504,11 @@ const ct = ne(), ot = {
504
504
  i.autoScaling ? E : W,
505
505
  re
506
506
  ) : this.createIndividualArea(
507
- i.autoScaling ? E.filter((y) => y.value !== null) : W.filter((y) => y.value !== null),
507
+ i.autoScaling ? E.filter((A) => A.value !== null) : W.filter((A) => A.value !== null),
508
508
  re
509
- ) : this.createIndividualArea(W.filter((y) => y.value !== null), re) : "",
509
+ ) : this.createIndividualArea(W.filter((A) => A.value !== null), re) : "",
510
510
  curveAreas: i.useArea ? ce(
511
- i.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((y) => y.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? W : W.filter((y) => y.value !== null),
511
+ i.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? E : E.filter((A) => A.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? W : W.filter((A) => A.value !== null),
512
512
  re,
513
513
  this.FINAL_CONFIG.line.cutNullValues
514
514
  ) : [],
@@ -521,10 +521,10 @@ const ct = ne(), ot = {
521
521
  const r = this.activeSeriesWithStackRatios.filter((i) => ["bar", "line", "plot"].includes(i.type)), o = r.length, d = this.FINAL_CONFIG.chart.grid.labels.yAxis.gap, f = this.mutableConfig.isStacked, l = f ? d * (o - 1) : 0, e = this.drawingArea.height - l;
522
522
  return r.filter((i) => i.type === "plot").map((i) => {
523
523
  this.checkAutoScaleError(i);
524
- const A = this.scaleGroups[i.scaleLabel].min, z = this.scaleGroups[i.scaleLabel].max;
525
- i.absoluteValues.filter((w) => ![null, void 0].includes(w)).map((w) => (w - A) / (z - A));
524
+ const y = this.scaleGroups[i.scaleLabel].min, z = this.scaleGroups[i.scaleLabel].max;
525
+ i.absoluteValues.filter((w) => ![null, void 0].includes(w)).map((w) => (w - y) / (z - y));
526
526
  const O = {
527
- valueMin: A,
527
+ valueMin: y,
528
528
  valueMax: z
529
529
  }, N = {
530
530
  max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
@@ -652,18 +652,18 @@ const ct = ne(), ot = {
652
652
  r && (o = o.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
653
653
  let d = [];
654
654
  for (let e = 0; e < this.maxSeries; e += 1) {
655
- const i = this.relativeDataset.map((A) => A.absoluteValues[e] ?? 0).reduce((A, z) => A + z, 0);
655
+ const i = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, z) => y + z, 0);
656
656
  d.push(
657
657
  [
658
658
  this.timeLabels[e].text ?? "-"
659
659
  ].concat(this.relativeDataset.map(
660
- (A) => this.applyDataLabel(
661
- A.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : A.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
662
- A.absoluteValues[e] ?? 0,
660
+ (y) => this.applyDataLabel(
661
+ y.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : y.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
662
+ y.absoluteValues[e] ?? 0,
663
663
  this.dataLabel({
664
- p: A.prefix || this.FINAL_CONFIG.chart.labels.prefix,
665
- v: A.absoluteValues[e] ?? 0,
666
- s: A.suffix || this.FINAL_CONFIG.chart.labels.suffix,
664
+ p: y.prefix || this.FINAL_CONFIG.chart.labels.prefix,
665
+ v: y.absoluteValues[e] ?? 0,
666
+ s: y.suffix || this.FINAL_CONFIG.chart.labels.suffix,
667
667
  r: this.FINAL_CONFIG.table.rounding
668
668
  })
669
669
  )
@@ -883,8 +883,8 @@ const ct = ne(), ot = {
883
883
  functionReturnsString: Se,
884
884
  hasDeepProperty: Ce,
885
885
  isFunction: Le,
886
- isSafeValue: Ae,
887
- largestTriangleThreeBucketsArray: ye,
886
+ isSafeValue: ye,
887
+ largestTriangleThreeBucketsArray: Ae,
888
888
  objectIsEmpty: _e,
889
889
  setOpacity: Fe,
890
890
  shiftHue: be,
@@ -997,18 +997,18 @@ const ct = ne(), ot = {
997
997
  const { height: d, width: f } = o.getBoundingClientRect();
998
998
  let l = null, e = 0;
999
999
  this.FINAL_CONFIG.chart.title.show && this.$refs.chartTitle && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
1000
- let i = null, A = 0;
1001
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (i = this.$refs.chartSlicer.$el, A = i.getBoundingClientRect().height);
1000
+ let i = null, y = 0;
1001
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (i = this.$refs.chartSlicer.$el, y = i.getBoundingClientRect().height);
1002
1002
  let z = null, O = 0;
1003
1003
  this.FINAL_CONFIG.chart.legend.show && this.$refs.chartLegend && (z = this.$refs.chartLegend, O = z.getBoundingClientRect().height);
1004
1004
  let N = 0;
1005
1005
  this.$refs.source && (N = this.$refs.source.getBoundingClientRect().height);
1006
1006
  let F = 0;
1007
- this.$refs.noTitle && (F = this.$refs.noTitle.getBoundingClientRect().height), this.height = d - e - O - A - N - F - 12, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1007
+ this.$refs.noTitle && (F = this.$refs.noTitle.getBoundingClientRect().height), this.height = d - e - O - y - N - F - 12, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1008
1008
  const v = new ResizeObserver((m) => {
1009
1009
  for (const L of m)
1010
- this.FINAL_CONFIG.chart.title.show && this.$refs.chartTitle ? e = this.$refs.chartTitle.getBoundingClientRect().height : e = 0, this.$refs.chartSlicer && this.$refs.chartSlicer.$el ? A = this.$refs.chartSlicer.$el.getBoundingClientRect().height : A = 0, this.$refs.chartLegend ? O = this.$refs.chartLegend.getBoundingClientRect().height : O = 0, this.$refs.source ? N = this.$refs.source.getBoundingClientRect().height : N = 0, this.$refs.noTitle ? F = this.$refs.noTitle.getBoundingClientRect().height : F = 0, requestAnimationFrame(() => {
1011
- this.height = L.contentRect.height - e - O - A - N - F - 12, this.width = L.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1010
+ this.FINAL_CONFIG.chart.title.show && this.$refs.chartTitle ? e = this.$refs.chartTitle.getBoundingClientRect().height : e = 0, this.$refs.chartSlicer && this.$refs.chartSlicer.$el ? y = this.$refs.chartSlicer.$el.getBoundingClientRect().height : y = 0, this.$refs.chartLegend ? O = this.$refs.chartLegend.getBoundingClientRect().height : O = 0, this.$refs.source ? N = this.$refs.source.getBoundingClientRect().height : N = 0, this.$refs.noTitle ? F = this.$refs.noTitle.getBoundingClientRect().height : F = 0, requestAnimationFrame(() => {
1011
+ this.height = L.contentRect.height - e - O - y - N - F - 12, this.width = L.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
1012
1012
  });
1013
1013
  });
1014
1014
  this.resizeObserver = v, this.observedEl = o, v.observe(o);
@@ -1186,7 +1186,7 @@ const ct = ne(), ot = {
1186
1186
  async generatePdf() {
1187
1187
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1188
1188
  try {
1189
- const { default: r } = await import("./pdf-BBk37REU.js");
1189
+ const { default: r } = await import("./pdf-DhTxBrbJ.js");
1190
1190
  await r({
1191
1191
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1192
1192
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1209,7 +1209,7 @@ const ct = ne(), ot = {
1209
1209
  async generateImage() {
1210
1210
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1211
1211
  try {
1212
- const { default: r } = await import("./img-BOi0vhPf.js");
1212
+ const { default: r } = await import("./img-BgOg8opa.js");
1213
1213
  await r({
1214
1214
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1215
1215
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1229,13 +1229,13 @@ const ct = ne(), ot = {
1229
1229
  ref: "noTitle",
1230
1230
  class: "vue-data-ui-no-title-space",
1231
1231
  style: "height:36px; width: 100%; background:transparent"
1232
- }, dt = ["viewBox", "aria-label"], gt = ["x", "y", "width", "height"], ft = { key: 1 }, It = { class: "vue-ui-xy-grid" }, xt = ["stroke", "x1", "x2", "y1", "y2"], Nt = ["stroke", "x1", "x2", "y1", "y2"], mt = { key: 1 }, bt = ["x1", "x2", "y1", "y2", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke"], _t = ["x1", "x2", "y1", "y2", "stroke"], yt = { key: 3 }, At = ["x1", "x2", "y1", "y2", "stroke"], Lt = { key: 4 }, Ct = ["y1", "y2", "x1", "x2", "stroke"], St = ["id"], kt = ["stop-color"], wt = ["stop-color"], Ot = ["stop-color"], Gt = ["id"], vt = ["stop-color"], pt = ["stop-color"], zt = ["stop-color"], Mt = ["id"], Tt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Rt = ["stop-color"], Ht = ["stop-color"], Dt = ["id"], Bt = ["stop-color"], Wt = ["stop-color"], Et = ["x", "y", "height", "width", "fill"], Yt = ["x", "y", "width"], qt = ["x", "y", "height", "width", "fill"], Xt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ut = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Zt = ["width", "x", "y"], Jt = { key: 0 }, Kt = ["id"], Qt = ["fill"], jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], $t = ["x", "y", "font-size", "fill"], el = ["stroke", "x1", "x2", "y1", "y2"], tl = { key: 2 }, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], il = { key: 4 }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["fill", "font-size", "transform"], nl = ["x1", "x2", "y1", "y2", "stroke"], cl = ["x", "y", "font-size", "fill"], ol = ["x1", "x2", "y1", "y2", "stroke"], hl = ["x", "y", "font-size", "fill"], ul = ["width", "x", "y"], dl = { style: { width: "100%" } }, gl = { key: 0 }, fl = ["id"], Il = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Nl = ["x", "y", "font-size", "fill"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fl = { key: 5 }, _l = { key: 0 }, yl = ["d", "fill"], Al = ["d", "fill"], Ll = ["d", "fill"], Cl = ["d", "fill"], Sl = ["d", "stroke", "stroke-width", "stroke-dasharray"], kl = ["d", "stroke", "stroke-width", "stroke-dasharray"], wl = ["width", "x", "y"], Ol = { style: { width: "100%" } }, Gl = { key: 3 }, vl = ["id"], pl = ["fill"], zl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ml = ["x", "y", "font-size", "fill"], Tl = { key: 6 }, Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill", "font-weight"], Rl = { key: 7 }, Hl = ["x", "y", "font-size", "fill"], Dl = { key: 8 }, Bl = ["x", "y"], Wl = ["innerHTML"], El = ["x", "y"], Yl = ["innerHTML"], ql = ["x1", "x2", "y1", "y2", "stroke"], Xl = { key: 9 }, Ul = ["x", "y", "font-size", "fill"], Zl = { key: 10 }, Jl = ["x", "y"], Kl = ["innerHTML"], Ql = ["x", "y"], jl = ["innerHTML"], $l = ["x1", "x2", "y1", "y2", "stroke"], er = ["x", "y", "font-size", "fill", "innerHTML"], tr = ["x", "y", "font-size", "fill", "innerHTML"], lr = ["x", "y", "font-size", "fill", "innerHTML"], rr = ["x", "y", "font-size", "fill", "innerHTML"], ir = ["id"], ar = ["stop-color"], sr = ["stop-color"], nr = ["x", "y", "width", "height", "fill", "onMouseenter"], cr = ["font-size", "fill", "transform"], or = ["x", "y", "font-size", "fill"], hr = { key: 12 }, ur = ["text-anchor", "font-size", "fill", "transform", "onClick"], dr = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gr = { key: 13 }, fr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ir = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xr = ["y", "x", "width", "height", "fill"], Nr = ["id", "x", "y", "font-size", "fill", "text-anchor"], mr = ["x", "y", "height", "width", "onMouseenter", "onClick"], br = {
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"], il = { key: 4 }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["fill", "font-size", "transform"], nl = ["x1", "x2", "y1", "y2", "stroke"], cl = ["x", "y", "font-size", "fill"], ol = ["x1", "x2", "y1", "y2", "stroke"], hl = ["x", "y", "font-size", "fill"], ul = ["width", "x", "y"], dl = { style: { width: "100%" } }, gl = { key: 0 }, fl = ["id"], Il = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Nl = ["x", "y", "font-size", "fill"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fl = { key: 5 }, _l = { key: 0 }, 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"], ir = ["id"], ar = ["stop-color"], sr = ["stop-color"], nr = ["x", "y", "width", "height", "fill", "onMouseenter"], cr = ["font-size", "fill", "transform"], or = ["x", "y", "font-size", "fill"], hr = { key: 12 }, ur = ["text-anchor", "font-size", "fill", "transform", "onClick"], dr = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gr = { key: 13 }, fr = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ir = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xr = ["y", "x", "width", "height", "fill"], Nr = ["id", "x", "y", "font-size", "fill", "text-anchor"], mr = ["x", "y", "height", "width", "onMouseenter", "onClick"], br = {
1233
1233
  key: 14,
1234
1234
  style: { "pointer-events": "none" }
1235
- }, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"], yr = {
1235
+ }, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"], Ar = {
1236
1236
  key: 5,
1237
1237
  class: "vue-data-ui-watermark"
1238
- }, Ar = {
1238
+ }, yr = {
1239
1239
  class: "vue-ui-xy-tag-arrow",
1240
1240
  height: "20",
1241
1241
  viewBox: "0 0 10 20",
@@ -1282,7 +1282,7 @@ const ct = ne(), ot = {
1282
1282
  "data-dom-to-png-ignore": ""
1283
1283
  }, qr = ["innerHTML"];
1284
1284
  function Xr(r, o, d, f, l, e) {
1285
- const i = q("PenAndPaper"), A = q("Title"), z = q("UserOptions"), O = q("PackageVersion"), N = q("Shape"), F = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), L = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
1285
+ const i = q("PenAndPaper"), y = q("Title"), z = q("UserOptions"), O = q("PackageVersion"), N = q("Shape"), F = q("Skeleton"), v = q("Slicer"), m = q("Tooltip"), L = q("BaseIcon"), b = q("TableSparkline"), M = q("DataTable"), H = q("Accordion");
1286
1286
  return a(), s("div", {
1287
1287
  id: `vue-ui-xy_${l.uniqueId}`,
1288
1288
  class: j(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -1306,7 +1306,7 @@ function Xr(r, o, d, f, l, e) {
1306
1306
  class: "vue-ui-xy-title",
1307
1307
  style: _(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1308
1308
  }, [
1309
- (a(), U(A, {
1309
+ (a(), U(y, {
1310
1310
  key: `title_${l.titleStep}`,
1311
1311
  config: {
1312
1312
  title: {
@@ -1345,6 +1345,7 @@ function Xr(r, o, d, f, l, e) {
1345
1345
  hasAnnotator: e.FINAL_CONFIG.chart.userOptions.buttons.annotator,
1346
1346
  isAnnotation: l.isAnnotator,
1347
1347
  callbacks: e.FINAL_CONFIG.chart.userOptions.callbacks,
1348
+ printScale: e.FINAL_CONFIG.chart.userOptions.print.scale,
1348
1349
  onToggleFullscreen: e.toggleFullscreen,
1349
1350
  onGeneratePdf: e.generatePdf,
1350
1351
  onGenerateCsv: e.generateCsv,
@@ -1428,7 +1429,7 @@ function Xr(r, o, d, f, l, e) {
1428
1429
  ]),
1429
1430
  key: "9"
1430
1431
  } : void 0
1431
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : h("", !0),
1432
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : h("", !0),
1432
1433
  e.isDataset ? (a(), s("svg", {
1433
1434
  key: 4,
1434
1435
  ref: "svgRef",
@@ -1512,7 +1513,7 @@ function Xr(r, o, d, f, l, e) {
1512
1513
  }, null, 8, bt))), 256))
1513
1514
  ])) : h("", !0)
1514
1515
  ], 64)),
1515
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", yt, [
1516
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", At, [
1516
1517
  (a(!0), s(u, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (a(), s("line", {
1517
1518
  key: `grid_vertical_line_${c}`,
1518
1519
  x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
@@ -1522,7 +1523,7 @@ function Xr(r, o, d, f, l, e) {
1522
1523
  "stroke-width": "0.5",
1523
1524
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1524
1525
  style: { animation: "none !important" }
1525
- }, null, 8, At))), 128))
1526
+ }, null, 8, yt))), 128))
1526
1527
  ])) : h("", !0),
1527
1528
  e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Lt, [
1528
1529
  (a(!0), s(u, null, x(e.timeLabels, (t, c) => (a(), s("g", {
@@ -2009,12 +2010,12 @@ function Xr(r, o, d, f, l, e) {
2009
2010
  I("path", {
2010
2011
  d: n,
2011
2012
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
2012
- }, null, 8, yl),
2013
+ }, null, 8, Al),
2013
2014
  r.$slots.pattern ? (a(), s("path", {
2014
2015
  key: 0,
2015
2016
  d: n,
2016
2017
  fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
2017
- }, null, 8, Al)) : h("", !0)
2018
+ }, null, 8, yl)) : h("", !0)
2018
2019
  ], 64))), 128)) : (a(!0), s(u, { key: 1 }, x(t.area.split(";"), (n, g) => (a(), s(u, { key: g }, [
2019
2020
  I("path", {
2020
2021
  d: `M${n}Z`,
@@ -2627,7 +2628,7 @@ function Xr(r, o, d, f, l, e) {
2627
2628
  ])) : h("", !0),
2628
2629
  G(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2629
2630
  ], 14, dt)) : h("", !0),
2630
- r.$slots.watermark ? (a(), s("div", yr, [
2631
+ r.$slots.watermark ? (a(), s("div", Ar, [
2631
2632
  G(r.$slots, "watermark", $(ee({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2632
2633
  ])) : h("", !0),
2633
2634
  (a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
@@ -2667,7 +2668,7 @@ function Xr(r, o, d, f, l, e) {
2667
2668
  opacity: 1
2668
2669
  })
2669
2670
  }, [
2670
- (a(), s("svg", Ar, [
2671
+ (a(), s("svg", yr, [
2671
2672
  I("path", {
2672
2673
  d: "M 0,10 10,0 10,20 Z",
2673
2674
  fill: t.color,
@@ -3076,7 +3077,7 @@ function Xr(r, o, d, f, l, e) {
3076
3077
  }, 8, ["config"])) : h("", !0)
3077
3078
  ], 46, ht);
3078
3079
  }
3079
- const li = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-06fd2d47"]]);
3080
+ const li = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-656a2cf4"]]);
3080
3081
  export {
3081
3082
  li as default
3082
3083
  };