vue-data-ui 2.16.2 → 2.16.4
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/README.md +6 -11
- package/dist/{Arrow-BpStYUGJ.js → Arrow-CQWVJ5sZ.js} +1 -1
- package/dist/{BaseDraggableDialog-CM_ub9oR.js → BaseDraggableDialog-Fz8fA4VM.js} +2 -2
- package/dist/{BaseIcon-ChYI-pDw.js → BaseIcon-CfYrW3zO.js} +1 -1
- package/dist/{ColorPicker-B91Jzf70.js → ColorPicker-B2ITT7Lp.js} +2 -2
- package/dist/{DataTable-CjniJr_p.js → DataTable-C6IBsdXI.js} +2 -2
- package/dist/{Legend-CjEhE5tg.js → Legend-bIoNrGWy.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Y8Y6KO1_.js → NonSvgPenAndPaper-BsSwoYpL.js} +3 -3
- package/dist/{PackageVersion-O8v3MCyb.js → PackageVersion-DfefmcMg.js} +1 -1
- package/dist/{PenAndPaper-Dolgj6K1.js → PenAndPaper-CixPm-N0.js} +3 -3
- package/dist/{Shape-CF-SzYWd.js → Shape-dKMmmbg5.js} +1 -1
- package/dist/{Slicer-7UFoB2Pk.js → Slicer-szgfOkiL.js} +2 -2
- package/dist/{SparkTooltip-LMuNP74j.js → SparkTooltip-D_NmtqzO.js} +1 -1
- package/dist/{Title-hN8UEfjj.js → Title-DTuTBtAe.js} +1 -1
- package/dist/{Tooltip-b8Cop9WD.js → Tooltip-CVPiPR9d.js} +1 -1
- package/dist/{UserOptions-B5jU6leO.js → UserOptions-D8SRavqE.js} +3 -3
- package/dist/{dom-to-png-CpD0Lfbd.js → dom-to-png-Br5bL5eX.js} +1 -1
- package/dist/{img-Doodp2oq.js → img-BOi0vhPf.js} +1 -1
- package/dist/{index-Bx_avyMs.js → index-BsirVW_m.js} +2 -2
- package/dist/{pdf-COW1oQRZ.js → pdf-BBk37REU.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +7 -4
- package/dist/types/vue-data-ui.d.ts +7 -4
- package/dist/{useNestedProp-DsLqa9JE.js → useNestedProp-Ej-oqNyf.js} +1 -1
- package/dist/{usePrinter-BEk4BlKC.js → usePrinter-Dpd-vZym.js} +2 -2
- package/dist/{vue-data-ui-acdqibhg.js → vue-data-ui-Bd_shukQ.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DXS6jY86.js → vue-ui-3d-bar-Baaeejpi.js} +5 -5
- package/dist/{vue-ui-accordion-Bl3dCfLj.js → vue-ui-accordion-D2TcT2US.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C2IFRsHg.js → vue-ui-age-pyramid-BW2q5yMT.js} +5 -5
- package/dist/{vue-ui-annotator-v6bzl8q3.js → vue-ui-annotator-DR6dXmoQ.js} +2 -2
- package/dist/{vue-ui-bullet-DS1sXCAJ.js → vue-ui-bullet-BYvOXGoO.js} +6 -6
- package/dist/{vue-ui-candlestick-BuImOpmm.js → vue-ui-candlestick-DXGY7-1u.js} +6 -6
- package/dist/{vue-ui-carousel-table-BYrZg-w-.js → vue-ui-carousel-table-DpRdTSdS.js} +4 -4
- package/dist/{vue-ui-chestnut-CX0AxysX.js → vue-ui-chestnut--uqQw5gd.js} +4 -4
- package/dist/{vue-ui-chord-D3Ig5mlr.js → vue-ui-chord-C6z1Oi8y.js} +7 -7
- package/dist/{vue-ui-circle-pack-CvMxlkM1.js → vue-ui-circle-pack-BgtFPkv2.js} +5 -5
- package/dist/{vue-ui-cursor-DCe5ftL6.js → vue-ui-cursor-C_KZ7SW0.js} +2 -2
- package/dist/{vue-ui-dashboard-DjTfmpkl.js → vue-ui-dashboard-YSzYS59X.js} +62 -62
- package/dist/{vue-ui-digits-BgyMpVfM.js → vue-ui-digits-B6Ej5XbC.js} +2 -2
- package/dist/{vue-ui-donut-BYULgaFr.js → vue-ui-donut-BYouj_X8.js} +7 -7
- package/dist/{vue-ui-donut-evolution-Gs5lqg_c.js → vue-ui-donut-evolution-DHIMoo_a.js} +7 -7
- package/dist/{vue-ui-dumbbell-DJ63prGq.js → vue-ui-dumbbell-rHe7aWF7.js} +6 -6
- package/dist/{vue-ui-flow-DomJTEa7.js → vue-ui-flow-hV-6uTPS.js} +6 -6
- package/dist/{vue-ui-funnel-BD4KJRLk.js → vue-ui-funnel-45FdkG1w.js} +5 -5
- package/dist/{vue-ui-galaxy-B1ed7khr.js → vue-ui-galaxy-yg-YRwYP.js} +4 -4
- package/dist/{vue-ui-gauge-eAUAVWfu.js → vue-ui-gauge-Ccf__w06.js} +5 -5
- package/dist/{vue-ui-gizmo-nbU__4zy.js → vue-ui-gizmo-CxSBWMgK.js} +3 -3
- package/dist/{vue-ui-heatmap-B1_OLrfF.js → vue-ui-heatmap-Cz1GzvLQ.js} +6 -6
- package/dist/{vue-ui-history-plot-ItJUkgZj.js → vue-ui-history-plot-DChEbCv0.js} +6 -6
- package/dist/{vue-ui-kpi-BUNEAj1l.js → vue-ui-kpi-D1cHw1LD.js} +3 -3
- package/dist/{vue-ui-mini-loader-FzVgIco8.js → vue-ui-mini-loader-FxoEnicn.js} +2 -2
- package/dist/{vue-ui-molecule-C5QDqHFJ.js → vue-ui-molecule-BvGzvTQc.js} +4 -4
- package/dist/{vue-ui-mood-radar-4TYRJb63.js → vue-ui-mood-radar-DomwWh69.js} +6 -6
- package/dist/{vue-ui-nested-donuts-BiAk2hkq.js → vue-ui-nested-donuts-BrC9S0cw.js} +6 -6
- package/dist/{vue-ui-onion-B0NnVR9Z.js → vue-ui-onion-YvCPFGpJ.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-BDqMALvX.js → vue-ui-parallel-coordinate-plot-D_ji0o1R.js} +7 -7
- package/dist/{vue-ui-quadrant-nZ7lBwEx.js → vue-ui-quadrant-B1xa2r0Q.js} +7 -7
- package/dist/{vue-ui-quick-chart-DIeeIhwx.js → vue-ui-quick-chart-ClCOLJ5y.js} +5 -5
- package/dist/{vue-ui-radar-C2qCzI5Z.js → vue-ui-radar-B460wd0h.js} +6 -6
- package/dist/{vue-ui-rating-bSawIC9F.js → vue-ui-rating-D1_WFLlk.js} +2 -2
- package/dist/{vue-ui-relation-circle-BnOs9mSi.js → vue-ui-relation-circle-ECKEkE2-.js} +5 -5
- package/dist/{vue-ui-ridgeline-9i3PdyEh.js → vue-ui-ridgeline-E-1Lcv1j.js} +7 -7
- package/dist/{vue-ui-rings-D4LsmMl9.js → vue-ui-rings-BsSwSht6.js} +7 -7
- package/dist/{vue-ui-scatter-PWUqzmTI.js → vue-ui-scatter-CVEd6_m1.js} +7 -7
- package/dist/{vue-ui-skeleton-DlBP_Guf.js → vue-ui-skeleton-CchtfQiJ.js} +3 -3
- package/dist/{vue-ui-smiley-BZEP6Dne.js → vue-ui-smiley-CkedzX6d.js} +2 -2
- package/dist/{vue-ui-spark-trend-D2B93PIQ.js → vue-ui-spark-trend-ByPzMHci.js} +3 -3
- package/dist/{vue-ui-sparkbar-THflmQlk.js → vue-ui-sparkbar-DoVR95AR.js} +3 -3
- package/dist/{vue-ui-sparkgauge-JvELKu4i.js → vue-ui-sparkgauge-B9WEsmn8.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BI0Wm1yO.js → vue-ui-sparkhistogram-B5Ub1nsA.js} +4 -4
- package/dist/{vue-ui-sparkline-BPMeJFYG.js → vue-ui-sparkline-BqHPNt6h.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-jf-x6VJ7.js → vue-ui-sparkstackbar-BhL0IxK5.js} +3 -3
- package/dist/{vue-ui-stackbar-CveY_p-5.js → vue-ui-stackbar-CuSsigBj.js} +8 -8
- package/dist/{vue-ui-strip-plot-JfgG5Gwp.js → vue-ui-strip-plot-BTqp8p9u.js} +6 -6
- package/dist/{vue-ui-table-CTgL7oTH.js → vue-ui-table-Du7un5Fm.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BRxgMftV.js → vue-ui-table-heatmap-YxGFfRC3.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D2Clt2Sc.js → vue-ui-table-sparkline-Bbt4GjUn.js} +4 -4
- package/dist/{vue-ui-thermometer-bYKGfBYY.js → vue-ui-thermometer-Cnc4zVKO.js} +5 -5
- package/dist/{vue-ui-timer-CmGfDuGf.js → vue-ui-timer-DgVQY-BQ.js} +5 -5
- package/dist/{vue-ui-tiremarks-sGGB_k6s.js → vue-ui-tiremarks-BTHDxycu.js} +5 -5
- package/dist/{vue-ui-treemap-8EvR435y.js → vue-ui-treemap-B96LGRM_.js} +7 -7
- package/dist/{vue-ui-vertical-bar-BRJrXh5B.js → vue-ui-vertical-bar-C5aombcF.js} +8 -8
- package/dist/{vue-ui-waffle-ogdiRG5y.js → vue-ui-waffle-DHDmy4xh.js} +7 -7
- package/dist/{vue-ui-wheel-DnLD95bo.js → vue-ui-wheel-DmPltDq0.js} +5 -5
- package/dist/{vue-ui-word-cloud-CTQnqO2x.js → vue-ui-word-cloud-D15rS85A.js} +5 -5
- package/dist/{vue-ui-world-Y8TK2yge.js → vue-ui-world-9lR_bov_.js} +5 -5
- package/dist/{vue-ui-xy-B0XST9Kk.js → vue-ui-xy-DnEdi5Hn.js} +332 -332
- package/dist/{vue-ui-xy-canvas-Cu6ekPLO.js → vue-ui-xy-canvas-BaZZ7r1e.js} +7 -7
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as X, _ as
|
|
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";
|
|
2
2
|
import { u as je } from "./useMouse-AicQS8Vf.js";
|
|
3
|
-
import { u as
|
|
3
|
+
import { u as ae } from "./useNestedProp-Ej-oqNyf.js";
|
|
4
4
|
import { u as $e } from "./useTimeLabels-Mrr0jrpL.js";
|
|
5
|
-
import { defineAsyncComponent as Z, resolveComponent as q, createElementBlock as s, openBlock as
|
|
6
|
-
import { S as
|
|
7
|
-
import
|
|
8
|
-
import { _ as st } from "./Shape-
|
|
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";
|
|
9
9
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const ct = ne(), ot = {
|
|
11
11
|
name: "vue-ui-xy",
|
|
@@ -24,20 +24,20 @@ const ct = ne(), ot = {
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
components: {
|
|
27
|
-
Slicer:
|
|
27
|
+
Slicer: it,
|
|
28
28
|
// Must be ready in responsive mode
|
|
29
|
-
Title:
|
|
29
|
+
Title: at,
|
|
30
30
|
// Must be ready in responsive mode
|
|
31
31
|
Shape: st,
|
|
32
|
-
DataTable: Z(() => import("./DataTable-
|
|
33
|
-
Tooltip: Z(() => import("./Tooltip-
|
|
34
|
-
UserOptions: Z(() => import("./UserOptions-
|
|
35
|
-
BaseIcon: Z(() => import("./BaseIcon-
|
|
36
|
-
TableSparkline: Z(() => import("./vue-ui-table-sparkline-
|
|
37
|
-
Skeleton: Z(() => import("./vue-ui-skeleton-
|
|
38
|
-
Accordion: Z(() => import("./vue-ui-accordion-
|
|
39
|
-
PackageVersion: Z(() => import("./PackageVersion-
|
|
40
|
-
PenAndPaper: Z(() => import("./PenAndPaper-
|
|
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"))
|
|
41
41
|
},
|
|
42
42
|
data() {
|
|
43
43
|
this.dataset.forEach((f, l) => {
|
|
@@ -174,7 +174,7 @@ const ct = ne(), ot = {
|
|
|
174
174
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
175
175
|
const r = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), o = Math.max(...r.map((l) => l.series.length)), d = [];
|
|
176
176
|
for (let l = 0; l < o; l += 1)
|
|
177
|
-
d.push(r.map((e) => e.series[l] || 0).reduce((e,
|
|
177
|
+
d.push(r.map((e) => e.series[l] || 0).reduce((e, i) => (e || 0) + (i || 0), 0));
|
|
178
178
|
const f = Math.min(...d);
|
|
179
179
|
return d.map((l) => l + (f < 0 ? Math.abs(f) : 0));
|
|
180
180
|
},
|
|
@@ -224,7 +224,7 @@ const ct = ne(), ot = {
|
|
|
224
224
|
yOffset: e.yOffset || 0,
|
|
225
225
|
individualHeight: e.individualHeight || this.drawingArea.height
|
|
226
226
|
})), f = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...r, ...o, ...d], l = f.flatMap((e) => e).length;
|
|
227
|
-
return f.flatMap((e,
|
|
227
|
+
return f.flatMap((e, i) => ({
|
|
228
228
|
unique: e.unique,
|
|
229
229
|
id: e.id,
|
|
230
230
|
groupId: e.groupId,
|
|
@@ -234,10 +234,10 @@ const ct = ne(), ot = {
|
|
|
234
234
|
scale: e.scale,
|
|
235
235
|
yOffset: e.yOffset,
|
|
236
236
|
individualHeight: e.individualHeight,
|
|
237
|
-
x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (
|
|
238
|
-
yLabels: e.scaleYLabels || e.scale.ticks.map((
|
|
239
|
-
y:
|
|
240
|
-
value:
|
|
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
|
|
241
241
|
}))
|
|
242
242
|
}));
|
|
243
243
|
},
|
|
@@ -376,199 +376,199 @@ const ct = ne(), ot = {
|
|
|
376
376
|
return o;
|
|
377
377
|
},
|
|
378
378
|
barSet() {
|
|
379
|
-
const r = this.activeSeriesWithStackRatios.filter((
|
|
380
|
-
return r.filter((
|
|
381
|
-
this.checkAutoScaleError(
|
|
382
|
-
const z = this.scaleGroups[
|
|
383
|
-
|
|
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) => {
|
|
381
|
+
this.checkAutoScaleError(i);
|
|
382
|
+
const z = this.scaleGroups[i.scaleLabel].min, O = this.scaleGroups[i.scaleLabel].max;
|
|
383
|
+
i.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - z) / (O - z));
|
|
384
384
|
const N = {
|
|
385
385
|
valueMin: z,
|
|
386
386
|
valueMax: O < 0 ? 0 : O
|
|
387
387
|
}, F = {
|
|
388
|
-
max:
|
|
389
|
-
min:
|
|
390
|
-
}, v =
|
|
391
|
-
const K = this.mutableConfig.useIndividualScale ? (
|
|
388
|
+
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
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
|
+
}, 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;
|
|
392
392
|
return {
|
|
393
393
|
yOffset: this.checkNaN(S),
|
|
394
394
|
individualHeight: this.checkNaN(k),
|
|
395
395
|
x: this.checkNaN(Q),
|
|
396
396
|
y: this.drawingArea.bottom - S - k * K,
|
|
397
|
-
value:
|
|
397
|
+
value: i.absoluteValues[R],
|
|
398
398
|
zeroPosition: this.checkNaN(T),
|
|
399
399
|
individualMax: this.checkNaN(t),
|
|
400
|
-
comment:
|
|
400
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
|
|
401
401
|
};
|
|
402
|
-
}), E =
|
|
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 *
|
|
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;
|
|
404
404
|
return {
|
|
405
405
|
yOffset: this.checkNaN(S),
|
|
406
406
|
individualHeight: this.checkNaN(k),
|
|
407
407
|
x: this.checkNaN(K),
|
|
408
408
|
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(S) - (this.checkNaN(k) * E[R] || 0)),
|
|
409
|
-
value:
|
|
409
|
+
value: i.absoluteValues[R],
|
|
410
410
|
zeroPosition: this.checkNaN(T),
|
|
411
411
|
individualMax: this.checkNaN(t),
|
|
412
|
-
comment:
|
|
412
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[R] || ""
|
|
413
413
|
};
|
|
414
414
|
}), w = L.ticks.map((C) => ({
|
|
415
415
|
y: C >= 0 ? T - k * (C / t) : T + k * Math.abs(C) / t,
|
|
416
416
|
value: C,
|
|
417
|
-
prefix:
|
|
418
|
-
suffix:
|
|
419
|
-
datapoint:
|
|
417
|
+
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
418
|
+
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
419
|
+
datapoint: i
|
|
420
420
|
})), P = b.ticks.map((C) => {
|
|
421
421
|
const R = (C - b.min) / (b.max - b.min);
|
|
422
422
|
return {
|
|
423
423
|
y: C >= 0 ? Y - k * R : Y + k * R,
|
|
424
424
|
value: C,
|
|
425
|
-
prefix:
|
|
426
|
-
suffix:
|
|
427
|
-
datapoint:
|
|
425
|
+
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
426
|
+
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
427
|
+
datapoint: i
|
|
428
428
|
};
|
|
429
429
|
});
|
|
430
|
-
return this.scaleGroups[
|
|
431
|
-
...
|
|
430
|
+
return 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 ? P : w, 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 = P, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((C) => C.scaleLabel === i.scaleLabel).length === 1, {
|
|
431
|
+
...i,
|
|
432
432
|
yOffset: S,
|
|
433
433
|
autoScaleYLabels: P,
|
|
434
434
|
individualHeight: k,
|
|
435
|
-
scaleYLabels:
|
|
436
|
-
individualScale:
|
|
437
|
-
individualMax:
|
|
438
|
-
zeroPosition:
|
|
439
|
-
plots:
|
|
440
|
-
groupId: this.scaleGroups[
|
|
435
|
+
scaleYLabels: i.autoScaling ? P : w,
|
|
436
|
+
individualScale: i.autoScaling ? b : L,
|
|
437
|
+
individualMax: i.autoScaling ? c : t,
|
|
438
|
+
zeroPosition: i.autoScaling ? Y : T,
|
|
439
|
+
plots: i.autoScaling ? J : te,
|
|
440
|
+
groupId: this.scaleGroups[i.scaleLabel].groupId
|
|
441
441
|
};
|
|
442
442
|
});
|
|
443
443
|
},
|
|
444
444
|
lineSet() {
|
|
445
|
-
const r = this.activeSeriesWithStackRatios.filter((
|
|
446
|
-
return r.filter((
|
|
447
|
-
this.checkAutoScaleError(
|
|
448
|
-
const z = this.scaleGroups[
|
|
449
|
-
|
|
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) => {
|
|
447
|
+
this.checkAutoScaleError(i);
|
|
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));
|
|
450
450
|
const N = {
|
|
451
451
|
valueMin: z,
|
|
452
452
|
valueMax: O
|
|
453
453
|
}, F = {
|
|
454
|
-
max:
|
|
455
|
-
min:
|
|
456
|
-
}, v =
|
|
457
|
-
const he = this.mutableConfig.useIndividualScale ? (
|
|
454
|
+
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
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);
|
|
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
|
-
value:
|
|
462
|
-
comment:
|
|
461
|
+
value: i.absoluteValues[D],
|
|
462
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
|
|
463
463
|
};
|
|
464
|
-
}), te =
|
|
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]) ? {
|
|
465
465
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
|
|
466
466
|
y: T,
|
|
467
|
-
value:
|
|
468
|
-
comment:
|
|
467
|
+
value: i.absoluteValues[D],
|
|
468
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[D] || ""
|
|
469
469
|
} : {
|
|
470
470
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * D),
|
|
471
471
|
y: this.checkNaN(this.drawingArea.bottom - S - (k * te[D] || 0)),
|
|
472
|
-
value:
|
|
473
|
-
comment:
|
|
474
|
-
}), J = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(W) : this.createSmoothPath(W.filter((
|
|
475
|
-
y:
|
|
476
|
-
value:
|
|
477
|
-
prefix:
|
|
478
|
-
suffix:
|
|
479
|
-
datapoint:
|
|
480
|
-
})), K = b.ticks.map((
|
|
481
|
-
const D = (
|
|
472
|
+
value: i.absoluteValues[D],
|
|
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,
|
|
477
|
+
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
478
|
+
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
479
|
+
datapoint: i
|
|
480
|
+
})), K = b.ticks.map((y) => {
|
|
481
|
+
const D = (y - b.min) / (b.max - b.min);
|
|
482
482
|
return {
|
|
483
|
-
y:
|
|
484
|
-
value:
|
|
485
|
-
prefix:
|
|
486
|
-
suffix:
|
|
487
|
-
datapoint:
|
|
483
|
+
y: y >= 0 ? Y - k * D : Y + k * D,
|
|
484
|
+
value: y,
|
|
485
|
+
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
486
|
+
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
487
|
+
datapoint: i
|
|
488
488
|
};
|
|
489
489
|
});
|
|
490
|
-
this.scaleGroups[
|
|
491
|
-
const Q = this.mutableConfig.useIndividualScale ?
|
|
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;
|
|
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,
|
|
494
494
|
yOffset: S,
|
|
495
495
|
autoScaleYLabels: K,
|
|
496
496
|
individualHeight: k,
|
|
497
|
-
scaleYLabels:
|
|
498
|
-
individualScale:
|
|
499
|
-
individualMax:
|
|
500
|
-
zeroPosition:
|
|
501
|
-
curve:
|
|
502
|
-
plots:
|
|
503
|
-
area:
|
|
504
|
-
|
|
497
|
+
scaleYLabels: i.autoScaling ? K : R,
|
|
498
|
+
individualScale: i.autoScaling ? b : L,
|
|
499
|
+
individualMax: i.autoScaling ? c : t,
|
|
500
|
+
zeroPosition: i.autoScaling ? Y : T,
|
|
501
|
+
curve: i.autoScaling ? w : J,
|
|
502
|
+
plots: i.autoScaling ? E : W,
|
|
503
|
+
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.FINAL_CONFIG.line.cutNullValues ? this.createIndividualAreaWithCuts(
|
|
504
|
+
i.autoScaling ? E : W,
|
|
505
505
|
re
|
|
506
506
|
) : this.createIndividualArea(
|
|
507
|
-
|
|
507
|
+
i.autoScaling ? E.filter((y) => y.value !== null) : W.filter((y) => y.value !== null),
|
|
508
508
|
re
|
|
509
|
-
) : this.createIndividualArea(W.filter((
|
|
510
|
-
curveAreas:
|
|
511
|
-
|
|
509
|
+
) : this.createIndividualArea(W.filter((y) => y.value !== null), re) : "",
|
|
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),
|
|
512
512
|
re,
|
|
513
513
|
this.FINAL_CONFIG.line.cutNullValues
|
|
514
514
|
) : [],
|
|
515
|
-
straight:
|
|
516
|
-
groupId: this.scaleGroups[
|
|
515
|
+
straight: i.autoScaling ? C : P,
|
|
516
|
+
groupId: this.scaleGroups[i.scaleLabel].groupId
|
|
517
517
|
};
|
|
518
518
|
});
|
|
519
519
|
},
|
|
520
520
|
plotSet() {
|
|
521
|
-
const r = this.activeSeriesWithStackRatios.filter((
|
|
522
|
-
return r.filter((
|
|
523
|
-
this.checkAutoScaleError(
|
|
524
|
-
const
|
|
525
|
-
|
|
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
|
+
return r.filter((i) => i.type === "plot").map((i) => {
|
|
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));
|
|
526
526
|
const O = {
|
|
527
|
-
valueMin:
|
|
527
|
+
valueMin: A,
|
|
528
528
|
valueMax: z
|
|
529
529
|
}, N = {
|
|
530
|
-
max:
|
|
531
|
-
min:
|
|
532
|
-
}, F =
|
|
533
|
-
const C = this.mutableConfig.useIndividualScale ? (
|
|
530
|
+
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
531
|
+
min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
|
|
532
|
+
}, F = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, v = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * v : N.max, F), L = this.calculateNiceScaleWithExactExtremes(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * v : O.valueMax, F), b = m.min >= 0 ? 0 : Math.abs(m.min), M = 0, H = m.max + b, t = L.max + Math.abs(M), c = i.stackIndex, n = o - 1 - c, g = f ? 1 - i.cumulatedStackRatio : 0, p = f ? e * g + d * n : 0, S = f ? e * i.stackRatio : this.drawingArea.height, k = this.drawingArea.bottom - p - S * b / H, T = this.drawingArea.bottom - p - S * M / t, Y = i.series.map((w, P) => {
|
|
533
|
+
const C = this.mutableConfig.useIndividualScale ? (i.absoluteValues[P] + Math.abs(b)) / H : this.ratioToMax(w);
|
|
534
534
|
return {
|
|
535
535
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * P),
|
|
536
536
|
y: this.checkNaN(this.drawingArea.bottom - p - S * C),
|
|
537
|
-
value:
|
|
538
|
-
comment:
|
|
537
|
+
value: i.absoluteValues[P],
|
|
538
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
|
|
539
539
|
};
|
|
540
|
-
}), W =
|
|
540
|
+
}), W = i.absoluteValues.map((w) => L.min >= 0 ? (w - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (w + Math.abs(L.min)) / (L.max + Math.abs(L.min))), te = i.series.map((w, P) => ({
|
|
541
541
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * P),
|
|
542
542
|
y: this.checkNaN(this.drawingArea.bottom - p - (S * W[P] || 0)),
|
|
543
|
-
value:
|
|
544
|
-
comment:
|
|
543
|
+
value: i.absoluteValues[P],
|
|
544
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
|
|
545
545
|
})), E = m.ticks.map((w) => ({
|
|
546
546
|
y: w >= 0 ? k - S * (w / H) : k + S * Math.abs(w) / H,
|
|
547
547
|
value: w,
|
|
548
|
-
prefix:
|
|
549
|
-
suffix:
|
|
550
|
-
datapoint:
|
|
548
|
+
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
549
|
+
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
550
|
+
datapoint: i
|
|
551
551
|
})), J = L.ticks.map((w) => {
|
|
552
552
|
const P = (w - L.min) / (L.max - L.min);
|
|
553
553
|
return {
|
|
554
554
|
y: w >= 0 ? T - S * P : T + S * P,
|
|
555
555
|
value: w,
|
|
556
|
-
prefix:
|
|
557
|
-
suffix:
|
|
558
|
-
datapoint:
|
|
556
|
+
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
557
|
+
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
558
|
+
datapoint: i
|
|
559
559
|
};
|
|
560
560
|
});
|
|
561
|
-
return this.scaleGroups[
|
|
562
|
-
...
|
|
561
|
+
return 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 ? J : E, this.scaleGroups[i.scaleLabel].zeroPosition = i.autoScaling ? T : k, this.scaleGroups[i.scaleLabel].individualMax = i.autoScaling ? t : H, this.scaleGroups[i.scaleLabel].scaleLabel = i.scaleLabel, this.scaleGroups[i.scaleLabel].id = i.id, this.scaleGroups[i.scaleLabel].yOffset = p, this.scaleGroups[i.scaleLabel].individualHeight = S, this.scaleGroups[i.scaleLabel].autoScaleYLabels = J, this.scaleGroups[i.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((w) => w.scaleLabel === i.scaleLabel).length === 1, {
|
|
562
|
+
...i,
|
|
563
563
|
yOffset: p,
|
|
564
564
|
autoScaleYLabels: J,
|
|
565
565
|
individualHeight: S,
|
|
566
|
-
scaleYLabels:
|
|
567
|
-
individualScale:
|
|
568
|
-
individualMax:
|
|
569
|
-
zeroPosition:
|
|
570
|
-
plots:
|
|
571
|
-
groupId: this.scaleGroups[
|
|
566
|
+
scaleYLabels: i.autoScaling ? J : E,
|
|
567
|
+
individualScale: i.autoScaling ? L : m,
|
|
568
|
+
individualMax: i.autoScaling ? t : H,
|
|
569
|
+
zeroPosition: i.autoScaling ? T : k,
|
|
570
|
+
plots: i.autoScaling ? te : Y,
|
|
571
|
+
groupId: this.scaleGroups[i.scaleLabel].groupId
|
|
572
572
|
};
|
|
573
573
|
});
|
|
574
574
|
},
|
|
@@ -576,8 +576,8 @@ const ct = ne(), ot = {
|
|
|
576
576
|
function r(f) {
|
|
577
577
|
const l = /* @__PURE__ */ new Set();
|
|
578
578
|
return f.forEach((e) => {
|
|
579
|
-
const
|
|
580
|
-
l.add(
|
|
579
|
+
const i = e.scaleLabel || "__noScaleLabel__";
|
|
580
|
+
l.add(i);
|
|
581
581
|
}), l.size;
|
|
582
582
|
}
|
|
583
583
|
const o = r(this.absoluteDataset.filter((f) => !this.segregatedSeries.includes(f.id))), d = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? o * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
|
|
@@ -652,22 +652,22 @@ 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
|
|
655
|
+
const i = this.relativeDataset.map((A) => A.absoluteValues[e] ?? 0).reduce((A, z) => A + z, 0);
|
|
656
656
|
d.push(
|
|
657
657
|
[
|
|
658
658
|
this.timeLabels[e].text ?? "-"
|
|
659
659
|
].concat(this.relativeDataset.map(
|
|
660
|
-
(
|
|
661
|
-
|
|
662
|
-
|
|
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,
|
|
663
663
|
this.dataLabel({
|
|
664
|
-
p:
|
|
665
|
-
v:
|
|
666
|
-
s:
|
|
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,
|
|
667
667
|
r: this.FINAL_CONFIG.table.rounding
|
|
668
668
|
})
|
|
669
669
|
)
|
|
670
|
-
)).concat(r ? (
|
|
670
|
+
)).concat(r ? (i ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
|
|
671
671
|
);
|
|
672
672
|
}
|
|
673
673
|
const f = {
|
|
@@ -730,13 +730,13 @@ const ct = ne(), ot = {
|
|
|
730
730
|
config: this.FINAL_CONFIG
|
|
731
731
|
}) : (d && d.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${d.text}</div>`), this.selectedSeries.forEach((l) => {
|
|
732
732
|
if (this.isSafeValue(l.value)) {
|
|
733
|
-
let e = "",
|
|
733
|
+
let e = "", i = "";
|
|
734
734
|
switch (this.icons[l.type]) {
|
|
735
735
|
case "bar":
|
|
736
736
|
e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${l.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${l.slotAbsoluteIndex}` : l.color}" /></svg>`;
|
|
737
737
|
break;
|
|
738
738
|
case "line":
|
|
739
|
-
!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ?
|
|
739
|
+
!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? i = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? i = `<path d="${X({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (i = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${ie({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${i}</svg>`;
|
|
740
740
|
break;
|
|
741
741
|
case "plot":
|
|
742
742
|
if (!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape)) {
|
|
@@ -744,7 +744,7 @@ const ct = ne(), ot = {
|
|
|
744
744
|
break;
|
|
745
745
|
}
|
|
746
746
|
if (l.shape === "star") {
|
|
747
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${
|
|
747
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${ie({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
|
|
748
748
|
break;
|
|
749
749
|
}
|
|
750
750
|
if (l.shape === "triangle") {
|
|
@@ -810,7 +810,7 @@ const ct = ne(), ot = {
|
|
|
810
810
|
(N) => N.show && (N.yAxis.yTop != null || N.yAxis.yBottom != null)
|
|
811
811
|
);
|
|
812
812
|
if (!o.length) return [];
|
|
813
|
-
const { left: d, right: f } = this.drawingArea, l = this.zero, e = this.drawingArea.height,
|
|
813
|
+
const { left: d, right: f } = this.drawingArea, l = this.zero, e = this.drawingArea.height, i = this.niceScale.min, z = this.niceScale.max - i, O = (N) => {
|
|
814
814
|
const F = (N - 0) / z;
|
|
815
815
|
return l - F * e;
|
|
816
816
|
};
|
|
@@ -883,15 +883,15 @@ const ct = ne(), ot = {
|
|
|
883
883
|
functionReturnsString: Se,
|
|
884
884
|
hasDeepProperty: Ce,
|
|
885
885
|
isFunction: Le,
|
|
886
|
-
isSafeValue:
|
|
887
|
-
largestTriangleThreeBucketsArray:
|
|
886
|
+
isSafeValue: Ae,
|
|
887
|
+
largestTriangleThreeBucketsArray: ye,
|
|
888
888
|
objectIsEmpty: _e,
|
|
889
889
|
setOpacity: Fe,
|
|
890
890
|
shiftHue: be,
|
|
891
891
|
translateSize: me,
|
|
892
892
|
treeShake: Ne,
|
|
893
893
|
useMouse: je,
|
|
894
|
-
useNestedProp:
|
|
894
|
+
useNestedProp: ae,
|
|
895
895
|
createUid: ne,
|
|
896
896
|
placeXYTag: xe,
|
|
897
897
|
createSmoothPathWithCuts: Ie,
|
|
@@ -955,11 +955,11 @@ const ct = ne(), ot = {
|
|
|
955
955
|
userConfig: this.config,
|
|
956
956
|
defaultConfig: r
|
|
957
957
|
});
|
|
958
|
-
return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? o.chart.highlightArea = this.config.chart.highlightArea : o.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? o.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : o.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? o.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : o.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? o.chart.zoom.startIndex = this.config.chart.zoom.startIndex : o.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? o.chart.zoom.endIndex = this.config.chart.zoom.endIndex : o.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? o.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : o.chart.grid.labels.yAxis.groupColor = null, this.config && this.config.chart.annotations && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length ? o.chart.annotations = this.config.chart.annotations.map((d) =>
|
|
958
|
+
return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? o.chart.highlightArea = this.config.chart.highlightArea : o.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? o.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : o.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? o.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : o.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? o.chart.zoom.startIndex = this.config.chart.zoom.startIndex : o.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? o.chart.zoom.endIndex = this.config.chart.zoom.endIndex : o.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? o.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : o.chart.grid.labels.yAxis.groupColor = null, this.config && this.config.chart.annotations && Array.isArray(this.config.chart.annotations) && this.config.chart.annotations.length ? o.chart.annotations = this.config.chart.annotations.map((d) => ae({
|
|
959
959
|
defaultConfig: r.chart.annotations[0],
|
|
960
960
|
userConfig: d
|
|
961
961
|
})) : o.chart.annotations = [], o.theme ? {
|
|
962
|
-
...
|
|
962
|
+
...ae({
|
|
963
963
|
userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
|
|
964
964
|
defaultConfig: o
|
|
965
965
|
}),
|
|
@@ -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
|
|
1001
|
-
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (
|
|
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);
|
|
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 -
|
|
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();
|
|
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 ?
|
|
1011
|
-
this.height = L.contentRect.height - e - O -
|
|
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();
|
|
1012
1012
|
});
|
|
1013
1013
|
});
|
|
1014
1014
|
this.resizeObserver = v, this.observedEl = o, v.observe(o);
|
|
@@ -1083,7 +1083,7 @@ const ct = ne(), ot = {
|
|
|
1083
1083
|
l.push(`${e.x},${e.y} `);
|
|
1084
1084
|
}), [d.x, d.y, ...l, f.x, f.y].toString();
|
|
1085
1085
|
},
|
|
1086
|
-
createStar:
|
|
1086
|
+
createStar: ie,
|
|
1087
1087
|
createPolygonPath: X,
|
|
1088
1088
|
fillArray(r, o) {
|
|
1089
1089
|
let d = Array(r).fill(0);
|
|
@@ -1118,7 +1118,7 @@ const ct = ne(), ot = {
|
|
|
1118
1118
|
return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? r.x + this.drawingArea.width / this.maxSeries * 0.05 : r.x + this.slot.bar / 2;
|
|
1119
1119
|
},
|
|
1120
1120
|
calcRectY(r) {
|
|
1121
|
-
return r.value >= 0 ? r.y : this.zero;
|
|
1121
|
+
return r.value >= 0 ? r.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(this.zero) ? this.drawingArea.bottom : this.zero;
|
|
1122
1122
|
},
|
|
1123
1123
|
calcIndividualRectY(r) {
|
|
1124
1124
|
return r.value >= 0 ? r.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(r.zeroPosition) ? 0 : r.zeroPosition;
|
|
@@ -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-
|
|
1189
|
+
const { default: r } = await import("./pdf-BBk37REU.js");
|
|
1190
1190
|
await r({
|
|
1191
1191
|
domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
|
|
1192
1192
|
fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
|
|
@@ -1200,7 +1200,7 @@ const ct = ne(), ot = {
|
|
|
1200
1200
|
}, 100);
|
|
1201
1201
|
},
|
|
1202
1202
|
generateCsv(r = null) {
|
|
1203
|
-
const o = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], d = ["", ...this.table.head.map((
|
|
1203
|
+
const o = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], d = ["", ...this.table.head.map((i) => i.label)], f = this.table.body, l = o.concat([d]).concat(f), e = this.createCsvContent(l);
|
|
1204
1204
|
r ? r(e) : this.downloadCsv({ csvContent: e, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
|
|
1205
1205
|
},
|
|
1206
1206
|
showSpinnerImage() {
|
|
@@ -1209,7 +1209,7 @@ const ct = ne(), ot = {
|
|
|
1209
1209
|
async generateImage() {
|
|
1210
1210
|
this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
|
|
1211
1211
|
try {
|
|
1212
|
-
const { default: r } = await import("./img-
|
|
1212
|
+
const { default: r } = await import("./img-BOi0vhPf.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"],
|
|
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 = {
|
|
1233
1233
|
key: 14,
|
|
1234
1234
|
style: { "pointer-events": "none" }
|
|
1235
|
-
}, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"],
|
|
1235
|
+
}, Fr = ["x", "y"], _r = ["cx", "cy", "r", "fill"], yr = {
|
|
1236
1236
|
key: 5,
|
|
1237
1237
|
class: "vue-data-ui-watermark"
|
|
1238
|
-
},
|
|
1238
|
+
}, Ar = {
|
|
1239
1239
|
class: "vue-ui-xy-tag-arrow",
|
|
1240
1240
|
height: "20",
|
|
1241
1241
|
viewBox: "0 0 10 20",
|
|
@@ -1282,8 +1282,8 @@ 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
|
|
1286
|
-
return
|
|
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");
|
|
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"}`),
|
|
1289
1289
|
ref: "chart",
|
|
@@ -1291,7 +1291,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1291
1291
|
onMouseenter: o[7] || (o[7] = () => e.setUserOptionsVisibility(!0)),
|
|
1292
1292
|
onMouseleave: o[8] || (o[8] = () => e.setUserOptionsVisibility(!1))
|
|
1293
1293
|
}, [
|
|
1294
|
-
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (
|
|
1294
|
+
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), U(i, {
|
|
1295
1295
|
key: 0,
|
|
1296
1296
|
svgRef: l.svgRef,
|
|
1297
1297
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1299,14 +1299,14 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1299
1299
|
active: l.isAnnotator,
|
|
1300
1300
|
onClose: e.toggleAnnotator
|
|
1301
1301
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
|
|
1302
|
-
e.hasOptionsNoTitle ? (
|
|
1303
|
-
e.FINAL_CONFIG.chart.title.show ? (
|
|
1302
|
+
e.hasOptionsNoTitle ? (a(), s("div", ut, null, 512)) : h("", !0),
|
|
1303
|
+
e.FINAL_CONFIG.chart.title.show ? (a(), s("div", {
|
|
1304
1304
|
key: 2,
|
|
1305
1305
|
ref: "chartTitle",
|
|
1306
1306
|
class: "vue-ui-xy-title",
|
|
1307
1307
|
style: _(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1308
1308
|
}, [
|
|
1309
|
-
(
|
|
1309
|
+
(a(), U(A, {
|
|
1310
1310
|
key: `title_${l.titleStep}`,
|
|
1311
1311
|
config: {
|
|
1312
1312
|
title: {
|
|
@@ -1320,7 +1320,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
}, null, 8, ["config"]))
|
|
1322
1322
|
], 4)) : h("", !0),
|
|
1323
|
-
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (
|
|
1323
|
+
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (a(), U(z, {
|
|
1324
1324
|
ref: "defails",
|
|
1325
1325
|
key: `user_options_${l.step}`,
|
|
1326
1326
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1429,7 +1429,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1429
1429
|
key: "9"
|
|
1430
1430
|
} : void 0
|
|
1431
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
|
-
e.isDataset ? (
|
|
1432
|
+
e.isDataset ? (a(), s("svg", {
|
|
1433
1433
|
key: 4,
|
|
1434
1434
|
ref: "svgRef",
|
|
1435
1435
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1442,7 +1442,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1442
1442
|
"aria-live": "polite"
|
|
1443
1443
|
}, [
|
|
1444
1444
|
le(O),
|
|
1445
|
-
r.$slots["chart-background"] ? (
|
|
1445
|
+
r.$slots["chart-background"] ? (a(), s("foreignObject", {
|
|
1446
1446
|
key: 0,
|
|
1447
1447
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
1448
1448
|
y: e.drawingArea.top,
|
|
@@ -1454,9 +1454,9 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1454
1454
|
}, [
|
|
1455
1455
|
G(r.$slots, "chart-background", {}, void 0, !0)
|
|
1456
1456
|
], 8, gt)) : h("", !0),
|
|
1457
|
-
e.maxSeries > 0 ? (
|
|
1457
|
+
e.maxSeries > 0 ? (a(), s("g", ft, [
|
|
1458
1458
|
I("g", It, [
|
|
1459
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (
|
|
1459
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), s("line", {
|
|
1460
1460
|
key: 0,
|
|
1461
1461
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1462
1462
|
"stroke-width": "1",
|
|
@@ -1467,8 +1467,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1467
1467
|
"stroke-linecap": "round",
|
|
1468
1468
|
style: { animation: "none !important" }
|
|
1469
1469
|
}, null, 8, xt)) : h("", !0),
|
|
1470
|
-
l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (
|
|
1471
|
-
t.id === l.selectedScale && t.yLabels.length ? (
|
|
1470
|
+
l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(u, { key: 2 }, x(e.allScales, (t) => (a(), s("g", null, [
|
|
1471
|
+
t.id === l.selectedScale && t.yLabels.length ? (a(!0), s(u, { key: 0 }, x(t.yLabels, (c) => (a(), s("line", {
|
|
1472
1472
|
x1: e.drawingArea.left + e.xPadding,
|
|
1473
1473
|
x2: e.drawingArea.right - e.xPadding,
|
|
1474
1474
|
y1: e.forceValidValue(c.y),
|
|
@@ -1477,7 +1477,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1477
1477
|
"stroke-width": 0.5,
|
|
1478
1478
|
"stroke-linecap": "round",
|
|
1479
1479
|
style: { animation: "none !important" }
|
|
1480
|
-
}, null, 8, Ft))), 256)) : t.yLabels.length ? (
|
|
1480
|
+
}, null, 8, Ft))), 256)) : t.yLabels.length ? (a(!0), s(u, { key: 1 }, x(t.yLabels, (c) => (a(), s("line", {
|
|
1481
1481
|
x1: e.drawingArea.left + e.xPadding,
|
|
1482
1482
|
x2: e.drawingArea.right - e.xPadding,
|
|
1483
1483
|
y1: e.forceValidValue(c.y),
|
|
@@ -1487,8 +1487,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1487
1487
|
"stroke-linecap": "round",
|
|
1488
1488
|
style: { animation: "none !important" }
|
|
1489
1489
|
}, null, 8, _t))), 256)) : h("", !0)
|
|
1490
|
-
]))), 256)) : h("", !0) : (
|
|
1491
|
-
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (
|
|
1490
|
+
]))), 256)) : h("", !0) : (a(), s(u, { key: 1 }, [
|
|
1491
|
+
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), s("line", {
|
|
1492
1492
|
key: 0,
|
|
1493
1493
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1494
1494
|
"stroke-width": "1",
|
|
@@ -1499,8 +1499,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1499
1499
|
"stroke-linecap": "round",
|
|
1500
1500
|
style: { animation: "none !important" }
|
|
1501
1501
|
}, null, 8, Nt)) : h("", !0),
|
|
1502
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (
|
|
1503
|
-
(
|
|
1502
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), s("g", mt, [
|
|
1503
|
+
(a(!0), s(u, null, x(e.yLabels, (t) => (a(), s("line", {
|
|
1504
1504
|
x1: e.drawingArea.left + e.xPadding,
|
|
1505
1505
|
x2: e.drawingArea.right - e.xPadding,
|
|
1506
1506
|
y1: e.forceValidValue(t.y),
|
|
@@ -1512,8 +1512,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1512
1512
|
}, null, 8, bt))), 256))
|
|
1513
1513
|
])) : h("", !0)
|
|
1514
1514
|
], 64)),
|
|
1515
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (
|
|
1516
|
-
(
|
|
1515
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", yt, [
|
|
1516
|
+
(a(!0), s(u, null, x(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (a(), s("line", {
|
|
1517
1517
|
key: `grid_vertical_line_${c}`,
|
|
1518
1518
|
x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
1519
1519
|
x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
@@ -1522,14 +1522,14 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1522
1522
|
"stroke-width": "0.5",
|
|
1523
1523
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1524
1524
|
style: { animation: "none !important" }
|
|
1525
|
-
}, null, 8,
|
|
1525
|
+
}, null, 8, At))), 128))
|
|
1526
1526
|
])) : h("", !0),
|
|
1527
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (
|
|
1528
|
-
(
|
|
1527
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Lt, [
|
|
1528
|
+
(a(!0), s(u, null, x(e.timeLabels, (t, c) => (a(), s("g", {
|
|
1529
1529
|
key: `time_label_${c}`
|
|
1530
1530
|
}, [
|
|
1531
|
-
t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (
|
|
1532
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxis.showCrosshairs ? (
|
|
1531
|
+
t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s(u, { key: 0 }, [
|
|
1532
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxis.showCrosshairs ? (a(), s("line", {
|
|
1533
1533
|
key: 0,
|
|
1534
1534
|
y1: e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? e.zero - (e.zero === e.drawingArea.bottom ? 0 : e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize / 2) : e.drawingArea.bottom,
|
|
1535
1535
|
y2: e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairsAlwaysAtZero ? e.zero + e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize / (e.zero === e.drawingArea.bottom ? 1 : 2) : e.drawingArea.bottom + e.FINAL_CONFIG.chart.grid.labels.xAxis.crosshairSize,
|
|
@@ -1544,7 +1544,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1544
1544
|
]))), 128))
|
|
1545
1545
|
])) : h("", !0)
|
|
1546
1546
|
]),
|
|
1547
|
-
(
|
|
1547
|
+
(a(!0), s(u, null, x(e.barSet, (t, c) => (a(), s("defs", {
|
|
1548
1548
|
key: `def_rect_${c}`
|
|
1549
1549
|
}, [
|
|
1550
1550
|
I("linearGradient", {
|
|
@@ -1584,7 +1584,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1584
1584
|
}, null, 8, zt)
|
|
1585
1585
|
], 8, Gt)
|
|
1586
1586
|
]))), 128)),
|
|
1587
|
-
(
|
|
1587
|
+
(a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s("defs", {
|
|
1588
1588
|
key: `def_plot_${c}`
|
|
1589
1589
|
}, [
|
|
1590
1590
|
I("radialGradient", {
|
|
@@ -1605,7 +1605,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1605
1605
|
}, null, 8, Pt)
|
|
1606
1606
|
], 8, Mt)
|
|
1607
1607
|
]))), 128)),
|
|
1608
|
-
(
|
|
1608
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s("defs", {
|
|
1609
1609
|
key: `def_line_${c}`
|
|
1610
1610
|
}, [
|
|
1611
1611
|
I("radialGradient", {
|
|
@@ -1642,9 +1642,9 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1642
1642
|
}, null, 8, Wt)
|
|
1643
1643
|
], 8, Dt)
|
|
1644
1644
|
]))), 128)),
|
|
1645
|
-
(
|
|
1646
|
-
t.show ? (
|
|
1647
|
-
(
|
|
1645
|
+
(a(!0), s(u, null, x(e.highlightAreas, (t) => (a(), s("g", null, [
|
|
1646
|
+
t.show ? (a(), s(u, { key: 0 }, [
|
|
1647
|
+
(a(!0), s(u, null, x(t.span, (c, n) => (a(), s("g", null, [
|
|
1648
1648
|
I("rect", {
|
|
1649
1649
|
style: _({
|
|
1650
1650
|
transition: "none",
|
|
@@ -1657,8 +1657,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1657
1657
|
fill: e.setOpacity(t.color, t.opacity)
|
|
1658
1658
|
}, null, 12, Et)
|
|
1659
1659
|
]))), 256)),
|
|
1660
|
-
(
|
|
1661
|
-
t.caption.text && n === 0 ? (
|
|
1660
|
+
(a(!0), s(u, null, x(t.span, (c, n) => (a(), s("g", null, [
|
|
1661
|
+
t.caption.text && n === 0 ? (a(), s("foreignObject", {
|
|
1662
1662
|
key: 0,
|
|
1663
1663
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - l.slicer.start) - (t.caption.width === "auto" ? 0 : t.caption.width / 2 - e.drawingArea.width / e.maxSeries * t.span / 2),
|
|
1664
1664
|
y: e.drawingArea.top + t.caption.offsetY,
|
|
@@ -1677,7 +1677,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1677
1677
|
], 64)) : h("", !0)
|
|
1678
1678
|
]))), 256)),
|
|
1679
1679
|
I("g", null, [
|
|
1680
|
-
(
|
|
1680
|
+
(a(!0), s(u, null, x(e.maxSeries, (t, c) => (a(), s("g", {
|
|
1681
1681
|
key: `tooltip_trap_highlighter_${c}`
|
|
1682
1682
|
}, [
|
|
1683
1683
|
I("rect", {
|
|
@@ -1689,15 +1689,15 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1689
1689
|
}, null, 8, qt)
|
|
1690
1690
|
]))), 128))
|
|
1691
1691
|
]),
|
|
1692
|
-
e.barSet.length ? (
|
|
1692
|
+
e.barSet.length ? (a(!0), s(u, { key: 0 }, x(e.barSet, (t, c) => (a(), s("g", {
|
|
1693
1693
|
key: `serie_bar_${c}`,
|
|
1694
1694
|
class: j(`serie_bar_${c}`),
|
|
1695
1695
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1696
1696
|
}, [
|
|
1697
|
-
(
|
|
1697
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s("g", {
|
|
1698
1698
|
key: `bar_plot_${c}_${g}`
|
|
1699
1699
|
}, [
|
|
1700
|
-
e.canShowValue(n.value) ? (
|
|
1700
|
+
e.canShowValue(n.value) ? (a(), s("rect", {
|
|
1701
1701
|
key: 0,
|
|
1702
1702
|
x: e.calcRectX(n),
|
|
1703
1703
|
y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
|
|
@@ -1708,7 +1708,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1708
1708
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1709
1709
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1710
1710
|
}, null, 8, Xt)) : h("", !0),
|
|
1711
|
-
e.canShowValue(n.value) && r.$slots.pattern ? (
|
|
1711
|
+
e.canShowValue(n.value) && r.$slots.pattern ? (a(), s("rect", {
|
|
1712
1712
|
key: 1,
|
|
1713
1713
|
x: e.calcRectX(n),
|
|
1714
1714
|
y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
|
|
@@ -1719,7 +1719,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1719
1719
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1720
1720
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1721
1721
|
}, null, 8, Ut)) : h("", !0),
|
|
1722
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1722
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
|
|
1723
1723
|
key: 2,
|
|
1724
1724
|
style: { overflow: "visible" },
|
|
1725
1725
|
height: "12",
|
|
@@ -1732,7 +1732,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1732
1732
|
}, void 0, !0)
|
|
1733
1733
|
], 8, Zt)) : h("", !0)
|
|
1734
1734
|
]))), 128)),
|
|
1735
|
-
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (
|
|
1735
|
+
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (a(), s("g", Jt, [
|
|
1736
1736
|
I("defs", null, [
|
|
1737
1737
|
I("marker", {
|
|
1738
1738
|
id: `bar_arrow_${c}`,
|
|
@@ -1748,7 +1748,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1748
1748
|
}, null, 8, Qt)
|
|
1749
1749
|
], 8, Kt)
|
|
1750
1750
|
]),
|
|
1751
|
-
t.plots.length > 1 ? (
|
|
1751
|
+
t.plots.length > 1 ? (a(), s("line", {
|
|
1752
1752
|
key: 0,
|
|
1753
1753
|
x1: e.calcLinearProgression(t.plots).x1 + e.calcRectWidth(),
|
|
1754
1754
|
x2: e.calcLinearProgression(t.plots).x2 + e.calcRectWidth(),
|
|
@@ -1759,7 +1759,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1759
1759
|
"stroke-dasharray": 2,
|
|
1760
1760
|
"marker-end": `url(#bar_arrow_${c})`
|
|
1761
1761
|
}, null, 8, jt)) : h("", !0),
|
|
1762
|
-
t.plots.length > 1 ? (
|
|
1762
|
+
t.plots.length > 1 ? (a(), s("text", {
|
|
1763
1763
|
key: 1,
|
|
1764
1764
|
"text-anchor": "middle",
|
|
1765
1765
|
x: e.calcLinearProgression(t.plots).x2 + e.calcRectWidth(),
|
|
@@ -1773,7 +1773,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1773
1773
|
})), 9, $t)) : h("", !0)
|
|
1774
1774
|
])) : h("", !0)
|
|
1775
1775
|
], 6))), 128)) : h("", !0),
|
|
1776
|
-
!l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (
|
|
1776
|
+
!l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (a(), s("line", {
|
|
1777
1777
|
key: 1,
|
|
1778
1778
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1779
1779
|
"stroke-width": "1",
|
|
@@ -1784,7 +1784,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1784
1784
|
"stroke-linecap": "round",
|
|
1785
1785
|
style: { animation: "none !important" }
|
|
1786
1786
|
}, null, 8, el)) : h("", !0),
|
|
1787
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (
|
|
1787
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (a(), s("g", tl, [
|
|
1788
1788
|
I("line", {
|
|
1789
1789
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
1790
1790
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1797,7 +1797,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1797
1797
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1798
1798
|
}, null, 8, ll)
|
|
1799
1799
|
])) : h("", !0),
|
|
1800
|
-
e.FINAL_CONFIG.chart.grid.frame.show ? (
|
|
1800
|
+
e.FINAL_CONFIG.chart.grid.frame.show ? (a(), s("rect", {
|
|
1801
1801
|
key: 3,
|
|
1802
1802
|
style: { pointerEvents: "none", transition: "none", animation: "none !important" },
|
|
1803
1803
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
@@ -1811,9 +1811,9 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1811
1811
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1812
1812
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1813
1813
|
}, null, 8, rl)) : h("", !0),
|
|
1814
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (
|
|
1815
|
-
l.mutableConfig.useIndividualScale ? (
|
|
1816
|
-
(
|
|
1814
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (a(), s("g", il, [
|
|
1815
|
+
l.mutableConfig.useIndividualScale ? (a(), s(u, { key: 0 }, [
|
|
1816
|
+
(a(!0), s(u, null, x(e.allScales, (t) => (a(), s("g", null, [
|
|
1817
1817
|
I("line", {
|
|
1818
1818
|
x1: t.x + e.xPadding,
|
|
1819
1819
|
x2: t.x + e.xPadding,
|
|
@@ -1823,9 +1823,9 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1823
1823
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1824
1824
|
"stroke-linecap": "round",
|
|
1825
1825
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
|
|
1826
|
-
}, null, 12,
|
|
1826
|
+
}, null, 12, al)
|
|
1827
1827
|
]))), 256)),
|
|
1828
|
-
(
|
|
1828
|
+
(a(!0), s(u, null, x(e.allScales, (t) => (a(), s("g", {
|
|
1829
1829
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1830
1830
|
}, [
|
|
1831
1831
|
I("text", {
|
|
@@ -1834,8 +1834,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1834
1834
|
"text-anchor": "middle",
|
|
1835
1835
|
transform: `translate(${t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset - t.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1836
1836
|
}, V(t.name) + " " + V(t.scaleLabel && t.unique && t.scaleLabel !== t.id ? `- ${t.scaleLabel}` : ""), 9, sl),
|
|
1837
|
-
(
|
|
1838
|
-
e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (
|
|
1837
|
+
(a(!0), s(u, null, x(t.yLabels, (c, n) => (a(), s(u, null, [
|
|
1838
|
+
e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (a(), s("line", {
|
|
1839
1839
|
key: 0,
|
|
1840
1840
|
x1: t.x + 3 + e.xPadding - e.FINAL_CONFIG.chart.grid.labels.yAxis.crosshairSize,
|
|
1841
1841
|
x2: t.x + e.xPadding,
|
|
@@ -1847,7 +1847,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1847
1847
|
style: { animation: "none !important" }
|
|
1848
1848
|
}, null, 8, nl)) : h("", !0)
|
|
1849
1849
|
], 64))), 256)),
|
|
1850
|
-
(
|
|
1850
|
+
(a(!0), s(u, null, x(t.yLabels, (c, n) => (a(), s("text", {
|
|
1851
1851
|
x: t.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
|
|
1852
1852
|
y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
|
|
1853
1853
|
"font-size": l.fontSizes.dataLabels,
|
|
@@ -1865,10 +1865,10 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1865
1865
|
{ datapoint: c.datapoint, seriesIndex: n }
|
|
1866
1866
|
)), 9, cl))), 256))
|
|
1867
1867
|
], 4))), 256))
|
|
1868
|
-
], 64)) : (
|
|
1868
|
+
], 64)) : (a(!0), s(u, { key: 1 }, x(e.yLabels, (t, c) => (a(), s("g", {
|
|
1869
1869
|
key: `yLabel_${c}`
|
|
1870
1870
|
}, [
|
|
1871
|
-
e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max && e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (
|
|
1871
|
+
e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max && e.FINAL_CONFIG.chart.grid.labels.yAxis.showCrosshairs ? (a(), s("line", {
|
|
1872
1872
|
key: 0,
|
|
1873
1873
|
x1: e.drawingArea.left + e.xPadding,
|
|
1874
1874
|
x2: e.drawingArea.left - e.FINAL_CONFIG.chart.grid.labels.yAxis.crosshairSize + e.xPadding,
|
|
@@ -1879,7 +1879,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1879
1879
|
"stroke-linecap": "round",
|
|
1880
1880
|
style: { animation: "none !important" }
|
|
1881
1881
|
}, null, 8, ol)) : h("", !0),
|
|
1882
|
-
t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (
|
|
1882
|
+
t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (a(), s("text", {
|
|
1883
1883
|
key: 1,
|
|
1884
1884
|
x: e.drawingArea.left - 7 + e.xPadding,
|
|
1885
1885
|
y: e.checkNaN(t.y + l.fontSizes.dataLabels / 3),
|
|
@@ -1898,15 +1898,15 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1898
1898
|
) : ""), 9, hl)) : h("", !0)
|
|
1899
1899
|
]))), 128))
|
|
1900
1900
|
])) : h("", !0),
|
|
1901
|
-
(
|
|
1901
|
+
(a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s("g", {
|
|
1902
1902
|
key: `serie_plot_${c}`,
|
|
1903
1903
|
class: j(`serie_plot_${c}`),
|
|
1904
1904
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1905
1905
|
}, [
|
|
1906
|
-
(
|
|
1906
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s("g", {
|
|
1907
1907
|
key: `circle_plot_${c}_${g}`
|
|
1908
1908
|
}, [
|
|
1909
|
-
n && e.canShowValue(n.value) ? (
|
|
1909
|
+
n && e.canShowValue(n.value) ? (a(), U(N, {
|
|
1910
1910
|
key: 0,
|
|
1911
1911
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
|
|
1912
1912
|
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? t.color : e.FINAL_CONFIG.plot.dot.fill,
|
|
@@ -1915,7 +1915,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1915
1915
|
stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
|
|
1916
1916
|
strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
|
|
1917
1917
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
|
|
1918
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1918
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
|
|
1919
1919
|
key: 1,
|
|
1920
1920
|
style: { overflow: "visible" },
|
|
1921
1921
|
height: "12",
|
|
@@ -1930,7 +1930,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1930
1930
|
])
|
|
1931
1931
|
], 8, ul)) : h("", !0)
|
|
1932
1932
|
]))), 128)),
|
|
1933
|
-
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (
|
|
1933
|
+
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (a(), s("g", gl, [
|
|
1934
1934
|
I("defs", null, [
|
|
1935
1935
|
I("marker", {
|
|
1936
1936
|
id: `plot_arrow_${c}`,
|
|
@@ -1946,7 +1946,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1946
1946
|
}, null, 8, Il)
|
|
1947
1947
|
], 8, fl)
|
|
1948
1948
|
]),
|
|
1949
|
-
t.plots.length > 1 ? (
|
|
1949
|
+
t.plots.length > 1 ? (a(), s("line", {
|
|
1950
1950
|
key: 0,
|
|
1951
1951
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1952
1952
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1957,7 +1957,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1957
1957
|
"stroke-dasharray": 2,
|
|
1958
1958
|
"marker-end": `url(#plot_arrow_${c})`
|
|
1959
1959
|
}, null, 8, xl)) : h("", !0),
|
|
1960
|
-
t.plots.length > 1 ? (
|
|
1960
|
+
t.plots.length > 1 ? (a(), s("text", {
|
|
1961
1961
|
key: 1,
|
|
1962
1962
|
"text-anchor": "middle",
|
|
1963
1963
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1971,19 +1971,19 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1971
1971
|
})), 9, Nl)) : h("", !0)
|
|
1972
1972
|
])) : h("", !0)
|
|
1973
1973
|
], 6))), 128)),
|
|
1974
|
-
(
|
|
1974
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s("g", {
|
|
1975
1975
|
key: `serie_line_${c}`,
|
|
1976
1976
|
class: j(`serie_line_${c}`),
|
|
1977
1977
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1978
1978
|
}, [
|
|
1979
|
-
t.smooth && t.plots.length > 1 && t.curve ? (
|
|
1979
|
+
t.smooth && t.plots.length > 1 && t.curve ? (a(), s("path", {
|
|
1980
1980
|
key: 0,
|
|
1981
1981
|
d: `M${t.curve}`,
|
|
1982
1982
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1983
1983
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1984
1984
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1985
1985
|
fill: "none"
|
|
1986
|
-
}, null, 8, ml)) : t.plots.length > 1 && t.straight ? (
|
|
1986
|
+
}, null, 8, ml)) : t.plots.length > 1 && t.straight ? (a(), s("path", {
|
|
1987
1987
|
key: 1,
|
|
1988
1988
|
d: `M${t.straight}`,
|
|
1989
1989
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1994,40 +1994,40 @@ function Xr(r, o, d, f, l, e) {
|
|
|
1994
1994
|
"stroke-linejoin": "round"
|
|
1995
1995
|
}, null, 8, bl)) : h("", !0)
|
|
1996
1996
|
], 6))), 128)),
|
|
1997
|
-
r.$slots.pattern ? (
|
|
1998
|
-
(
|
|
1997
|
+
r.$slots.pattern ? (a(), s("defs", Fl, [
|
|
1998
|
+
(a(!0), s(u, null, x(e.safeDataset, (t, c) => G(r.$slots, "pattern", se({
|
|
1999
1999
|
key: `serie_pattern_slot_${c}`
|
|
2000
2000
|
}, { ref_for: !0 }, { ...t, seriesIndex: t.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
|
|
2001
2001
|
])) : h("", !0),
|
|
2002
|
-
(
|
|
2002
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s("g", {
|
|
2003
2003
|
key: `serie_line_${c}`,
|
|
2004
2004
|
class: j(`serie_line_${c}`),
|
|
2005
2005
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2006
2006
|
}, [
|
|
2007
|
-
t.useArea && t.plots.length > 1 ? (
|
|
2008
|
-
t.smooth ? (
|
|
2007
|
+
t.useArea && t.plots.length > 1 ? (a(), s("g", _l, [
|
|
2008
|
+
t.smooth ? (a(!0), s(u, { key: 0 }, x(t.curveAreas, (n, g) => (a(), s(u, { key: g }, [
|
|
2009
2009
|
I("path", {
|
|
2010
2010
|
d: n,
|
|
2011
2011
|
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,
|
|
2013
|
-
r.$slots.pattern ? (
|
|
2012
|
+
}, null, 8, yl),
|
|
2013
|
+
r.$slots.pattern ? (a(), s("path", {
|
|
2014
2014
|
key: 0,
|
|
2015
2015
|
d: n,
|
|
2016
2016
|
fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
|
|
2017
|
-
}, null, 8,
|
|
2018
|
-
], 64))), 128)) : (
|
|
2017
|
+
}, null, 8, Al)) : h("", !0)
|
|
2018
|
+
], 64))), 128)) : (a(!0), s(u, { key: 1 }, x(t.area.split(";"), (n, g) => (a(), s(u, { key: g }, [
|
|
2019
2019
|
I("path", {
|
|
2020
2020
|
d: `M${n}Z`,
|
|
2021
2021
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
|
|
2022
2022
|
}, null, 8, Ll),
|
|
2023
|
-
r.$slots.pattern ? (
|
|
2023
|
+
r.$slots.pattern ? (a(), s("path", {
|
|
2024
2024
|
key: 0,
|
|
2025
2025
|
d: `M${n}Z`,
|
|
2026
2026
|
fill: `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})`
|
|
2027
2027
|
}, null, 8, Cl)) : h("", !0)
|
|
2028
2028
|
], 64))), 128))
|
|
2029
2029
|
])) : h("", !0),
|
|
2030
|
-
t.smooth && t.plots.length > 1 && t.curve ? (
|
|
2030
|
+
t.smooth && t.plots.length > 1 && t.curve ? (a(), s("path", {
|
|
2031
2031
|
key: 1,
|
|
2032
2032
|
d: `M${t.curve}`,
|
|
2033
2033
|
stroke: t.color,
|
|
@@ -2035,7 +2035,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2035
2035
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
2036
2036
|
fill: "none",
|
|
2037
2037
|
"stroke-linecap": "round"
|
|
2038
|
-
}, null, 8, Sl)) : t.plots.length > 1 && t.straight ? (
|
|
2038
|
+
}, null, 8, Sl)) : t.plots.length > 1 && t.straight ? (a(), s("path", {
|
|
2039
2039
|
key: 2,
|
|
2040
2040
|
d: `M${t.straight}`,
|
|
2041
2041
|
stroke: t.color,
|
|
@@ -2045,10 +2045,10 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2045
2045
|
"stroke-linecap": "round",
|
|
2046
2046
|
"stroke-linejoin": "round"
|
|
2047
2047
|
}, null, 8, kl)) : h("", !0),
|
|
2048
|
-
(
|
|
2048
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2049
2049
|
key: `circle_line_${c}_${g}`
|
|
2050
2050
|
}, [
|
|
2051
|
-
!e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) ? (
|
|
2051
|
+
!e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) ? (a(), U(N, {
|
|
2052
2052
|
key: 0,
|
|
2053
2053
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
|
|
2054
2054
|
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? t.color : e.FINAL_CONFIG.line.dot.fill,
|
|
@@ -2057,7 +2057,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2057
2057
|
stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : t.color,
|
|
2058
2058
|
strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
|
|
2059
2059
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
|
|
2060
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
2060
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
|
|
2061
2061
|
key: 1,
|
|
2062
2062
|
style: { overflow: "visible" },
|
|
2063
2063
|
height: "12",
|
|
@@ -2072,7 +2072,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2072
2072
|
])
|
|
2073
2073
|
], 8, wl)) : h("", !0)
|
|
2074
2074
|
], 64))), 128)),
|
|
2075
|
-
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (
|
|
2075
|
+
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (a(), s("g", Gl, [
|
|
2076
2076
|
I("defs", null, [
|
|
2077
2077
|
I("marker", {
|
|
2078
2078
|
id: `line_arrow_${c}`,
|
|
@@ -2088,7 +2088,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2088
2088
|
}, null, 8, pl)
|
|
2089
2089
|
], 8, vl)
|
|
2090
2090
|
]),
|
|
2091
|
-
t.plots.length > 1 ? (
|
|
2091
|
+
t.plots.length > 1 ? (a(), s("line", {
|
|
2092
2092
|
key: 0,
|
|
2093
2093
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
2094
2094
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -2099,7 +2099,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2099
2099
|
"stroke-dasharray": 2,
|
|
2100
2100
|
"marker-end": `url(#line_arrow_${c})`
|
|
2101
2101
|
}, null, 8, zl)) : h("", !0),
|
|
2102
|
-
t.plots.length > 1 ? (
|
|
2102
|
+
t.plots.length > 1 ? (a(), s("text", {
|
|
2103
2103
|
key: 1,
|
|
2104
2104
|
"text-anchor": "middle",
|
|
2105
2105
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -2113,14 +2113,14 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2113
2113
|
})), 9, Ml)) : h("", !0)
|
|
2114
2114
|
])) : h("", !0)
|
|
2115
2115
|
], 6))), 128)),
|
|
2116
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (
|
|
2117
|
-
(
|
|
2116
|
+
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (a(), s("g", Tl, [
|
|
2117
|
+
(a(!0), s(u, null, x(e.barSet, (t, c) => (a(), s(u, {
|
|
2118
2118
|
key: `xLabel_bar_${c}`
|
|
2119
2119
|
}, [
|
|
2120
|
-
(
|
|
2120
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2121
2121
|
key: `xLabel_bar_${c}_${g}`
|
|
2122
2122
|
}, [
|
|
2123
|
-
n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) && e.FINAL_CONFIG.bar.labels.show ? (
|
|
2123
|
+
n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g) && e.FINAL_CONFIG.bar.labels.show ? (a(), s("text", {
|
|
2124
2124
|
key: 0,
|
|
2125
2125
|
x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
|
|
2126
2126
|
y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
@@ -2142,7 +2142,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2142
2142
|
serie: t
|
|
2143
2143
|
}
|
|
2144
2144
|
) : ""), 13, Pl)) : h("", !0),
|
|
2145
|
-
n && e.FINAL_CONFIG.bar.serieName.show ? (
|
|
2145
|
+
n && e.FINAL_CONFIG.bar.serieName.show ? (a(), s("text", {
|
|
2146
2146
|
key: 1,
|
|
2147
2147
|
x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
|
|
2148
2148
|
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
|
|
@@ -2155,14 +2155,14 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2155
2155
|
], 64))), 128))
|
|
2156
2156
|
], 64))), 128))
|
|
2157
2157
|
])) : h("", !0),
|
|
2158
|
-
e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (
|
|
2159
|
-
(
|
|
2158
|
+
e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (a(), s("g", Rl, [
|
|
2159
|
+
(a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
|
|
2160
2160
|
key: `xLabel_plot_${c}`
|
|
2161
2161
|
}, [
|
|
2162
|
-
(
|
|
2162
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2163
2163
|
key: `xLabel_plot_${c}_${g}`
|
|
2164
2164
|
}, [
|
|
2165
|
-
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (
|
|
2165
|
+
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (a(), s("text", {
|
|
2166
2166
|
key: 0,
|
|
2167
2167
|
x: n.x,
|
|
2168
2168
|
y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
|
|
@@ -2186,15 +2186,15 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2186
2186
|
) : ""), 13, Hl)) : h("", !0)
|
|
2187
2187
|
], 64))), 128))
|
|
2188
2188
|
], 64))), 128))
|
|
2189
|
-
])) : (
|
|
2190
|
-
(
|
|
2189
|
+
])) : (a(), s("g", Dl, [
|
|
2190
|
+
(a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
|
|
2191
2191
|
key: `xLabel_plot_${c}`
|
|
2192
2192
|
}, [
|
|
2193
|
-
(
|
|
2193
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2194
2194
|
key: `xLabel_plot_${c}_${g}`
|
|
2195
2195
|
}, [
|
|
2196
|
-
e.FINAL_CONFIG.plot.tag.followValue ? (
|
|
2197
|
-
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (
|
|
2196
|
+
e.FINAL_CONFIG.plot.tag.followValue ? (a(), s(u, { key: 1 }, [
|
|
2197
|
+
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (a(), s("line", {
|
|
2198
2198
|
key: 0,
|
|
2199
2199
|
class: "vue-ui-xy-tag-plot",
|
|
2200
2200
|
x1: e.drawingArea.left,
|
|
@@ -2206,8 +2206,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2206
2206
|
"stroke-dasharray": "2",
|
|
2207
2207
|
stroke: t.color
|
|
2208
2208
|
}, null, 8, ql)) : h("", !0)
|
|
2209
|
-
], 64)) : (
|
|
2210
|
-
n && g === 0 && t.useTag && t.useTag === "start" ? (
|
|
2209
|
+
], 64)) : (a(), s(u, { key: 0 }, [
|
|
2210
|
+
n && g === 0 && t.useTag && t.useTag === "start" ? (a(), s("foreignObject", {
|
|
2211
2211
|
key: 0,
|
|
2212
2212
|
x: n.x,
|
|
2213
2213
|
y: n.y - 20,
|
|
@@ -2229,7 +2229,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2229
2229
|
)
|
|
2230
2230
|
}, null, 12, Wl)
|
|
2231
2231
|
], 12, Bl)) : h("", !0),
|
|
2232
|
-
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (
|
|
2232
|
+
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (a(), s("foreignObject", {
|
|
2233
2233
|
key: 1,
|
|
2234
2234
|
x: n.x - t.name.length * (l.fontSizes.plotLabels / 2),
|
|
2235
2235
|
y: n.y - 20,
|
|
@@ -2255,14 +2255,14 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2255
2255
|
], 64))), 128))
|
|
2256
2256
|
], 64))), 128))
|
|
2257
2257
|
])),
|
|
2258
|
-
e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (
|
|
2259
|
-
(
|
|
2258
|
+
e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (a(), s("g", Xl, [
|
|
2259
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
|
|
2260
2260
|
key: `xLabel_line_${c}`
|
|
2261
2261
|
}, [
|
|
2262
|
-
(
|
|
2262
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2263
2263
|
key: `xLabel_line_${c}_${g}`
|
|
2264
2264
|
}, [
|
|
2265
|
-
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (
|
|
2265
|
+
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === g || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === g ? (a(), s("text", {
|
|
2266
2266
|
key: 0,
|
|
2267
2267
|
x: n.x,
|
|
2268
2268
|
y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
|
|
@@ -2286,15 +2286,15 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2286
2286
|
) : ""), 13, Ul)) : h("", !0)
|
|
2287
2287
|
], 64))), 128))
|
|
2288
2288
|
], 64))), 128))
|
|
2289
|
-
])) : (
|
|
2290
|
-
(
|
|
2289
|
+
])) : (a(), s("g", Zl, [
|
|
2290
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
|
|
2291
2291
|
key: `xLabel_line_${c}`
|
|
2292
2292
|
}, [
|
|
2293
|
-
(
|
|
2293
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2294
2294
|
key: `xLabel_line_${c}_${g}`
|
|
2295
2295
|
}, [
|
|
2296
|
-
e.FINAL_CONFIG.line.tag.followValue ? (
|
|
2297
|
-
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (
|
|
2296
|
+
e.FINAL_CONFIG.line.tag.followValue ? (a(), s(u, { key: 1 }, [
|
|
2297
|
+
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag ? (a(), s("line", {
|
|
2298
2298
|
key: 0,
|
|
2299
2299
|
class: "vue-ui-xy-tag-line",
|
|
2300
2300
|
x1: e.drawingArea.left,
|
|
@@ -2306,8 +2306,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2306
2306
|
"stroke-dasharray": "2",
|
|
2307
2307
|
stroke: t.color
|
|
2308
2308
|
}, null, 8, $l)) : h("", !0)
|
|
2309
|
-
], 64)) : (
|
|
2310
|
-
n && g === 0 && t.useTag && t.useTag === "start" ? (
|
|
2309
|
+
], 64)) : (a(), s(u, { key: 0 }, [
|
|
2310
|
+
n && g === 0 && t.useTag && t.useTag === "start" ? (a(), s("foreignObject", {
|
|
2311
2311
|
key: 0,
|
|
2312
2312
|
x: n.x,
|
|
2313
2313
|
y: n.y - 20,
|
|
@@ -2329,7 +2329,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2329
2329
|
)
|
|
2330
2330
|
}, null, 12, Kl)
|
|
2331
2331
|
], 12, Jl)) : h("", !0),
|
|
2332
|
-
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (
|
|
2332
|
+
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (a(), s("foreignObject", {
|
|
2333
2333
|
key: 1,
|
|
2334
2334
|
x: n.x,
|
|
2335
2335
|
y: n.y - 20,
|
|
@@ -2355,13 +2355,13 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2355
2355
|
], 64))), 128))
|
|
2356
2356
|
], 64))), 128))
|
|
2357
2357
|
])),
|
|
2358
|
-
(
|
|
2358
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
|
|
2359
2359
|
key: `xLabel_line_${c}`
|
|
2360
2360
|
}, [
|
|
2361
|
-
(
|
|
2361
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2362
2362
|
key: `xLabel_line_${c}_${g}`
|
|
2363
2363
|
}, [
|
|
2364
|
-
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (
|
|
2364
|
+
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (a(), s("text", {
|
|
2365
2365
|
key: 0,
|
|
2366
2366
|
x: n.x - l.fontSizes.plotLabels,
|
|
2367
2367
|
y: n.y,
|
|
@@ -2378,7 +2378,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2378
2378
|
}),
|
|
2379
2379
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2380
2380
|
}, null, 12, er)) : h("", !0),
|
|
2381
|
-
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (
|
|
2381
|
+
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (a(), s("text", {
|
|
2382
2382
|
key: 1,
|
|
2383
2383
|
x: n.x + l.fontSizes.plotLabels,
|
|
2384
2384
|
y: n.y,
|
|
@@ -2397,13 +2397,13 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2397
2397
|
}, null, 12, tr)) : h("", !0)
|
|
2398
2398
|
], 64))), 128))
|
|
2399
2399
|
], 64))), 128)),
|
|
2400
|
-
(
|
|
2400
|
+
(a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
|
|
2401
2401
|
key: `xLabel_plot_${c}`
|
|
2402
2402
|
}, [
|
|
2403
|
-
(
|
|
2403
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2404
2404
|
key: `xLabel_plot_${c}_${g}`
|
|
2405
2405
|
}, [
|
|
2406
|
-
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (
|
|
2406
|
+
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (a(), s("text", {
|
|
2407
2407
|
key: 0,
|
|
2408
2408
|
x: n.x - l.fontSizes.plotLabels,
|
|
2409
2409
|
y: n.y,
|
|
@@ -2420,7 +2420,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2420
2420
|
}),
|
|
2421
2421
|
style: _(`opacity:${l.selectedScale ? l.selectedScale === t.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2422
2422
|
}, null, 12, lr)) : h("", !0),
|
|
2423
|
-
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (
|
|
2423
|
+
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (a(), s("text", {
|
|
2424
2424
|
key: 1,
|
|
2425
2425
|
x: n.x + l.fontSizes.plotLabels,
|
|
2426
2426
|
y: n.y,
|
|
@@ -2439,9 +2439,9 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2439
2439
|
}, null, 12, rr)) : h("", !0)
|
|
2440
2440
|
], 64))), 128))
|
|
2441
2441
|
], 64))), 128)),
|
|
2442
|
-
l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (
|
|
2442
|
+
l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (a(), s(u, { key: 11 }, [
|
|
2443
2443
|
I("defs", null, [
|
|
2444
|
-
(
|
|
2444
|
+
(a(!0), s(u, null, x(e.allScales, (t, c) => (a(), s("linearGradient", {
|
|
2445
2445
|
id: `individual_scale_gradient_${l.uniqueId}_${c}`,
|
|
2446
2446
|
x1: "0%",
|
|
2447
2447
|
x2: "100%",
|
|
@@ -2452,15 +2452,15 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2452
2452
|
offset: "0%",
|
|
2453
2453
|
"stop-color": e.FINAL_CONFIG.chart.backgroundColor,
|
|
2454
2454
|
"stop-opacity": "0"
|
|
2455
|
-
}, null, 8,
|
|
2455
|
+
}, null, 8, ar),
|
|
2456
2456
|
I("stop", {
|
|
2457
2457
|
offset: "100%",
|
|
2458
2458
|
"stop-color": t.color,
|
|
2459
2459
|
"stop-opacity": "0.2"
|
|
2460
2460
|
}, null, 8, sr)
|
|
2461
|
-
], 8,
|
|
2461
|
+
], 8, ir))), 256))
|
|
2462
2462
|
]),
|
|
2463
|
-
(
|
|
2463
|
+
(a(!0), s(u, null, x(e.allScales, (t, c) => (a(), s("rect", {
|
|
2464
2464
|
x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
|
|
2465
2465
|
y: e.drawingArea.top,
|
|
2466
2466
|
width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
@@ -2471,7 +2471,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2471
2471
|
}, null, 40, nr))), 256))
|
|
2472
2472
|
], 64)) : h("", !0),
|
|
2473
2473
|
I("g", null, [
|
|
2474
|
-
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (
|
|
2474
|
+
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (a(), s("text", {
|
|
2475
2475
|
key: 0,
|
|
2476
2476
|
"font-size": l.fontSizes.yAxis,
|
|
2477
2477
|
fill: e.FINAL_CONFIG.chart.grid.labels.color,
|
|
@@ -2479,7 +2479,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2479
2479
|
"text-anchor": "middle",
|
|
2480
2480
|
style: { transition: "none" }
|
|
2481
2481
|
}, V(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, cr)) : h("", !0),
|
|
2482
|
-
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (
|
|
2482
|
+
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), s("text", {
|
|
2483
2483
|
key: 1,
|
|
2484
2484
|
"text-anchor": "middle",
|
|
2485
2485
|
x: l.width / 2,
|
|
@@ -2488,8 +2488,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2488
2488
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
2489
2489
|
}, V(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, or)) : h("", !0)
|
|
2490
2490
|
]),
|
|
2491
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (
|
|
2492
|
-
r.$slots["time-label"] ? (
|
|
2491
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", hr, [
|
|
2492
|
+
r.$slots["time-label"] ? (a(!0), s(u, { key: 0 }, x(e.timeLabels, (t, c) => G(r.$slots, "time-label", se({
|
|
2493
2493
|
key: `time_label_${c}`,
|
|
2494
2494
|
ref_for: !0
|
|
2495
2495
|
}, {
|
|
@@ -2502,12 +2502,12 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2502
2502
|
content: t.text,
|
|
2503
2503
|
textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2504
2504
|
show: t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
|
|
2505
|
-
}), void 0, !0)), 128)) : (
|
|
2505
|
+
}), void 0, !0)), 128)) : (a(!0), s(u, { key: 1 }, x(e.timeLabels, (t, c) => (a(), s("g", {
|
|
2506
2506
|
key: `time_label_${c}`
|
|
2507
2507
|
}, [
|
|
2508
|
-
t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (
|
|
2508
|
+
t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s(u, { key: 0 }, [
|
|
2509
2509
|
String(t.text).includes(`
|
|
2510
|
-
`) ? (
|
|
2510
|
+
`) ? (a(), s("text", {
|
|
2511
2511
|
key: 1,
|
|
2512
2512
|
"text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2513
2513
|
"font-size": l.fontSizes.xAxis,
|
|
@@ -2524,7 +2524,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2524
2524
|
y: 0
|
|
2525
2525
|
}),
|
|
2526
2526
|
onClick: () => e.selectTimeLabel(t, c)
|
|
2527
|
-
}, null, 12, dr)) : (
|
|
2527
|
+
}, null, 12, dr)) : (a(), s("text", {
|
|
2528
2528
|
key: 0,
|
|
2529
2529
|
"text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2530
2530
|
"font-size": l.fontSizes.xAxis,
|
|
@@ -2538,11 +2538,11 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2538
2538
|
], 64)) : h("", !0)
|
|
2539
2539
|
]))), 128))
|
|
2540
2540
|
])) : h("", !0),
|
|
2541
|
-
e.annotationsY.length && !l.mutableConfig.isStacked ? (
|
|
2542
|
-
(
|
|
2541
|
+
e.annotationsY.length && !l.mutableConfig.isStacked ? (a(), s("g", gr, [
|
|
2542
|
+
(a(!0), s(u, null, x(e.annotationsY, (t) => (a(), s("g", {
|
|
2543
2543
|
key: t.uid
|
|
2544
2544
|
}, [
|
|
2545
|
-
t.yTop && t.show ? (
|
|
2545
|
+
t.yTop && t.show && isFinite(t.yTop) ? (a(), s("line", {
|
|
2546
2546
|
key: 0,
|
|
2547
2547
|
x1: t.x1,
|
|
2548
2548
|
y1: t.yTop,
|
|
@@ -2554,7 +2554,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2554
2554
|
"stroke-linecap": "round",
|
|
2555
2555
|
style: { animation: "none !important" }
|
|
2556
2556
|
}, null, 8, fr)) : h("", !0),
|
|
2557
|
-
t.yBottom && t.show ? (
|
|
2557
|
+
t.yBottom && t.show && isFinite(t.yBottom) ? (a(), s("line", {
|
|
2558
2558
|
key: 1,
|
|
2559
2559
|
x1: t.x1,
|
|
2560
2560
|
y1: t.yBottom,
|
|
@@ -2566,7 +2566,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2566
2566
|
"stroke-linecap": "round",
|
|
2567
2567
|
style: { animation: "none !important" }
|
|
2568
2568
|
}, null, 8, Ir)) : h("", !0),
|
|
2569
|
-
t.hasArea && t.show ? (
|
|
2569
|
+
t.hasArea && t.show && isFinite(t.yTop) && isFinite(t.yBottom) ? (a(), s("rect", {
|
|
2570
2570
|
key: 2,
|
|
2571
2571
|
y: Math.min(t.yTop, t.yBottom),
|
|
2572
2572
|
x: t.x1,
|
|
@@ -2575,11 +2575,11 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2575
2575
|
fill: e.setOpacity(t.config.area.fill, t.config.area.opacity),
|
|
2576
2576
|
style: { animation: "none !important" }
|
|
2577
2577
|
}, null, 8, xr)) : h("", !0),
|
|
2578
|
-
t.config.label.text && t.show ? (
|
|
2578
|
+
t.config.label.text && t.show && isFinite(t._box.y) ? (a(), s("rect", se({
|
|
2579
2579
|
key: 3,
|
|
2580
2580
|
class: "vue-ui-xy-annotation-label-box"
|
|
2581
2581
|
}, { ref_for: !0 }, t._box, { style: { animation: "none !important", transition: "none !important" } }), null, 16)) : h("", !0),
|
|
2582
|
-
t.config.label.text && t.show ? (
|
|
2582
|
+
t.config.label.text && t.show && isFinite(t._text.y) ? (a(), s("text", {
|
|
2583
2583
|
key: 4,
|
|
2584
2584
|
id: t.id,
|
|
2585
2585
|
class: "vue-ui-xy-annotation-label",
|
|
@@ -2592,7 +2592,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2592
2592
|
]))), 128))
|
|
2593
2593
|
])) : h("", !0),
|
|
2594
2594
|
I("g", null, [
|
|
2595
|
-
(
|
|
2595
|
+
(a(!0), s(u, null, x(e.maxSeries, (t, c) => (a(), s("rect", {
|
|
2596
2596
|
key: `tooltip_trap_${c}`,
|
|
2597
2597
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
|
|
2598
2598
|
y: e.drawingArea.top,
|
|
@@ -2604,8 +2604,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2604
2604
|
onClick: (n) => e.selectX(c)
|
|
2605
2605
|
}, null, 40, mr))), 128))
|
|
2606
2606
|
]),
|
|
2607
|
-
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (
|
|
2608
|
-
(
|
|
2607
|
+
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (a(), s("g", br, [
|
|
2608
|
+
(a(), s("foreignObject", {
|
|
2609
2609
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2610
2610
|
y: e.drawingArea.bottom,
|
|
2611
2611
|
width: "200",
|
|
@@ -2627,16 +2627,16 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2627
2627
|
])) : h("", !0),
|
|
2628
2628
|
G(r.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2629
2629
|
], 14, dt)) : h("", !0),
|
|
2630
|
-
r.$slots.watermark ? (
|
|
2630
|
+
r.$slots.watermark ? (a(), s("div", yr, [
|
|
2631
2631
|
G(r.$slots, "watermark", $(ee({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
|
|
2632
2632
|
])) : h("", !0),
|
|
2633
|
-
(
|
|
2633
|
+
(a(!0), s(u, null, x(e.lineSet, (t, c) => (a(), s(u, {
|
|
2634
2634
|
key: `tag_line_${c}`
|
|
2635
2635
|
}, [
|
|
2636
|
-
(
|
|
2636
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2637
2637
|
key: `tag_line_${c}_${g}`
|
|
2638
2638
|
}, [
|
|
2639
|
-
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (
|
|
2639
|
+
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (a(), s("div", {
|
|
2640
2640
|
key: 0,
|
|
2641
2641
|
ref_for: !0,
|
|
2642
2642
|
ref: (p) => e.setTagRef(c, g, p, "right", "line"),
|
|
@@ -2667,7 +2667,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2667
2667
|
opacity: 1
|
|
2668
2668
|
})
|
|
2669
2669
|
}, [
|
|
2670
|
-
(
|
|
2670
|
+
(a(), s("svg", Ar, [
|
|
2671
2671
|
I("path", {
|
|
2672
2672
|
d: "M 0,10 10,0 10,20 Z",
|
|
2673
2673
|
fill: t.color,
|
|
@@ -2688,7 +2688,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2688
2688
|
)
|
|
2689
2689
|
}, null, 8, Cr)
|
|
2690
2690
|
], 4)) : h("", !0),
|
|
2691
|
-
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (
|
|
2691
|
+
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (a(), s("div", {
|
|
2692
2692
|
key: 1,
|
|
2693
2693
|
ref_for: !0,
|
|
2694
2694
|
ref: (p) => e.setTagRef(c, g, p, "left", "line"),
|
|
@@ -2719,7 +2719,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2719
2719
|
opacity: 1
|
|
2720
2720
|
})
|
|
2721
2721
|
}, [
|
|
2722
|
-
(
|
|
2722
|
+
(a(), s("svg", Sr, [
|
|
2723
2723
|
I("path", {
|
|
2724
2724
|
d: "M 0,0 10,10 0,20 Z",
|
|
2725
2725
|
fill: t.color,
|
|
@@ -2742,13 +2742,13 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2742
2742
|
], 4)) : h("", !0)
|
|
2743
2743
|
], 64))), 128))
|
|
2744
2744
|
], 64))), 128)),
|
|
2745
|
-
(
|
|
2745
|
+
(a(!0), s(u, null, x(e.plotSet, (t, c) => (a(), s(u, {
|
|
2746
2746
|
key: `tag_plot_${c}`
|
|
2747
2747
|
}, [
|
|
2748
|
-
(
|
|
2748
|
+
(a(!0), s(u, null, x(t.plots, (n, g) => (a(), s(u, {
|
|
2749
2749
|
key: `tag_plot_${c}_${g}`
|
|
2750
2750
|
}, [
|
|
2751
|
-
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (
|
|
2751
|
+
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (a(), s("div", {
|
|
2752
2752
|
key: 0,
|
|
2753
2753
|
ref_for: !0,
|
|
2754
2754
|
ref: (p) => e.setTagRef(c, g, p, "right", "plot"),
|
|
@@ -2779,7 +2779,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2779
2779
|
opacity: 1
|
|
2780
2780
|
})
|
|
2781
2781
|
}, [
|
|
2782
|
-
(
|
|
2782
|
+
(a(), s("svg", Or, [
|
|
2783
2783
|
I("path", {
|
|
2784
2784
|
d: "M 0,10 10,0 10,20 Z",
|
|
2785
2785
|
fill: t.color,
|
|
@@ -2800,7 +2800,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2800
2800
|
)
|
|
2801
2801
|
}, null, 8, vr)
|
|
2802
2802
|
], 4)) : h("", !0),
|
|
2803
|
-
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (
|
|
2803
|
+
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(g) && t.useTag && t.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (a(), s("div", {
|
|
2804
2804
|
key: 1,
|
|
2805
2805
|
ref_for: !0,
|
|
2806
2806
|
ref: (p) => e.setTagRef(c, g, p, "left", "plot"),
|
|
@@ -2831,7 +2831,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2831
2831
|
opacity: 1
|
|
2832
2832
|
})
|
|
2833
2833
|
}, [
|
|
2834
|
-
(
|
|
2834
|
+
(a(), s("svg", pr, [
|
|
2835
2835
|
I("path", {
|
|
2836
2836
|
d: "M 0,0 10,10 0,20 Z",
|
|
2837
2837
|
fill: t.color,
|
|
@@ -2854,7 +2854,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2854
2854
|
], 4)) : h("", !0)
|
|
2855
2855
|
], 64))), 128))
|
|
2856
2856
|
], 64))), 128)),
|
|
2857
|
-
e.isDataset ? h("", !0) : (
|
|
2857
|
+
e.isDataset ? h("", !0) : (a(), U(F, {
|
|
2858
2858
|
key: 6,
|
|
2859
2859
|
config: {
|
|
2860
2860
|
type: "line",
|
|
@@ -2872,7 +2872,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2872
2872
|
}
|
|
2873
2873
|
}
|
|
2874
2874
|
}, null, 8, ["config"])),
|
|
2875
|
-
e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (
|
|
2875
|
+
e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (a(), U(v, {
|
|
2876
2876
|
ref: "chartSlicer",
|
|
2877
2877
|
key: `slicer_${l.slicerStep}`,
|
|
2878
2878
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2913,18 +2913,18 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2913
2913
|
]),
|
|
2914
2914
|
_: 3
|
|
2915
2915
|
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : h("", !0),
|
|
2916
|
-
e.FINAL_CONFIG.chart.legend.show ? (
|
|
2916
|
+
e.FINAL_CONFIG.chart.legend.show ? (a(), s("div", {
|
|
2917
2917
|
key: 8,
|
|
2918
2918
|
ref: "chartLegend",
|
|
2919
2919
|
class: "vue-ui-xy-legend",
|
|
2920
2920
|
style: _(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
2921
2921
|
}, [
|
|
2922
|
-
(
|
|
2922
|
+
(a(!0), s(u, null, x(e.absoluteDataset, (t, c) => (a(), s("div", {
|
|
2923
2923
|
key: `div_legend_item_${c}`,
|
|
2924
2924
|
onClick: (n) => e.segregate(t),
|
|
2925
2925
|
class: j({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(t.id) })
|
|
2926
2926
|
}, [
|
|
2927
|
-
l.icons[t.type] === "line" ? (
|
|
2927
|
+
l.icons[t.type] === "line" ? (a(), s("svg", Pr, [
|
|
2928
2928
|
I("rect", {
|
|
2929
2929
|
x: "0",
|
|
2930
2930
|
y: "7.5",
|
|
@@ -2943,8 +2943,8 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2943
2943
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2944
2944
|
strokeWidth: 0.5
|
|
2945
2945
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2946
|
-
])) : l.icons[t.type] === "bar" ? (
|
|
2947
|
-
l.icons[t.type] === "bar" && r.$slots.pattern ? (
|
|
2946
|
+
])) : l.icons[t.type] === "bar" ? (a(), s("svg", Rr, [
|
|
2947
|
+
l.icons[t.type] === "bar" && r.$slots.pattern ? (a(), s("rect", {
|
|
2948
2948
|
key: 0,
|
|
2949
2949
|
x: "0",
|
|
2950
2950
|
y: "0",
|
|
@@ -2954,7 +2954,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2954
2954
|
stroke: "none",
|
|
2955
2955
|
fill: t.color
|
|
2956
2956
|
}, null, 8, Hr)) : h("", !0),
|
|
2957
|
-
l.icons[t.type] === "bar" ? (
|
|
2957
|
+
l.icons[t.type] === "bar" ? (a(), s("rect", {
|
|
2958
2958
|
key: 1,
|
|
2959
2959
|
x: "0",
|
|
2960
2960
|
y: "0",
|
|
@@ -2964,7 +2964,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2964
2964
|
stroke: "none",
|
|
2965
2965
|
fill: r.$slots.pattern ? `url(#pattern_${l.uniqueId}_${t.slotAbsoluteIndex})` : t.color
|
|
2966
2966
|
}, null, 8, Dr)) : h("", !0)
|
|
2967
|
-
])) : (
|
|
2967
|
+
])) : (a(), s("svg", Br, [
|
|
2968
2968
|
le(N, {
|
|
2969
2969
|
plot: { x: 6, y: 6 },
|
|
2970
2970
|
radius: 5,
|
|
@@ -2976,10 +2976,10 @@ function Xr(r, o, d, f, l, e) {
|
|
|
2976
2976
|
style: _(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2977
2977
|
}, V(t.name), 5)
|
|
2978
2978
|
], 10, Tr))), 128))
|
|
2979
|
-
], 4)) : (
|
|
2979
|
+
], 4)) : (a(), s("div", Wr, [
|
|
2980
2980
|
G(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2981
2981
|
], 512)),
|
|
2982
|
-
r.$slots.source ? (
|
|
2982
|
+
r.$slots.source ? (a(), s("div", Er, [
|
|
2983
2983
|
G(r.$slots, "source", {}, void 0, !0)
|
|
2984
2984
|
], 512)) : h("", !0),
|
|
2985
2985
|
le(m, {
|
|
@@ -3006,7 +3006,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
3006
3006
|
]),
|
|
3007
3007
|
_: 3
|
|
3008
3008
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
3009
|
-
e.isDataset ? (
|
|
3009
|
+
e.isDataset ? (a(), U(H, {
|
|
3010
3010
|
key: 11,
|
|
3011
3011
|
hideDetails: "",
|
|
3012
3012
|
config: {
|
|
@@ -3044,11 +3044,11 @@ function Xr(r, o, d, f, l, e) {
|
|
|
3044
3044
|
}, null, 8, ["stroke"])
|
|
3045
3045
|
])
|
|
3046
3046
|
]),
|
|
3047
|
-
l.showSparklineTable ? (
|
|
3047
|
+
l.showSparklineTable ? (a(), U(b, {
|
|
3048
3048
|
key: `sparkline_${l.segregateStep}`,
|
|
3049
3049
|
dataset: e.tableSparklineDataset,
|
|
3050
3050
|
config: e.tableSparklineConfig
|
|
3051
|
-
}, null, 8, ["dataset", "config"])) : (
|
|
3051
|
+
}, null, 8, ["dataset", "config"])) : (a(), U(M, {
|
|
3052
3052
|
key: `table_${l.tableStep}`,
|
|
3053
3053
|
colNames: e.dataTable.colNames,
|
|
3054
3054
|
head: e.dataTable.head,
|
|
@@ -3076,7 +3076,7 @@ function Xr(r, o, d, f, l, e) {
|
|
|
3076
3076
|
}, 8, ["config"])) : h("", !0)
|
|
3077
3077
|
], 46, ht);
|
|
3078
3078
|
}
|
|
3079
|
-
const
|
|
3079
|
+
const li = /* @__PURE__ */ nt(ot, [["render", Xr], ["__scopeId", "data-v-06fd2d47"]]);
|
|
3080
3080
|
export {
|
|
3081
|
-
|
|
3081
|
+
li as default
|
|
3082
3082
|
};
|