vue-data-ui 2.3.70 → 2.3.71
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.
- package/dist/{Arrow-Bog1nRXc.js → Arrow-KrMJ-mLA.js} +1 -1
- package/dist/{Arrow-D4M9K4_y.cjs → Arrow-Oo-m4d4_.cjs} +1 -1
- package/dist/{BaseIcon-D6HKiBWY.js → BaseIcon-Dn--aRqh.js} +1 -1
- package/dist/{BaseIcon-DlKBf9ve.cjs → BaseIcon-r6sTvN4e.cjs} +1 -1
- package/dist/{DataTable-C3P8lB6X.js → DataTable-BwSXMffc.js} +2 -2
- package/dist/{DataTable-BTNru9rE.cjs → DataTable-jPEnygiD.cjs} +1 -1
- package/dist/{Legend-Bvm45WSa.js → Legend-BdmTE8wl.js} +1 -1
- package/dist/{Legend-D_1fNWhT.cjs → Legend-DYpbZAKy.cjs} +1 -1
- package/dist/{Shape-BlFLyhaj.cjs → Shape-DwABde7t.cjs} +1 -1
- package/dist/{Shape-o5RyMUAR.js → Shape-ttH7p_HL.js} +1 -1
- package/dist/{Slicer-DfQWN_HX.cjs → Slicer-C2YiwjYs.cjs} +1 -1
- package/dist/{Slicer-C9gqz7Yw.js → Slicer-jPgByZe4.js} +2 -2
- package/dist/{Title-s23qMfox.js → Title-CJpYIMsB.js} +1 -1
- package/dist/{Title-96aF3-Z1.cjs → Title-NxuZWg-H.cjs} +1 -1
- package/dist/{Tooltip-DrhztkFj.js → Tooltip-CPnJc4M4.js} +1 -1
- package/dist/{Tooltip-Bkzl1VQe.cjs → Tooltip-D5XlXHnd.cjs} +1 -1
- package/dist/{index-CsqP5b4f.cjs → index-DC98WFA9.cjs} +1 -1
- package/dist/{index--JGgf0j_.js → index-tBV7ojX4.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BMj7Pe83.js → useNestedProp-DLR5FOhw.js} +1 -1
- package/dist/{useNestedProp-DQ2DOe-8.cjs → useNestedProp-DLm4WQqO.cjs} +1 -1
- package/dist/{usePrinter-DLzQ_BtZ.js → usePrinter-BiDlcasQ.js} +1 -1
- package/dist/{usePrinter-CobCVhRp.cjs → usePrinter-DOwo3slV.cjs} +1 -1
- package/dist/{vue-data-ui-BGmGXTCr.cjs → vue-data-ui-CO5NlA8S.cjs} +1 -1
- package/dist/{vue-data-ui-BKqUj7bC.js → vue-data-ui-YqFsylnG.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CmnWR3OF.js → vue-ui-3d-bar-B7UPDxaJ.js} +7 -7
- package/dist/{vue-ui-3d-bar-B2viWRX5.cjs → vue-ui-3d-bar-C6QkJ9TS.cjs} +1 -1
- package/dist/{vue-ui-accordion-CT0j1v1a.js → vue-ui-accordion-3GMC-9lb.js} +3 -3
- package/dist/{vue-ui-accordion-C1ybaK7v.cjs → vue-ui-accordion-Bw-stCgX.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-TTbeq_lD.js → vue-ui-age-pyramid-EI3_8UiR.js} +8 -8
- package/dist/{vue-ui-age-pyramid-zVLLlC3O.cjs → vue-ui-age-pyramid-d6zQr_wc.cjs} +1 -1
- package/dist/{vue-ui-annotator-BEXLuscT.js → vue-ui-annotator-BrDoAda_.js} +1 -1
- package/dist/{vue-ui-annotator-DQ7pecaC.cjs → vue-ui-annotator-D5woo_-l.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dabz9ByY.js → vue-ui-candlestick-DF6Jhe1t.js} +9 -9
- package/dist/{vue-ui-candlestick-DRWZ8tzV.cjs → vue-ui-candlestick-DXTTu6k1.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-lPXwP4FD.cjs → vue-ui-carousel-table-CMTquEa-.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-IfBqfJXl.js → vue-ui-carousel-table-DNiD6oCm.js} +4 -4
- package/dist/{vue-ui-chestnut-UyMSd4I2.cjs → vue-ui-chestnut-CiYsTJB1.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DR8FQ_iP.js → vue-ui-chestnut-DF9jomRx.js} +6 -6
- package/dist/{vue-ui-cursor-B8BmRnMz.js → vue-ui-cursor-BH1rYbdI.js} +2 -2
- package/dist/{vue-ui-cursor-CqXcK21c.cjs → vue-ui-cursor-BghIGRgY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ca7yuK9y.cjs → vue-ui-dashboard-BD6fnLMr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D88IiJ08.js → vue-ui-dashboard-PDxIaYy1.js} +2 -2
- package/dist/{vue-ui-digits-uHan--u4.cjs → vue-ui-digits-BLChn-JX.cjs} +1 -1
- package/dist/{vue-ui-digits-Bqvn_McM.js → vue-ui-digits-PP7pTKNs.js} +2 -2
- package/dist/{vue-ui-donut-CcAOPJ0r.cjs → vue-ui-donut-BR1c-VMi.cjs} +1 -1
- package/dist/{vue-ui-donut-CbO7lZOV.js → vue-ui-donut-Cfbb9d7V.js} +9 -9
- package/dist/{vue-ui-donut-evolution-75NW6llE.js → vue-ui-donut-evolution-BnuxOElp.js} +9 -9
- package/dist/{vue-ui-donut-evolution-BUrGAB3_.cjs → vue-ui-donut-evolution-fmJj_9qP.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Dw9PaP6W.cjs → vue-ui-dumbbell-B5zjcvBX.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CdTSX6zx.js → vue-ui-dumbbell-Bt41GKHc.js} +8 -8
- package/dist/{vue-ui-flow-BZANIyo0.cjs → vue-ui-flow-BhXEWkDg.cjs} +1 -1
- package/dist/{vue-ui-flow-j4-3z4Jh.js → vue-ui-flow-DFJwsU9T.js} +7 -7
- package/dist/{vue-ui-galaxy-Pvrqq4z8.js → vue-ui-galaxy-Ckhh5tv9.js} +9 -9
- package/dist/{vue-ui-galaxy-BFRY_qH_.cjs → vue-ui-galaxy-Cv4hGLlH.cjs} +1 -1
- package/dist/{vue-ui-gauge-BP7VlzCy.cjs → vue-ui-gauge-B8Db6IYI.cjs} +1 -1
- package/dist/{vue-ui-gauge-Y2d6m8F7.js → vue-ui-gauge-L06i_lqx.js} +5 -5
- package/dist/{vue-ui-gizmo-DtwUDdpP.cjs → vue-ui-gizmo-Dax5RGrp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DPS6iKC7.js → vue-ui-gizmo-nkBDlE7k.js} +2 -2
- package/dist/{vue-ui-heatmap-zu_2wp75.cjs → vue-ui-heatmap-Del_S9Ig.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BdpzP1si.js → vue-ui-heatmap-dwBcSf2r.js} +8 -8
- package/dist/{vue-ui-kpi-irPEkSLW.cjs → vue-ui-kpi-CCVBFFTs.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5EOkAjY.js → vue-ui-kpi-F5q_gEuh.js} +3 -3
- package/dist/{vue-ui-mini-loader-BwdapIVe.js → vue-ui-mini-loader-11ecJZC0.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dj2j41sm.cjs → vue-ui-mini-loader-DAG8Gufj.cjs} +1 -1
- package/dist/{vue-ui-molecule-C6X_fMKH.cjs → vue-ui-molecule-BTLP20Mz.cjs} +1 -1
- package/dist/{vue-ui-molecule-D2UUPg-q.js → vue-ui-molecule-DkCIlJU8.js} +9 -9
- package/dist/{vue-ui-mood-radar-B8q5ERr1.cjs → vue-ui-mood-radar-CF_kZ6bH.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Bu-AmoHP.js → vue-ui-mood-radar-ghquf2Zg.js} +9 -9
- package/dist/{vue-ui-nested-donuts-Bk7pladW.cjs → vue-ui-nested-donuts-B-7xB4wI.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DYsHFFGT.js → vue-ui-nested-donuts-CRdtJZWs.js} +9 -9
- package/dist/{vue-ui-onion-BtPeuhpF.cjs → vue-ui-onion-BoYq6jVn.cjs} +1 -1
- package/dist/{vue-ui-onion-ro--Z0zB.js → vue-ui-onion-CUYgS0n0.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-D9S1Kv00.cjs → vue-ui-parallel-coordinate-plot-BGvSRauT.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C4Vyxlwp.js → vue-ui-parallel-coordinate-plot-CDRIN2Aj.js} +10 -10
- package/dist/{vue-ui-quadrant-BsoH0jZo.js → vue-ui-quadrant-CndKtGze.js} +10 -10
- package/dist/{vue-ui-quadrant-Dvr2JM0s.cjs → vue-ui-quadrant-DXbOfhjV.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C55tphTV.cjs → vue-ui-quick-chart-CqaLgRB6.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CzF7ozoK.js → vue-ui-quick-chart-p7cKzBJk.js} +7 -7
- package/dist/{vue-ui-radar-CYIJyf1C.cjs → vue-ui-radar-B9fCmqTj.cjs} +1 -1
- package/dist/{vue-ui-radar-crl43r9e.js → vue-ui-radar-BB5qmv_O.js} +10 -10
- package/dist/{vue-ui-rating-DKZTsN_i.js → vue-ui-rating-CrVheC-i.js} +2 -2
- package/dist/{vue-ui-rating-CJdyLYDT.cjs → vue-ui-rating-DAjzsg87.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-ClR9UbUG.js → vue-ui-relation-circle-BPiudHHA.js} +5 -5
- package/dist/{vue-ui-relation-circle-xTvwoYbf.cjs → vue-ui-relation-circle-DTS27L71.cjs} +1 -1
- package/dist/{vue-ui-rings-BfbNfcj0.js → vue-ui-rings-BfXc8iuJ.js} +9 -9
- package/dist/{vue-ui-rings-BMsZFOKI.cjs → vue-ui-rings-DjjBsl87.cjs} +1 -1
- package/dist/{vue-ui-scatter-DrEDT3ts.js → vue-ui-scatter-DWxuW3q1.js} +10 -10
- package/dist/{vue-ui-scatter-CnjbVRdT.cjs → vue-ui-scatter-DoBFZghX.cjs} +1 -1
- package/dist/{vue-ui-screenshot-jWM-jrvI.cjs → vue-ui-screenshot-BT1WVBvi.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CR5PzE7H.js → vue-ui-screenshot-RRWLPlkg.js} +1 -1
- package/dist/{vue-ui-skeleton-Dgvq-LKZ.js → vue-ui-skeleton-XKmaSsvx.js} +2 -2
- package/dist/{vue-ui-skeleton-BR5OmV8V.cjs → vue-ui-skeleton-gtTH6DCC.cjs} +1 -1
- package/dist/{vue-ui-smiley-CDviAtqz.js → vue-ui-smiley-B1vjfemq.js} +2 -2
- package/dist/{vue-ui-smiley-Bd79lUrX.cjs → vue-ui-smiley-D7i2I9tM.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DW2lDe5y.cjs → vue-ui-spark-trend-CtM9OeDS.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B2F0rkq9.js → vue-ui-spark-trend-sUDUdqWE.js} +4 -4
- package/dist/{vue-ui-sparkbar-CKcJgAar.js → vue-ui-sparkbar-C-1_gl5N.js} +3 -3
- package/dist/{vue-ui-sparkbar-BkBDO4sR.cjs → vue-ui-sparkbar-D3s8g7yn.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DhYVUtMb.js → vue-ui-sparkgauge--pRWYVlV.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Bb5kLYcu.cjs → vue-ui-sparkgauge-Cp0q0GBQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-W1a3DiWf.cjs → vue-ui-sparkhistogram-BQoZSojK.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CpeUlCj5.js → vue-ui-sparkhistogram-Cj4l6Yjl.js} +4 -4
- package/dist/{vue-ui-sparkline-BtsssjV-.cjs → vue-ui-sparkline-B8PjCxHf.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CSJuC8Zx.js → vue-ui-sparkline-DF15b4Xf.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CXpx5fpg.js → vue-ui-sparkstackbar-BTb70s92.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Xnsvvu3O.cjs → vue-ui-sparkstackbar-C9XuPPoc.cjs} +1 -1
- package/dist/{vue-ui-stackbar-D-zlJHc0.cjs → vue-ui-stackbar-BVI0SEu4.cjs} +1 -1
- package/dist/{vue-ui-stackbar-qlBdgGcF.js → vue-ui-stackbar-x-l6aDiU.js} +10 -10
- package/dist/{vue-ui-strip-plot-XvcigaUj.js → vue-ui-strip-plot-CoKwhwfl.js} +9 -9
- package/dist/{vue-ui-strip-plot-ClCytS01.cjs → vue-ui-strip-plot-DRjnZEYt.cjs} +1 -1
- package/dist/{vue-ui-table-DThijTG7.cjs → vue-ui-table-CW_ZEFkz.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BRJAh82a.js → vue-ui-table-heatmap-D3cF_M_O.js} +4 -4
- package/dist/{vue-ui-table-heatmap-D2a2SQke.cjs → vue-ui-table-heatmap-DDS3tKIQ.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C-ib3Gw1.js → vue-ui-table-sparkline-B_UKul0q.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CerH_6Uy.cjs → vue-ui-table-sparkline-DP9_axVg.cjs} +1 -1
- package/dist/{vue-ui-table-ClarkcMT.js → vue-ui-table-u_43joWk.js} +1 -1
- package/dist/{vue-ui-thermometer-B4XtAoUv.js → vue-ui-thermometer-BazPTNdQ.js} +5 -5
- package/dist/{vue-ui-thermometer-B55takGw.cjs → vue-ui-thermometer-LN3eKoob.cjs} +1 -1
- package/dist/{vue-ui-timer-BsEp04PS.js → vue-ui-timer-DEv_fTNE.js} +4 -4
- package/dist/{vue-ui-timer-C_XNLsof.cjs → vue-ui-timer-P0Gep-MP.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-C9mto5xg.js → vue-ui-tiremarks-B4zO1f7e.js} +5 -5
- package/dist/{vue-ui-tiremarks-BJaxtZte.cjs → vue-ui-tiremarks-DEr3ryms.cjs} +1 -1
- package/dist/{vue-ui-treemap-Bb8nVHbc.cjs → vue-ui-treemap-CWuA7766.cjs} +1 -1
- package/dist/{vue-ui-treemap-Cnub2STE.js → vue-ui-treemap-iRa3YIot.js} +9 -9
- package/dist/{vue-ui-vertical-bar-uMAW4lYM.js → vue-ui-vertical-bar-ByKc0QdH.js} +9 -9
- package/dist/{vue-ui-vertical-bar-BJRXcwVc.cjs → vue-ui-vertical-bar-CoUXP9x3.cjs} +1 -1
- package/dist/{vue-ui-waffle-CQRsRNOh.cjs → vue-ui-waffle-DGy82Mae.cjs} +1 -1
- package/dist/{vue-ui-waffle-FODchV8Z.js → vue-ui-waffle-qWPaEfOg.js} +9 -9
- package/dist/{vue-ui-wheel-eKe3KJ5v.cjs → vue-ui-wheel-D77Z5zB1.cjs} +1 -1
- package/dist/{vue-ui-wheel-DAHkOyha.js → vue-ui-wheel-SXnsdXa_.js} +5 -5
- package/dist/{vue-ui-word-cloud-D-805412.cjs → vue-ui-word-cloud-BEiSiNk_.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CjVRqfF6.js → vue-ui-word-cloud-BfLh5qUJ.js} +7 -7
- package/dist/vue-ui-xy-CXlGidia.cjs +3 -0
- package/dist/{vue-ui-xy-DaGih5B-.js → vue-ui-xy-JHEKn-fb.js} +172 -172
- package/dist/{vue-ui-xy-canvas-iu96oJOi.js → vue-ui-xy-canvas-B4H-9OtC.js} +10 -10
- package/dist/{vue-ui-xy-canvas-DGr5c46-.cjs → vue-ui-xy-canvas-CkAFPHse.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-xy-BeTe7akA.cjs +0 -3
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { p as J } from "./pdf-97UbtKC2.js";
|
|
2
|
-
import { U as K, s as Q } from "./usePrinter-
|
|
3
|
-
import { c as U, a as j, t as $, w as ee, p as te, u as ae, S as X, M as P, f as q, H as ie, E as le, i as re, Y as se, V as ne, Z as oe, s as ce, _ as he, d as de, A as ue, b as ge, q as fe, P as me, $ as
|
|
4
|
-
import { D as ke } from "./DataTable-
|
|
5
|
-
import { _ as we } from "./Title-
|
|
6
|
-
import { _ as Oe, u as ve } from "./Tooltip-
|
|
7
|
-
import { _ as Ge } from "./Shape-
|
|
8
|
-
import ze from "./BaseIcon-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { S as Pe } from "./Slicer-
|
|
12
|
-
import Te from "./vue-ui-accordion-
|
|
13
|
-
import { u as Z } from "./useNestedProp-
|
|
14
|
-
import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as
|
|
15
|
-
import { _ as
|
|
2
|
+
import { U as K, s as Q } from "./usePrinter-BiDlcasQ.js";
|
|
3
|
+
import { c as U, a as j, t as $, w as ee, p as te, u as ae, S as X, M as P, f as q, H as ie, E as le, i as re, Y as se, V as ne, Z as oe, s as ce, _ as he, d as de, A as ue, b as ge, q as fe, P as me, $ as Ne, r as Ie, e as be, y as xe, K as _e, x as Fe, a0 as ye, o as Ae, v as Le, D as Se, z as Ce } from "./index-tBV7ojX4.js";
|
|
4
|
+
import { D as ke } from "./DataTable-BwSXMffc.js";
|
|
5
|
+
import { _ as we } from "./Title-CJpYIMsB.js";
|
|
6
|
+
import { _ as Oe, u as ve } from "./Tooltip-CPnJc4M4.js";
|
|
7
|
+
import { _ as Ge } from "./Shape-ttH7p_HL.js";
|
|
8
|
+
import ze from "./BaseIcon-Dn--aRqh.js";
|
|
9
|
+
import Me from "./vue-ui-table-sparkline-B_UKul0q.js";
|
|
10
|
+
import pe from "./vue-ui-skeleton-XKmaSsvx.js";
|
|
11
|
+
import { S as Pe } from "./Slicer-jPgByZe4.js";
|
|
12
|
+
import Te from "./vue-ui-accordion-3GMC-9lb.js";
|
|
13
|
+
import { u as Z } from "./useNestedProp-DLR5FOhw.js";
|
|
14
|
+
import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as p, normalizeStyle as L, createVNode as Y, createCommentVNode as c, createBlock as V, createSlots as Ve, withCtx as z, renderSlot as v, normalizeProps as W, guardReactiveProps as B, createElementVNode as u, Fragment as N, renderList as I, toDisplayString as C, withDirectives as Re, vModelCheckbox as De, createTextVNode as He } from "vue";
|
|
15
|
+
import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const We = U(), Be = {
|
|
17
17
|
name: "vue-ui-xy",
|
|
18
18
|
props: {
|
|
@@ -36,8 +36,8 @@ const We = U(), Be = {
|
|
|
36
36
|
Tooltip: Oe,
|
|
37
37
|
UserOptions: K,
|
|
38
38
|
BaseIcon: ze,
|
|
39
|
-
TableSparkline:
|
|
40
|
-
Skeleton:
|
|
39
|
+
TableSparkline: Me,
|
|
40
|
+
Skeleton: pe,
|
|
41
41
|
Slicer: Pe,
|
|
42
42
|
Accordion: Te
|
|
43
43
|
},
|
|
@@ -122,7 +122,7 @@ const We = U(), Be = {
|
|
|
122
122
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
123
123
|
const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...i.map((t) => t.series.length)), h = [];
|
|
124
124
|
for (let t = 0; t < s; t += 1)
|
|
125
|
-
h.push(i.map((e) => e.series[t] || 0).reduce((e,
|
|
125
|
+
h.push(i.map((e) => e.series[t] || 0).reduce((e, b) => (e || 0) + (b || 0), 0));
|
|
126
126
|
const f = Math.min(...h);
|
|
127
127
|
return h.map((t) => t + (f < 0 ? Math.abs(f) : 0));
|
|
128
128
|
},
|
|
@@ -181,9 +181,9 @@ const We = U(), Be = {
|
|
|
181
181
|
yOffset: t.yOffset,
|
|
182
182
|
individualHeight: t.individualHeight,
|
|
183
183
|
x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / f * (e + 1),
|
|
184
|
-
yLabels: t.scaleYLabels || t.scale.ticks.map((
|
|
185
|
-
y:
|
|
186
|
-
value:
|
|
184
|
+
yLabels: t.scaleYLabels || t.scale.ticks.map((b) => ({
|
|
185
|
+
y: b >= 0 ? t.zero - t.individualHeight * (b / t.max) : t.zero + t.individualHeight * Math.abs(b) / t.max,
|
|
186
|
+
value: b
|
|
187
187
|
}))
|
|
188
188
|
}));
|
|
189
189
|
},
|
|
@@ -311,40 +311,40 @@ const We = U(), Be = {
|
|
|
311
311
|
ratios: i.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - h) / (f - h)),
|
|
312
312
|
valueMin: h,
|
|
313
313
|
valueMax: f < 0 ? 0 : f
|
|
314
|
-
},
|
|
314
|
+
}, b = {
|
|
315
315
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
316
316
|
min: i.scaleMin || Math.min(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((d) => ![null, void 0].includes(d)))
|
|
317
|
-
}, A = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = this.calculateNiceScaleWithExactExtremes(
|
|
318
|
-
const
|
|
317
|
+
}, A = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = this.calculateNiceScaleWithExactExtremes(b.min, b.max, A), _ = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax, A), M = m.min >= 0 ? 0 : Math.abs(m.min), k = 0, w = m.max + M, G = _.max + Math.abs(k), x = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, S = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - x - S * M / w, o = this.drawingArea.bottom - x - S * k / G, n = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, g = i.series.map((d, F) => {
|
|
318
|
+
const H = this.mutableConfig.useIndividualScale ? (i.absoluteValues[F] + M) / w : this.ratioToMax(d), E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * n - this.barSlot / 2 - s * this.barPeriodGap;
|
|
319
319
|
return {
|
|
320
|
-
yOffset: x,
|
|
321
|
-
individualHeight:
|
|
322
|
-
x:
|
|
323
|
-
y: this.drawingArea.bottom - x -
|
|
320
|
+
yOffset: this.checkNaN(x),
|
|
321
|
+
individualHeight: this.checkNaN(S),
|
|
322
|
+
x: this.checkNaN(E),
|
|
323
|
+
y: this.drawingArea.bottom - x - S * H,
|
|
324
324
|
value: i.absoluteValues[F],
|
|
325
|
-
zeroPosition: a,
|
|
326
|
-
individualMax: w,
|
|
325
|
+
zeroPosition: this.checkNaN(a),
|
|
326
|
+
individualMax: this.checkNaN(w),
|
|
327
327
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
328
328
|
};
|
|
329
329
|
}), D = i.absoluteValues.map((d) => _.min >= 0 ? (d - Math.abs(_.min)) / (_.max - Math.abs(_.min)) : (d + Math.abs(_.min)) / (_.max + Math.abs(_.min))), R = i.series.map((d, F) => {
|
|
330
|
-
const
|
|
330
|
+
const H = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((E) => E.type === "bar").filter((E) => !this.segregatedSeries.includes(E.id)).length;
|
|
331
331
|
return {
|
|
332
|
-
yOffset: x,
|
|
333
|
-
individualHeight:
|
|
334
|
-
x:
|
|
335
|
-
y: this.drawingArea.bottom - x - (
|
|
332
|
+
yOffset: this.checkNaN(x),
|
|
333
|
+
individualHeight: this.checkNaN(S),
|
|
334
|
+
x: this.checkNaN(H),
|
|
335
|
+
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(x) - (this.checkNaN(S) * D[F] || 0)),
|
|
336
336
|
value: i.absoluteValues[F],
|
|
337
|
-
zeroPosition: a,
|
|
338
|
-
individualMax: w,
|
|
337
|
+
zeroPosition: this.checkNaN(a),
|
|
338
|
+
individualMax: this.checkNaN(w),
|
|
339
339
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
340
340
|
};
|
|
341
341
|
}), y = m.ticks.map((d) => ({
|
|
342
|
-
y: d >= 0 ? a -
|
|
342
|
+
y: d >= 0 ? a - S * (d / w) : a + S * Math.abs(d) / w,
|
|
343
343
|
value: d
|
|
344
344
|
})), O = _.ticks.map((d) => {
|
|
345
345
|
const F = (d - _.min) / (_.max - _.min);
|
|
346
346
|
return {
|
|
347
|
-
y: d >= 0 ? o -
|
|
347
|
+
y: d >= 0 ? o - S * F : o + S * F,
|
|
348
348
|
value: d
|
|
349
349
|
};
|
|
350
350
|
});
|
|
@@ -352,7 +352,7 @@ const We = U(), Be = {
|
|
|
352
352
|
...i,
|
|
353
353
|
yOffset: x,
|
|
354
354
|
autoScaleYLabels: O,
|
|
355
|
-
individualHeight:
|
|
355
|
+
individualHeight: S,
|
|
356
356
|
scaleYLabels: i.autoScaling ? O : y,
|
|
357
357
|
individualScale: i.autoScaling ? _ : m,
|
|
358
358
|
individualMax: i.autoScaling ? G : w,
|
|
@@ -377,24 +377,24 @@ const We = U(), Be = {
|
|
|
377
377
|
}, e = {
|
|
378
378
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
379
379
|
min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
|
|
380
|
-
},
|
|
381
|
-
const
|
|
380
|
+
}, b = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max, b), m = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax, b), _ = A.min >= 0 ? 0 : Math.abs(A.min), M = 0, k = A.max + Math.abs(_), w = m.max + Math.abs(M), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - x * _ / k, a = this.drawingArea.bottom - G - x * M / w, o = i.series.map((d, F) => {
|
|
381
|
+
const H = this.mutableConfig.useIndividualScale ? (i.absoluteValues[F] + Math.abs(_)) / k : this.ratioToMax(d);
|
|
382
382
|
return {
|
|
383
|
-
x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * F,
|
|
384
|
-
y: this.drawingArea.bottom - G - x *
|
|
383
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
384
|
+
y: this.checkNaN(this.drawingArea.bottom - G - x * H),
|
|
385
385
|
value: i.absoluteValues[F],
|
|
386
386
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
387
387
|
};
|
|
388
388
|
}), n = i.absoluteValues.map((d) => m.min >= 0 ? (d - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (d + Math.abs(m.min)) / (m.max + Math.abs(m.min))), g = i.series.map((d, F) => {
|
|
389
389
|
if (![void 0, null].includes(i.absoluteValues[F]))
|
|
390
390
|
return {
|
|
391
|
-
x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * F,
|
|
392
|
-
y: this.drawingArea.bottom - G - (x * n[F] || 0),
|
|
391
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
392
|
+
y: this.checkNaN(this.drawingArea.bottom - G - (x * n[F] || 0)),
|
|
393
393
|
value: i.absoluteValues[F],
|
|
394
394
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
395
395
|
};
|
|
396
396
|
}), D = this.createSmoothPath(o), R = this.createSmoothPath(g), y = A.ticks.map((d) => ({
|
|
397
|
-
y: d >= 0 ?
|
|
397
|
+
y: d >= 0 ? S - x * (d / k) : S + x * Math.abs(d) / k,
|
|
398
398
|
value: d
|
|
399
399
|
})), O = m.ticks.map((d) => {
|
|
400
400
|
const F = (d - m.min) / (m.max - m.min);
|
|
@@ -411,10 +411,10 @@ const We = U(), Be = {
|
|
|
411
411
|
scaleYLabels: i.autoScaling ? O : y,
|
|
412
412
|
individualScale: i.autoScaling ? m : A,
|
|
413
413
|
individualMax: i.autoScaling ? w : k,
|
|
414
|
-
zeroPosition: i.autoScaling ? a :
|
|
414
|
+
zeroPosition: i.autoScaling ? a : S,
|
|
415
415
|
curve: i.autoScaling ? R : D,
|
|
416
416
|
plots: i.autoScaling ? g : o,
|
|
417
|
-
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? g : o, i.autoScaling ? a :
|
|
417
|
+
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? g : o, i.autoScaling ? a : S) : this.createArea(o) : ""
|
|
418
418
|
};
|
|
419
419
|
});
|
|
420
420
|
},
|
|
@@ -428,21 +428,21 @@ const We = U(), Be = {
|
|
|
428
428
|
}, e = {
|
|
429
429
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
430
430
|
min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
|
|
431
|
-
},
|
|
431
|
+
}, b = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max, b), m = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax, b), _ = A.min >= 0 ? 0 : Math.abs(A.min), M = 0, k = A.max + _, w = m.max + Math.abs(M), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - x * _ / k, a = this.drawingArea.bottom - G - x * M / w, o = i.series.map((y, O) => {
|
|
432
432
|
const d = this.mutableConfig.useIndividualScale ? (i.absoluteValues[O] + Math.abs(_)) / k : this.ratioToMax(y);
|
|
433
433
|
return {
|
|
434
|
-
x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O,
|
|
435
|
-
y: this.drawingArea.bottom - G - x * d,
|
|
434
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O),
|
|
435
|
+
y: this.checkNaN(this.drawingArea.bottom - G - x * d),
|
|
436
436
|
value: i.absoluteValues[O],
|
|
437
437
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
|
|
438
438
|
};
|
|
439
439
|
}), n = i.absoluteValues.map((y) => m.min >= 0 ? (y - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (y + Math.abs(m.min)) / (m.max + Math.abs(m.min))), g = i.series.map((y, O) => ({
|
|
440
|
-
x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O,
|
|
441
|
-
y: this.drawingArea.bottom - G - (x * n[O] || 0),
|
|
440
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O),
|
|
441
|
+
y: this.checkNaN(this.drawingArea.bottom - G - (x * n[O] || 0)),
|
|
442
442
|
value: i.absoluteValues[O],
|
|
443
443
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
|
|
444
444
|
})), D = A.ticks.map((y) => ({
|
|
445
|
-
y: y >= 0 ?
|
|
445
|
+
y: y >= 0 ? S - x * (y / k) : S + x * Math.abs(y) / k,
|
|
446
446
|
value: y
|
|
447
447
|
})), R = m.ticks.map((y) => {
|
|
448
448
|
const O = (y - m.min) / (m.max - m.min);
|
|
@@ -459,7 +459,7 @@ const We = U(), Be = {
|
|
|
459
459
|
scaleYLabels: i.autoScaling ? R : D,
|
|
460
460
|
individualScale: i.autoScaling ? m : A,
|
|
461
461
|
individualMax: i.autoScaling ? w : k,
|
|
462
|
-
zeroPosition: i.autoScaling ? a :
|
|
462
|
+
zeroPosition: i.autoScaling ? a : S,
|
|
463
463
|
plots: i.autoScaling ? g : o
|
|
464
464
|
};
|
|
465
465
|
});
|
|
@@ -528,8 +528,8 @@ const We = U(), Be = {
|
|
|
528
528
|
const i = [""].concat(this.relativeDataset.map((t) => t.name)).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>');
|
|
529
529
|
let s = [];
|
|
530
530
|
for (let t = 0; t < this.maxSeries; t += 1) {
|
|
531
|
-
const e = this.relativeDataset.map((
|
|
532
|
-
s.push([this.timeLabels[t] ?? "-"].concat(this.relativeDataset.map((
|
|
531
|
+
const e = this.relativeDataset.map((b) => b.absoluteValues[t] ?? 0).reduce((b, A) => b + A, 0);
|
|
532
|
+
s.push([this.timeLabels[t] ?? "-"].concat(this.relativeDataset.map((b) => (b.absoluteValues[t] ?? 0).toFixed(this.FINAL_CONFIG.table.rounding))).concat((e ?? 0).toFixed(this.FINAL_CONFIG.table.rounding)));
|
|
533
533
|
}
|
|
534
534
|
const h = {
|
|
535
535
|
th: {
|
|
@@ -588,13 +588,13 @@ const We = U(), Be = {
|
|
|
588
588
|
config: this.FINAL_CONFIG
|
|
589
589
|
}) : (h && (i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${h}</div>`), this.selectedSeries.forEach((t) => {
|
|
590
590
|
if (this.isSafeValue(t.value)) {
|
|
591
|
-
let e = "",
|
|
591
|
+
let e = "", b = "";
|
|
592
592
|
switch (this.icons[t.type]) {
|
|
593
593
|
case "bar":
|
|
594
594
|
e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${t.color}" /></svg>`;
|
|
595
595
|
break;
|
|
596
596
|
case "line":
|
|
597
|
-
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ?
|
|
597
|
+
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? b = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" />` : t.shape === "triangle" ? b = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "square" ? b = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "diamond" ? b = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "pentagon" ? b = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "hexagon" ? b = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "star" && (b = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${t.color}" />${b}</svg>`;
|
|
598
598
|
break;
|
|
599
599
|
case "plot":
|
|
600
600
|
if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
|
|
@@ -694,8 +694,8 @@ const We = U(), Be = {
|
|
|
694
694
|
const s = this.$refs.chart.parentNode, { height: h, width: f } = s.getBoundingClientRect();
|
|
695
695
|
let t = null, e = 0;
|
|
696
696
|
this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
|
|
697
|
-
let
|
|
698
|
-
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (
|
|
697
|
+
let b = null, A = 0;
|
|
698
|
+
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (b = this.$refs.chartSlicer.$el, A = b.getBoundingClientRect().height);
|
|
699
699
|
let m = null, _ = 0;
|
|
700
700
|
this.FINAL_CONFIG.chart.legend.show && (m = this.$refs.chartLegend, _ = m.getBoundingClientRect().height), this.height = h - e - _ - A, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((k) => {
|
|
701
701
|
for (const w of k)
|
|
@@ -718,10 +718,10 @@ const We = U(), Be = {
|
|
|
718
718
|
convertCustomPalette: ge,
|
|
719
719
|
createCsvContent: fe,
|
|
720
720
|
createSmoothPath: me,
|
|
721
|
-
createTSpans:
|
|
721
|
+
createTSpans: Ne,
|
|
722
722
|
dataLabel: q,
|
|
723
|
-
downloadCsv:
|
|
724
|
-
error:
|
|
723
|
+
downloadCsv: Ie,
|
|
724
|
+
error: be,
|
|
725
725
|
functionReturnsString: xe,
|
|
726
726
|
hasDeepProperty: _e,
|
|
727
727
|
img: Q,
|
|
@@ -730,8 +730,8 @@ const We = U(), Be = {
|
|
|
730
730
|
objectIsEmpty: Ae,
|
|
731
731
|
pdf: J,
|
|
732
732
|
shiftHue: Le,
|
|
733
|
-
translateSize:
|
|
734
|
-
treeShake:
|
|
733
|
+
translateSize: Se,
|
|
734
|
+
treeShake: Ce,
|
|
735
735
|
useMouse: ve,
|
|
736
736
|
useNestedProp: Z,
|
|
737
737
|
selectMinimapIndex(i) {
|
|
@@ -820,10 +820,10 @@ const We = U(), Be = {
|
|
|
820
820
|
}, this.slicerStep += 1;
|
|
821
821
|
},
|
|
822
822
|
calcRectHeight(i) {
|
|
823
|
-
return i.value >= 0 ? this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y : i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero;
|
|
823
|
+
return i.value >= 0 ? this.checkNaN(this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
|
|
824
824
|
},
|
|
825
825
|
calcIndividualHeight(i) {
|
|
826
|
-
return i.value >= 0 ? i.zeroPosition - i.y <= 0 ? 1e-5 : i.zeroPosition - i.y : i.y - i.zeroPosition <= 0 ? 1e-5 : i.zeroPosition - i.y;
|
|
826
|
+
return i.value >= 0 ? this.checkNaN(i.zeroPosition - i.y <= 0 ? 1e-5 : i.zeroPosition - i.y) : this.checkNaN(i.y - i.zeroPosition <= 0 ? 1e-5 : i.zeroPosition - i.y);
|
|
827
827
|
},
|
|
828
828
|
calcRectWidth() {
|
|
829
829
|
return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
|
|
@@ -835,10 +835,10 @@ const We = U(), Be = {
|
|
|
835
835
|
return i.value >= 0 ? i.y : this.zero;
|
|
836
836
|
},
|
|
837
837
|
calcIndividualRectY(i) {
|
|
838
|
-
return i.value >= 0 ? i.y : i.zeroPosition;
|
|
838
|
+
return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
|
|
839
839
|
},
|
|
840
840
|
canShowValue(i) {
|
|
841
|
-
return ![null, void 0, NaN].includes(i);
|
|
841
|
+
return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
|
|
842
842
|
},
|
|
843
843
|
findClosestValue(i, s) {
|
|
844
844
|
let h = s[0], f = Math.abs(i - s[0]);
|
|
@@ -926,7 +926,7 @@ const We = U(), Be = {
|
|
|
926
926
|
}, 100);
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
|
-
}, Ye = ["id"], Xe = ["viewBox"], qe = { key: 0 }, Ze = { class: "vue-ui-xy-grid" }, Ue = ["stroke", "x1", "x2", "y1", "y2"], Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = { key: 1 }, Qe = ["x1", "x2", "y1", "y2", "stroke"], je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = { key: 3 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["id"], it = ["stop-color"], lt = ["stop-color"], rt = ["stop-color"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"], ct = ["stop-color"], ht = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["id"], ft = ["stop-color"], mt = ["stop-color"],
|
|
929
|
+
}, Ye = ["id"], Xe = ["viewBox"], qe = { key: 0 }, Ze = { class: "vue-ui-xy-grid" }, Ue = ["stroke", "x1", "x2", "y1", "y2"], Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = { key: 1 }, Qe = ["x1", "x2", "y1", "y2", "stroke"], je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = { key: 3 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["id"], it = ["stop-color"], lt = ["stop-color"], rt = ["stop-color"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"], ct = ["stop-color"], ht = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["id"], ft = ["stop-color"], mt = ["stop-color"], Nt = ["id"], It = ["stop-color"], bt = ["stop-color"], xt = ["x", "y", "height", "width", "fill"], _t = ["x", "y", "width"], Ft = ["x", "y", "height", "width", "fill"], yt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], At = ["width", "x", "y"], Lt = { key: 0 }, St = ["id"], Ct = ["fill"], kt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], wt = ["x", "y", "font-size", "fill"], Ot = ["stroke", "x1", "x2", "y1", "y2"], vt = { key: 2 }, Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zt = ["y", "width", "height", "fill"], Mt = ["x", "y", "width", "height", "fill"], pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Pt = { key: 4 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["fill", "font-size", "transform"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["x", "y", "font-size", "fill"], Ht = ["x1", "x2", "y1", "y2", "stroke"], Et = ["x", "y", "font-size", "fill"], Wt = ["width", "x", "y"], Bt = { style: { width: "100%" } }, Yt = { key: 0 }, Xt = ["id"], qt = ["fill"], Zt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ut = ["x", "y", "font-size", "fill"], Jt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Kt = { key: 1 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 0 }, $t = ["d", "fill"], ea = ["d", "fill"], ta = ["d", "stroke", "stroke-width", "stroke-dasharray"], aa = { key: 2 }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], la = ["width", "x", "y"], ra = { style: { width: "100%" } }, sa = { key: 3 }, na = ["id"], oa = ["fill"], ca = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ha = ["x", "y", "font-size", "fill"], da = { key: 5 }, ua = ["x", "y", "font-size", "fill"], ga = ["x", "y", "font-size", "fill", "font-weight"], fa = { key: 6 }, ma = ["x", "y", "font-size", "fill"], Na = ["x", "y"], Ia = ["x", "y"], ba = { key: 7 }, xa = ["x", "y", "font-size", "fill"], _a = ["x", "y"], Fa = ["x", "y"], ya = ["x", "y", "font-size", "fill", "innerHTML"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "width", "height", "fill", "onMouseenter"], ka = ["font-size", "fill", "transform"], wa = ["x", "y", "font-size", "fill"], Oa = { key: 9 }, va = ["text-anchor", "font-size", "fill", "transform"], Ga = ["x", "y", "height", "width", "onMouseenter", "onClick"], za = { key: 10 }, Ma = ["x", "y"], pa = ["cx", "cy", "r", "fill"], Pa = {
|
|
930
930
|
key: 3,
|
|
931
931
|
class: "vue-data-ui-watermark"
|
|
932
932
|
}, Ta = ["onClick"], Va = {
|
|
@@ -939,7 +939,7 @@ const We = U(), Be = {
|
|
|
939
939
|
viewBox: "0 0 12 12",
|
|
940
940
|
height: "14",
|
|
941
941
|
width: "14"
|
|
942
|
-
},
|
|
942
|
+
}, Ha = ["fill"], Ea = {
|
|
943
943
|
key: 7,
|
|
944
944
|
ref: "chartLegend"
|
|
945
945
|
}, Wa = {
|
|
@@ -947,10 +947,10 @@ const We = U(), Be = {
|
|
|
947
947
|
"data-html2canvas-ignore": ""
|
|
948
948
|
}, Ba = ["innerHTML"];
|
|
949
949
|
function Ya(i, s, h, f, t, e) {
|
|
950
|
-
const
|
|
950
|
+
const b = T("Title"), A = T("UserOptions"), m = T("Shape"), _ = T("Skeleton"), M = T("Slicer"), k = T("Tooltip"), w = T("BaseIcon"), G = T("TableSparkline"), x = T("DataTable"), S = T("Accordion");
|
|
951
951
|
return l(), r("div", {
|
|
952
952
|
id: `vue-ui-xy_${t.uniqueId}`,
|
|
953
|
-
class:
|
|
953
|
+
class: p(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
954
954
|
ref: "chart",
|
|
955
955
|
style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
|
|
956
956
|
}, [
|
|
@@ -960,7 +960,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
960
960
|
class: "vue-ui-xy-title",
|
|
961
961
|
style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
962
962
|
}, [
|
|
963
|
-
Y(
|
|
963
|
+
Y(b, {
|
|
964
964
|
config: {
|
|
965
965
|
title: {
|
|
966
966
|
cy: "xy-div-title",
|
|
@@ -1063,7 +1063,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1063
1063
|
e.isDataset ? (l(), r("svg", {
|
|
1064
1064
|
key: 2,
|
|
1065
1065
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1066
|
-
class:
|
|
1066
|
+
class: p([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
|
|
1067
1067
|
width: "100%",
|
|
1068
1068
|
viewBox: t.viewBox,
|
|
1069
1069
|
style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
@@ -1080,8 +1080,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1080
1080
|
y2: e.drawingArea.bottom,
|
|
1081
1081
|
"stroke-linecap": "round"
|
|
1082
1082
|
}, null, 8, Ue)) : c("", !0),
|
|
1083
|
-
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(
|
|
1084
|
-
a.id === t.selectedScale && a.yLabels.length ? (l(!0), r(
|
|
1083
|
+
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(N, { key: 2 }, I(e.allScales, (a) => (l(), r("g", null, [
|
|
1084
|
+
a.id === t.selectedScale && a.yLabels.length ? (l(!0), r(N, { key: 0 }, I(a.yLabels, (o) => (l(), r("line", {
|
|
1085
1085
|
x1: e.drawingArea.left + e.xPadding,
|
|
1086
1086
|
x2: e.drawingArea.right - e.xPadding,
|
|
1087
1087
|
y1: o.y,
|
|
@@ -1089,7 +1089,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1089
1089
|
stroke: a.color,
|
|
1090
1090
|
"stroke-width": 0.5,
|
|
1091
1091
|
"stroke-linecap": "round"
|
|
1092
|
-
}, null, 8, je))), 256)) : a.yLabels.length ? (l(!0), r(
|
|
1092
|
+
}, null, 8, je))), 256)) : a.yLabels.length ? (l(!0), r(N, { key: 1 }, I(a.yLabels, (o) => (l(), r("line", {
|
|
1093
1093
|
x1: e.drawingArea.left + e.xPadding,
|
|
1094
1094
|
x2: e.drawingArea.right - e.xPadding,
|
|
1095
1095
|
y1: o.y,
|
|
@@ -1098,7 +1098,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1098
1098
|
"stroke-width": 0.5,
|
|
1099
1099
|
"stroke-linecap": "round"
|
|
1100
1100
|
}, null, 8, $e))), 256)) : c("", !0)
|
|
1101
|
-
]))), 256)) : c("", !0) : (l(), r(
|
|
1101
|
+
]))), 256)) : c("", !0) : (l(), r(N, { key: 1 }, [
|
|
1102
1102
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (l(), r("line", {
|
|
1103
1103
|
key: 0,
|
|
1104
1104
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1110,7 +1110,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1110
1110
|
"stroke-linecap": "round"
|
|
1111
1111
|
}, null, 8, Je)) : c("", !0),
|
|
1112
1112
|
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(), r("g", Ke, [
|
|
1113
|
-
(l(!0), r(
|
|
1113
|
+
(l(!0), r(N, null, I(e.yLabels, (a) => (l(), r("line", {
|
|
1114
1114
|
x1: e.drawingArea.left + e.xPadding,
|
|
1115
1115
|
x2: e.drawingArea.right - e.xPadding,
|
|
1116
1116
|
y1: a.y,
|
|
@@ -1122,7 +1122,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1122
1122
|
])) : c("", !0)
|
|
1123
1123
|
], 64)),
|
|
1124
1124
|
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (l(), r("g", et, [
|
|
1125
|
-
(l(!0), r(
|
|
1125
|
+
(l(!0), r(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, o) => (l(), r("line", {
|
|
1126
1126
|
key: `grid_vertical_line_${o}`,
|
|
1127
1127
|
x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
1128
1128
|
x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
@@ -1133,7 +1133,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1133
1133
|
}, null, 8, tt))), 128))
|
|
1134
1134
|
])) : c("", !0)
|
|
1135
1135
|
]),
|
|
1136
|
-
(l(!0), r(
|
|
1136
|
+
(l(!0), r(N, null, I(e.barSet, (a, o) => (l(), r("defs", {
|
|
1137
1137
|
key: `def_rect_${o}`
|
|
1138
1138
|
}, [
|
|
1139
1139
|
u("linearGradient", {
|
|
@@ -1173,7 +1173,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1173
1173
|
}, null, 8, ct)
|
|
1174
1174
|
], 8, st)
|
|
1175
1175
|
]))), 128)),
|
|
1176
|
-
(l(!0), r(
|
|
1176
|
+
(l(!0), r(N, null, I(e.plotSet, (a, o) => (l(), r("defs", {
|
|
1177
1177
|
key: `def_plot_${o}`
|
|
1178
1178
|
}, [
|
|
1179
1179
|
u("radialGradient", {
|
|
@@ -1194,7 +1194,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1194
1194
|
}, null, 8, ut)
|
|
1195
1195
|
], 8, ht)
|
|
1196
1196
|
]))), 128)),
|
|
1197
|
-
(l(!0), r(
|
|
1197
|
+
(l(!0), r(N, null, I(e.lineSet, (a, o) => (l(), r("defs", {
|
|
1198
1198
|
key: `def_line_${o}`
|
|
1199
1199
|
}, [
|
|
1200
1200
|
u("radialGradient", {
|
|
@@ -1224,15 +1224,15 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1224
1224
|
u("stop", {
|
|
1225
1225
|
offset: "0%",
|
|
1226
1226
|
"stop-color": `${e.shiftHue(a.color, 0.03)}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1227
|
-
}, null, 8,
|
|
1227
|
+
}, null, 8, It),
|
|
1228
1228
|
u("stop", {
|
|
1229
1229
|
offset: "100%",
|
|
1230
1230
|
"stop-color": `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1231
|
-
}, null, 8,
|
|
1232
|
-
], 8,
|
|
1231
|
+
}, null, 8, bt)
|
|
1232
|
+
], 8, Nt)
|
|
1233
1233
|
]))), 128)),
|
|
1234
|
-
(l(!0), r(
|
|
1235
|
-
a.show ? (l(), r(
|
|
1234
|
+
(l(!0), r(N, null, I(e.highlightAreas, (a) => (l(), r("g", null, [
|
|
1235
|
+
a.show ? (l(), r(N, { key: 0 }, [
|
|
1236
1236
|
u("rect", {
|
|
1237
1237
|
style: { transition: "none" },
|
|
1238
1238
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start),
|
|
@@ -1251,12 +1251,12 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1251
1251
|
}, [
|
|
1252
1252
|
u("div", {
|
|
1253
1253
|
style: L(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
|
|
1254
|
-
},
|
|
1254
|
+
}, C(a.caption.text), 5)
|
|
1255
1255
|
], 8, _t)) : c("", !0)
|
|
1256
1256
|
], 64)) : c("", !0)
|
|
1257
1257
|
]))), 256)),
|
|
1258
1258
|
u("g", null, [
|
|
1259
|
-
(l(!0), r(
|
|
1259
|
+
(l(!0), r(N, null, I(e.maxSeries, (a, o) => (l(), r("g", {
|
|
1260
1260
|
key: `tooltip_trap_${o}`
|
|
1261
1261
|
}, [
|
|
1262
1262
|
u("rect", {
|
|
@@ -1268,12 +1268,12 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1268
1268
|
}, null, 8, Ft)
|
|
1269
1269
|
]))), 128))
|
|
1270
1270
|
]),
|
|
1271
|
-
e.barSet.length ? (l(!0), r(
|
|
1271
|
+
e.barSet.length ? (l(!0), r(N, { key: 0 }, I(e.barSet, (a, o) => (l(), r("g", {
|
|
1272
1272
|
key: `serie_bar_${o}`,
|
|
1273
|
-
class:
|
|
1273
|
+
class: p(`serie_bar_${o}`),
|
|
1274
1274
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1275
1275
|
}, [
|
|
1276
|
-
(l(!0), r(
|
|
1276
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1277
1277
|
key: `bar_plot_${o}_${g}`
|
|
1278
1278
|
}, [
|
|
1279
1279
|
e.canShowValue(n.value) ? (l(), r("rect", {
|
|
@@ -1293,7 +1293,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1293
1293
|
height: "12",
|
|
1294
1294
|
width: (e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
|
|
1295
1295
|
x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1296
|
-
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1296
|
+
y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1297
1297
|
}, [
|
|
1298
1298
|
v(i.$slots, "plot-comment", {
|
|
1299
1299
|
plot: { ...n, color: a.color }
|
|
@@ -1313,8 +1313,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1313
1313
|
u("polygon", {
|
|
1314
1314
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1315
1315
|
fill: a.color
|
|
1316
|
-
}, null, 8,
|
|
1317
|
-
], 8,
|
|
1316
|
+
}, null, 8, Ct)
|
|
1317
|
+
], 8, St)
|
|
1318
1318
|
]),
|
|
1319
1319
|
a.plots.length > 1 ? (l(), r("line", {
|
|
1320
1320
|
key: 0,
|
|
@@ -1334,7 +1334,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1334
1334
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1335
1335
|
"font-size": t.fontSizes.plotLabels,
|
|
1336
1336
|
fill: a.color
|
|
1337
|
-
},
|
|
1337
|
+
}, C(e.dataLabel({
|
|
1338
1338
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1339
1339
|
s: "%",
|
|
1340
1340
|
r: 2
|
|
@@ -1380,7 +1380,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1380
1380
|
width: e.FINAL_CONFIG.chart.padding.right - 1 + e.xPadding,
|
|
1381
1381
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1382
1382
|
fill: e.FINAL_CONFIG.chart.backgroundColor
|
|
1383
|
-
}, null, 8,
|
|
1383
|
+
}, null, 8, Mt)
|
|
1384
1384
|
]),
|
|
1385
1385
|
e.FINAL_CONFIG.chart.grid.frame.show ? (l(), r("rect", {
|
|
1386
1386
|
key: 3,
|
|
@@ -1395,10 +1395,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1395
1395
|
"stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
|
|
1396
1396
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1397
1397
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1398
|
-
}, null, 8,
|
|
1398
|
+
}, null, 8, pt)) : c("", !0),
|
|
1399
1399
|
e.FINAL_CONFIG.chart.grid.labels.show ? (l(), r("g", Pt, [
|
|
1400
|
-
t.mutableConfig.useIndividualScale ? (l(), r(
|
|
1401
|
-
(l(!0), r(
|
|
1400
|
+
t.mutableConfig.useIndividualScale ? (l(), r(N, { key: 0 }, [
|
|
1401
|
+
(l(!0), r(N, null, I(e.allScales, (a) => (l(), r("g", null, [
|
|
1402
1402
|
u("line", {
|
|
1403
1403
|
x1: a.x + e.xPadding,
|
|
1404
1404
|
x2: a.x + e.xPadding,
|
|
@@ -1410,7 +1410,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1410
1410
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1411
1411
|
}, null, 12, Tt)
|
|
1412
1412
|
]))), 256)),
|
|
1413
|
-
(l(!0), r(
|
|
1413
|
+
(l(!0), r(N, null, I(e.allScales, (a) => (l(), r("g", {
|
|
1414
1414
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1415
1415
|
}, [
|
|
1416
1416
|
u("text", {
|
|
@@ -1418,8 +1418,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1418
1418
|
"font-size": t.fontSizes.dataLabels,
|
|
1419
1419
|
"text-anchor": "middle",
|
|
1420
1420
|
transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1421
|
-
},
|
|
1422
|
-
(l(!0), r(
|
|
1421
|
+
}, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Vt),
|
|
1422
|
+
(l(!0), r(N, null, I(a.yLabels, (o, n) => (l(), r("line", {
|
|
1423
1423
|
x1: a.x - 3 + e.xPadding,
|
|
1424
1424
|
x2: a.x + e.xPadding,
|
|
1425
1425
|
y1: e.checkNaN(o.y),
|
|
@@ -1428,13 +1428,13 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1428
1428
|
"stroke-width": 1,
|
|
1429
1429
|
"stroke-linecap": "round"
|
|
1430
1430
|
}, null, 8, Rt))), 256)),
|
|
1431
|
-
(l(!0), r(
|
|
1431
|
+
(l(!0), r(N, null, I(a.yLabels, (o, n) => (l(), r("text", {
|
|
1432
1432
|
x: a.x - 5 + e.xPadding,
|
|
1433
|
-
y: o.y +
|
|
1433
|
+
y: e.checkNaN(o.y) + t.fontSizes.dataLabels / 3,
|
|
1434
1434
|
"font-size": t.fontSizes.dataLabels,
|
|
1435
1435
|
"text-anchor": "end",
|
|
1436
1436
|
fill: a.color
|
|
1437
|
-
},
|
|
1437
|
+
}, C(e.applyDataLabel(
|
|
1438
1438
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1439
1439
|
o.value,
|
|
1440
1440
|
e.dataLabel({
|
|
@@ -1445,7 +1445,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1445
1445
|
})
|
|
1446
1446
|
)), 9, Dt))), 256))
|
|
1447
1447
|
], 4))), 256))
|
|
1448
|
-
], 64)) : (l(!0), r(
|
|
1448
|
+
], 64)) : (l(!0), r(N, { key: 1 }, I(e.yLabels, (a, o) => (l(), r("g", {
|
|
1449
1449
|
key: `yLabel_${o}`
|
|
1450
1450
|
}, [
|
|
1451
1451
|
e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (l(), r("line", {
|
|
@@ -1457,7 +1457,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1457
1457
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1458
1458
|
"stroke-width": "1",
|
|
1459
1459
|
"stroke-linecap": "round"
|
|
1460
|
-
}, null, 8,
|
|
1460
|
+
}, null, 8, Ht)) : c("", !0),
|
|
1461
1461
|
a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (l(), r("text", {
|
|
1462
1462
|
key: 1,
|
|
1463
1463
|
x: e.drawingArea.left - 7 + e.xPadding,
|
|
@@ -1465,7 +1465,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1465
1465
|
"font-size": t.fontSizes.dataLabels,
|
|
1466
1466
|
"text-anchor": "end",
|
|
1467
1467
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1468
|
-
},
|
|
1468
|
+
}, C(e.canShowValue(a.value) ? e.applyDataLabel(
|
|
1469
1469
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1470
1470
|
a.value,
|
|
1471
1471
|
e.dataLabel({
|
|
@@ -1474,15 +1474,15 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1474
1474
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1475
1475
|
r: 1
|
|
1476
1476
|
})
|
|
1477
|
-
) : ""), 9,
|
|
1477
|
+
) : ""), 9, Et)) : c("", !0)
|
|
1478
1478
|
]))), 128))
|
|
1479
1479
|
])) : c("", !0),
|
|
1480
|
-
(l(!0), r(
|
|
1480
|
+
(l(!0), r(N, null, I(e.plotSet, (a, o) => (l(), r("g", {
|
|
1481
1481
|
key: `serie_plot_${o}`,
|
|
1482
|
-
class:
|
|
1482
|
+
class: p(`serie_plot_${o}`),
|
|
1483
1483
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1484
1484
|
}, [
|
|
1485
|
-
(l(!0), r(
|
|
1485
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1486
1486
|
key: `circle_plot_${o}_${g}`
|
|
1487
1487
|
}, [
|
|
1488
1488
|
e.canShowValue(n.value) ? (l(), V(m, {
|
|
@@ -1543,16 +1543,16 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1543
1543
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1544
1544
|
"font-size": t.fontSizes.plotLabels,
|
|
1545
1545
|
fill: a.color
|
|
1546
|
-
},
|
|
1546
|
+
}, C(e.dataLabel({
|
|
1547
1547
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1548
1548
|
s: "%",
|
|
1549
1549
|
r: 2
|
|
1550
1550
|
})), 9, Ut)) : c("", !0)
|
|
1551
1551
|
])) : c("", !0)
|
|
1552
1552
|
], 6))), 128)),
|
|
1553
|
-
(l(!0), r(
|
|
1553
|
+
(l(!0), r(N, null, I(e.lineSet, (a, o) => (l(), r("g", {
|
|
1554
1554
|
key: `serie_line_${o}`,
|
|
1555
|
-
class:
|
|
1555
|
+
class: p(`serie_line_${o}`),
|
|
1556
1556
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1557
1557
|
}, [
|
|
1558
1558
|
a.smooth && a.plots.length > 1 ? (l(), r("path", {
|
|
@@ -1563,7 +1563,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1563
1563
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1564
1564
|
fill: "none"
|
|
1565
1565
|
}, null, 8, Jt)) : a.plots.length > 1 ? (l(), r("g", Kt, [
|
|
1566
|
-
(l(!0), r(
|
|
1566
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1567
1567
|
key: `line_${o}_${g}`
|
|
1568
1568
|
}, [
|
|
1569
1569
|
n && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[g + 1].value) ? (l(), r("line", {
|
|
@@ -1581,9 +1581,9 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1581
1581
|
]))), 128))
|
|
1582
1582
|
])) : c("", !0)
|
|
1583
1583
|
], 6))), 128)),
|
|
1584
|
-
(l(!0), r(
|
|
1584
|
+
(l(!0), r(N, null, I(e.lineSet, (a, o) => (l(), r("g", {
|
|
1585
1585
|
key: `serie_line_${o}`,
|
|
1586
|
-
class:
|
|
1586
|
+
class: p(`serie_line_${o}`),
|
|
1587
1587
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1588
1588
|
}, [
|
|
1589
1589
|
a.useArea && a.plots.length > 1 ? (l(), r("g", jt, [
|
|
@@ -1605,7 +1605,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1605
1605
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1606
1606
|
fill: "none"
|
|
1607
1607
|
}, null, 8, ta)) : a.plots.length > 1 ? (l(), r("g", aa, [
|
|
1608
|
-
(l(!0), r(
|
|
1608
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1609
1609
|
key: `line_${o}_${g}`
|
|
1610
1610
|
}, [
|
|
1611
1611
|
n && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[g + 1].value) ? (l(), r("line", {
|
|
@@ -1622,7 +1622,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1622
1622
|
}, null, 8, ia)) : c("", !0)
|
|
1623
1623
|
]))), 128))
|
|
1624
1624
|
])) : c("", !0),
|
|
1625
|
-
(l(!0), r(
|
|
1625
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1626
1626
|
key: `circle_line_${o}_${g}`
|
|
1627
1627
|
}, [
|
|
1628
1628
|
n && e.canShowValue(n.value) ? (l(), V(m, {
|
|
@@ -1683,7 +1683,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1683
1683
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1684
1684
|
"font-size": t.fontSizes.plotLabels,
|
|
1685
1685
|
fill: a.color
|
|
1686
|
-
},
|
|
1686
|
+
}, C(e.dataLabel({
|
|
1687
1687
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1688
1688
|
s: "%",
|
|
1689
1689
|
r: 2
|
|
@@ -1691,22 +1691,22 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1691
1691
|
])) : c("", !0)
|
|
1692
1692
|
], 6))), 128)),
|
|
1693
1693
|
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (l(), r("g", da, [
|
|
1694
|
-
(l(!0), r(
|
|
1694
|
+
(l(!0), r(N, null, I(e.barSet, (a, o) => (l(), r("g", {
|
|
1695
1695
|
key: `xLabel_bar_${o}`,
|
|
1696
|
-
class:
|
|
1696
|
+
class: p(`xLabel_bar_${o}`),
|
|
1697
1697
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1698
1698
|
}, [
|
|
1699
|
-
(l(!0), r(
|
|
1699
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1700
1700
|
key: `xLabel_bar_${o}_${g}`
|
|
1701
1701
|
}, [
|
|
1702
1702
|
n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (l(), r("text", {
|
|
1703
1703
|
key: 0,
|
|
1704
1704
|
x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
|
|
1705
|
-
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
1705
|
+
y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
1706
1706
|
"text-anchor": "middle",
|
|
1707
1707
|
"font-size": t.fontSizes.plotLabels,
|
|
1708
1708
|
fill: e.FINAL_CONFIG.bar.labels.color
|
|
1709
|
-
},
|
|
1709
|
+
}, C(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1710
1710
|
e.FINAL_CONFIG.bar.labels.formatter,
|
|
1711
1711
|
n.value,
|
|
1712
1712
|
e.dataLabel({
|
|
@@ -1728,17 +1728,17 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1728
1728
|
"font-size": t.fontSizes.plotLabels,
|
|
1729
1729
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1730
1730
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1731
|
-
},
|
|
1731
|
+
}, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, ga)) : c("", !0)
|
|
1732
1732
|
]))), 128))
|
|
1733
1733
|
], 6))), 128))
|
|
1734
1734
|
])) : c("", !0),
|
|
1735
1735
|
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", fa, [
|
|
1736
|
-
(l(!0), r(
|
|
1736
|
+
(l(!0), r(N, null, I(e.plotSet, (a, o) => (l(), r("g", {
|
|
1737
1737
|
key: `xLabel_plot_${o}`,
|
|
1738
|
-
class:
|
|
1738
|
+
class: p(`xLabel_plot_${o}`),
|
|
1739
1739
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1740
1740
|
}, [
|
|
1741
|
-
(l(!0), r(
|
|
1741
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1742
1742
|
key: `xLabel_plot_${o}_${g}`
|
|
1743
1743
|
}, [
|
|
1744
1744
|
n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (l(), r("text", {
|
|
@@ -1748,7 +1748,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1748
1748
|
"text-anchor": "middle",
|
|
1749
1749
|
"font-size": t.fontSizes.plotLabels,
|
|
1750
1750
|
fill: e.FINAL_CONFIG.plot.labels.color
|
|
1751
|
-
},
|
|
1751
|
+
}, C(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1752
1752
|
e.FINAL_CONFIG.plot.labels.formatter,
|
|
1753
1753
|
n.value,
|
|
1754
1754
|
e.dataLabel({
|
|
@@ -1772,8 +1772,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1772
1772
|
}, [
|
|
1773
1773
|
u("div", {
|
|
1774
1774
|
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1775
|
-
},
|
|
1776
|
-
], 8,
|
|
1775
|
+
}, C(a.name), 5)
|
|
1776
|
+
], 8, Na)) : c("", !0),
|
|
1777
1777
|
n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
|
|
1778
1778
|
key: 2,
|
|
1779
1779
|
x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
|
|
@@ -1784,18 +1784,18 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1784
1784
|
}, [
|
|
1785
1785
|
u("div", {
|
|
1786
1786
|
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1787
|
-
},
|
|
1788
|
-
], 8,
|
|
1787
|
+
}, C(a.name), 5)
|
|
1788
|
+
], 8, Ia)) : c("", !0)
|
|
1789
1789
|
]))), 128))
|
|
1790
1790
|
], 6))), 128))
|
|
1791
1791
|
])) : c("", !0),
|
|
1792
|
-
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g",
|
|
1793
|
-
(l(!0), r(
|
|
1792
|
+
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", ba, [
|
|
1793
|
+
(l(!0), r(N, null, I(e.lineSet, (a, o) => (l(), r("g", {
|
|
1794
1794
|
key: `xLabel_line_${o}`,
|
|
1795
|
-
class:
|
|
1795
|
+
class: p(`xLabel_line_${o}`),
|
|
1796
1796
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1797
1797
|
}, [
|
|
1798
|
-
(l(!0), r(
|
|
1798
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1799
1799
|
key: `xLabel_line_${o}_${g}`
|
|
1800
1800
|
}, [
|
|
1801
1801
|
n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (l(), r("text", {
|
|
@@ -1805,7 +1805,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1805
1805
|
"text-anchor": "middle",
|
|
1806
1806
|
"font-size": t.fontSizes.plotLabels,
|
|
1807
1807
|
fill: e.FINAL_CONFIG.line.labels.color
|
|
1808
|
-
},
|
|
1808
|
+
}, C(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1809
1809
|
e.FINAL_CONFIG.line.labels.formatter,
|
|
1810
1810
|
n.value,
|
|
1811
1811
|
e.dataLabel({
|
|
@@ -1829,7 +1829,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1829
1829
|
}, [
|
|
1830
1830
|
u("div", {
|
|
1831
1831
|
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1832
|
-
},
|
|
1832
|
+
}, C(a.name), 5)
|
|
1833
1833
|
], 8, _a)) : c("", !0),
|
|
1834
1834
|
n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
|
|
1835
1835
|
key: 2,
|
|
@@ -1841,17 +1841,17 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1841
1841
|
}, [
|
|
1842
1842
|
u("div", {
|
|
1843
1843
|
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1844
|
-
},
|
|
1844
|
+
}, C(a.name), 5)
|
|
1845
1845
|
], 8, Fa)) : c("", !0)
|
|
1846
1846
|
]))), 128))
|
|
1847
1847
|
], 6))), 128))
|
|
1848
1848
|
])) : c("", !0),
|
|
1849
|
-
(l(!0), r(
|
|
1849
|
+
(l(!0), r(N, null, I(e.lineSet, (a, o) => (l(), r("g", {
|
|
1850
1850
|
key: `xLabel_line_${o}`,
|
|
1851
|
-
class:
|
|
1851
|
+
class: p(`xLabel_line_${o}`),
|
|
1852
1852
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1853
1853
|
}, [
|
|
1854
|
-
(l(!0), r(
|
|
1854
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1855
1855
|
key: `xLabel_line_${o}_${g}`
|
|
1856
1856
|
}, [
|
|
1857
1857
|
n && g === 0 && a.showSerieName && a.showSerieName === "start" ? (l(), r("text", {
|
|
@@ -1888,12 +1888,12 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1888
1888
|
}, null, 8, Aa)) : c("", !0)
|
|
1889
1889
|
]))), 128))
|
|
1890
1890
|
], 6))), 128)),
|
|
1891
|
-
(l(!0), r(
|
|
1891
|
+
(l(!0), r(N, null, I(e.plotSet, (a, o) => (l(), r("g", {
|
|
1892
1892
|
key: `xLabel_plot_${o}`,
|
|
1893
|
-
class:
|
|
1893
|
+
class: p(`xLabel_plot_${o}`),
|
|
1894
1894
|
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1895
1895
|
}, [
|
|
1896
|
-
(l(!0), r(
|
|
1896
|
+
(l(!0), r(N, null, I(a.plots, (n, g) => (l(), r("g", {
|
|
1897
1897
|
key: `xLabel_plot_${o}_${g}`
|
|
1898
1898
|
}, [
|
|
1899
1899
|
n && g === 0 && a.showSerieName && a.showSerieName === "start" ? (l(), r("text", {
|
|
@@ -1927,10 +1927,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1927
1927
|
y: n.y,
|
|
1928
1928
|
maxWords: 2
|
|
1929
1929
|
})
|
|
1930
|
-
}, null, 8,
|
|
1930
|
+
}, null, 8, Sa)) : c("", !0)
|
|
1931
1931
|
]))), 128))
|
|
1932
1932
|
], 6))), 128)),
|
|
1933
|
-
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), r(
|
|
1933
|
+
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), r(N, { key: 8 }, I(e.allScales, (a) => (l(), r("rect", {
|
|
1934
1934
|
x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
1935
1935
|
y: e.drawingArea.top,
|
|
1936
1936
|
width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
@@ -1938,7 +1938,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1938
1938
|
fill: t.selectedScale === a.id ? `${a.color}20` : "transparent",
|
|
1939
1939
|
onMouseenter: (o) => t.selectedScale = a.id,
|
|
1940
1940
|
onMouseleave: s[0] || (s[0] = (o) => t.selectedScale = null)
|
|
1941
|
-
}, null, 40,
|
|
1941
|
+
}, null, 40, Ca))), 256)) : c("", !0),
|
|
1942
1942
|
u("g", null, [
|
|
1943
1943
|
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (l(), r("text", {
|
|
1944
1944
|
key: 0,
|
|
@@ -1947,7 +1947,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1947
1947
|
transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
1948
1948
|
"text-anchor": "middle",
|
|
1949
1949
|
style: { transition: "none" }
|
|
1950
|
-
},
|
|
1950
|
+
}, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ka)) : c("", !0),
|
|
1951
1951
|
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (l(), r("text", {
|
|
1952
1952
|
key: 1,
|
|
1953
1953
|
"text-anchor": "middle",
|
|
@@ -1955,10 +1955,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1955
1955
|
y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
1956
1956
|
"font-size": t.fontSizes.yAxis,
|
|
1957
1957
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1958
|
-
},
|
|
1958
|
+
}, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, wa)) : c("", !0)
|
|
1959
1959
|
]),
|
|
1960
1960
|
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (l(), r("g", Oa, [
|
|
1961
|
-
(l(!0), r(
|
|
1961
|
+
(l(!0), r(N, null, I(e.timeLabels, (a, o) => (l(), r("g", {
|
|
1962
1962
|
key: `time_label_${o}`
|
|
1963
1963
|
}, [
|
|
1964
1964
|
a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (l(), r("text", {
|
|
@@ -1967,11 +1967,11 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1967
1967
|
"font-size": t.fontSizes.xAxis,
|
|
1968
1968
|
fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
|
|
1969
1969
|
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
|
|
1970
|
-
},
|
|
1970
|
+
}, C(a || ""), 9, va)) : c("", !0)
|
|
1971
1971
|
]))), 128))
|
|
1972
1972
|
])) : c("", !0),
|
|
1973
1973
|
u("g", null, [
|
|
1974
|
-
(l(!0), r(
|
|
1974
|
+
(l(!0), r(N, null, I(e.maxSeries, (a, o) => (l(), r("g", {
|
|
1975
1975
|
key: `tooltip_trap_${o}`
|
|
1976
1976
|
}, [
|
|
1977
1977
|
u("rect", {
|
|
@@ -1998,14 +1998,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1998
1998
|
u("div", {
|
|
1999
1999
|
class: "vue-ui-xy-time-tag",
|
|
2000
2000
|
style: L(`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`)
|
|
2001
|
-
},
|
|
2002
|
-
], 8,
|
|
2001
|
+
}, C(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
|
|
2002
|
+
], 8, Ma)),
|
|
2003
2003
|
u("circle", {
|
|
2004
2004
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
2005
2005
|
cy: e.drawingArea.bottom,
|
|
2006
2006
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
2007
2007
|
fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
|
|
2008
|
-
}, null, 8,
|
|
2008
|
+
}, null, 8, pa)
|
|
2009
2009
|
])) : c("", !0)
|
|
2010
2010
|
])) : c("", !0),
|
|
2011
2011
|
v(i.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
@@ -2031,7 +2031,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
2033
|
}, null, 8, ["config"])),
|
|
2034
|
-
e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), V(
|
|
2034
|
+
e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), V(M, {
|
|
2035
2035
|
ref: "chartSlicer",
|
|
2036
2036
|
key: `slicer_${t.slicerStep}`,
|
|
2037
2037
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2073,10 +2073,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2073
2073
|
class: "vue-ui-xy-legend",
|
|
2074
2074
|
style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
2075
2075
|
}, [
|
|
2076
|
-
(l(!0), r(
|
|
2076
|
+
(l(!0), r(N, null, I(e.absoluteDataset, (a, o) => (l(), r("div", {
|
|
2077
2077
|
key: `div_legend_item_${o}`,
|
|
2078
2078
|
onClick: (n) => e.segregate(a),
|
|
2079
|
-
class:
|
|
2079
|
+
class: p({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
|
|
2080
2080
|
}, [
|
|
2081
2081
|
t.icons[a.type] === "line" ? (l(), r("svg", Va, [
|
|
2082
2082
|
u("rect", {
|
|
@@ -2106,7 +2106,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2106
2106
|
width: "12",
|
|
2107
2107
|
stroke: "none",
|
|
2108
2108
|
fill: a.color
|
|
2109
|
-
}, null, 8,
|
|
2109
|
+
}, null, 8, Ha)) : (l(), V(m, {
|
|
2110
2110
|
key: 1,
|
|
2111
2111
|
plot: { x: 6, y: 6 },
|
|
2112
2112
|
radius: 5,
|
|
@@ -2116,9 +2116,9 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2116
2116
|
])),
|
|
2117
2117
|
u("span", {
|
|
2118
2118
|
style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2119
|
-
},
|
|
2119
|
+
}, C(a.name), 5)
|
|
2120
2120
|
], 10, Ta))), 128))
|
|
2121
|
-
], 4)) : (l(), r("div",
|
|
2121
|
+
], 4)) : (l(), r("div", Ea, [
|
|
2122
2122
|
v(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2123
2123
|
], 512)),
|
|
2124
2124
|
Y(k, {
|
|
@@ -2144,7 +2144,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2144
2144
|
]),
|
|
2145
2145
|
_: 3
|
|
2146
2146
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2147
|
-
e.isDataset ? (l(), V(
|
|
2147
|
+
e.isDataset ? (l(), V(S, {
|
|
2148
2148
|
key: 8,
|
|
2149
2149
|
hideDetails: "",
|
|
2150
2150
|
config: {
|
|
@@ -2199,7 +2199,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2199
2199
|
u("div", { innerHTML: a }, null, 8, Ba)
|
|
2200
2200
|
]),
|
|
2201
2201
|
td: z(({ td: a }) => [
|
|
2202
|
-
|
|
2202
|
+
He(C(isNaN(Number(a)) ? a : e.dataLabel({
|
|
2203
2203
|
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2204
2204
|
v: a,
|
|
2205
2205
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -2214,7 +2214,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2214
2214
|
}, 8, ["config"])) : c("", !0)
|
|
2215
2215
|
], 14, Ye);
|
|
2216
2216
|
}
|
|
2217
|
-
const si = /* @__PURE__ */
|
|
2217
|
+
const si = /* @__PURE__ */ Ee(Be, [["render", Ya], ["__scopeId", "data-v-9b52e3d9"]]);
|
|
2218
2218
|
export {
|
|
2219
2219
|
si as default
|
|
2220
2220
|
};
|