vue-data-ui 2.1.9 → 2.1.10

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.
@@ -12820,7 +12820,7 @@ function(e) {
12820
12820
  */
12821
12821
  function(e) {
12822
12822
  function t() {
12823
- return (Ct.canvg ? Promise.resolve(Ct.canvg) : import("./index.es-aeb25a88.js")).catch(function(l) {
12823
+ return (Ct.canvg ? Promise.resolve(Ct.canvg) : import("./index.es-ff88d729.js")).catch(function(l) {
12824
12824
  return Promise.reject(new Error("Could not load canvg: " + l));
12825
12825
  }).then(function(l) {
12826
12826
  return l.default ? l.default : l;
@@ -43175,7 +43175,7 @@ function Sf(e) {
43175
43175
  e.hasOwnProperty(l) && (t[l.toUpperCase()] = e[l]);
43176
43176
  return t;
43177
43177
  }
43178
- const u1 = (e) => (ja("data-v-eb784c24"), e = e(), Ga(), e), oK = ["id"], rK = ["xmlns", "viewBox"], nK = ["id"], sK = ["id"], iK = /* @__PURE__ */ u1(() => /* @__PURE__ */ y("feColorMatrix", {
43178
+ const u1 = (e) => (ja("data-v-e5cc2621"), e = e(), Ga(), e), oK = ["id"], rK = ["xmlns", "viewBox"], nK = ["id"], sK = ["id"], iK = /* @__PURE__ */ u1(() => /* @__PURE__ */ y("feColorMatrix", {
43179
43179
  type: "saturate",
43180
43180
  values: "0"
43181
43181
  }, null, -1)), AK = {
@@ -43610,529 +43610,521 @@ const u1 = (e) => (ja("data-v-eb784c24"), e = e(), Ga(), e), oK = ["id"], rK = [
43610
43610
  return t({
43611
43611
  generatePdf: ee,
43612
43612
  generateImage: me
43613
- }), (j, K) => (c(), h(we, null, [
43614
- x.value ? (c(), h("div", {
43615
- key: 0,
43616
- id: `${S.value}_${a.value}`,
43617
- ref_key: "quickChart",
43618
- ref: o,
43619
- class: "vue-ui-quick-chart",
43620
- style: z(`background:${i.value.backgroundColor};color:${i.value.color};font-family:${i.value.fontFamily}; position: relative`)
43613
+ }), (j, K) => x.value ? (c(), h("div", {
43614
+ key: 0,
43615
+ id: `${S.value}_${a.value}`,
43616
+ ref_key: "quickChart",
43617
+ ref: o,
43618
+ class: Pe({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Fe.value }),
43619
+ style: z(`background:${i.value.backgroundColor};color:${i.value.color};font-family:${i.value.fontFamily}; position: relative`)
43620
+ }, [
43621
+ i.value.showUserOptions ? (c(), Re(ol, {
43622
+ ref: "details",
43623
+ key: `user_option_${d.value}`,
43624
+ backgroundColor: i.value.backgroundColor,
43625
+ color: i.value.color,
43626
+ isPrinting: p.value,
43627
+ isImaging: w.value,
43628
+ title: i.value.title,
43629
+ uid: a.value,
43630
+ hasImg: "",
43631
+ hasFullscreen: "",
43632
+ hasXls: !1,
43633
+ isFullscreen: Fe.value,
43634
+ chartElement: o.value,
43635
+ onToggleFullscreen: Ae,
43636
+ onGeneratePdf: ee,
43637
+ onGenerateImage: me
43638
+ }, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "isFullscreen", "chartElement"])) : F("", !0),
43639
+ i.value.title ? (c(), h("div", {
43640
+ key: 1,
43641
+ class: "vue-ui-quick-chart-title",
43642
+ style: z(`background:${i.value.backgroundColor};color:${i.value.color};font-size:${i.value.titleFontSize}px;font-weight:${i.value.titleBold ? "bold" : "normal"};text-align:${i.value.titleTextAlign}`)
43643
+ }, D(i.value.title), 5)) : F("", !0),
43644
+ (c(), h("svg", {
43645
+ xmlns: ce(lt),
43646
+ viewBox: V.value,
43647
+ style: z(`max-width:100%;overflow:visible;background:${i.value.backgroundColor};color:${i.value.color}`)
43621
43648
  }, [
43622
- i.value.showUserOptions ? (c(), Re(ol, {
43623
- ref: "details",
43624
- key: `user_option_${d.value}`,
43625
- backgroundColor: i.value.backgroundColor,
43626
- color: i.value.color,
43627
- isPrinting: p.value,
43628
- isImaging: w.value,
43629
- title: i.value.title,
43630
- uid: a.value,
43631
- hasImg: "",
43632
- hasFullscreen: "",
43633
- hasXls: !1,
43634
- isFullscreen: Fe.value,
43635
- chartElement: o.value,
43636
- onToggleFullscreen: Ae,
43637
- onGeneratePdf: ee,
43638
- onGenerateImage: me
43639
- }, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "isFullscreen", "chartElement"])) : F("", !0),
43640
- i.value.title ? (c(), h("div", {
43641
- key: 1,
43642
- class: "vue-ui-quick-chart-title",
43643
- style: z(`background:${i.value.backgroundColor};color:${i.value.color};font-size:${i.value.titleFontSize}px;font-weight:${i.value.titleBold ? "bold" : "normal"};text-align:${i.value.titleTextAlign}`)
43644
- }, D(i.value.title), 5)) : F("", !0),
43645
- (c(), h("svg", {
43646
- xmlns: ce(lt),
43647
- viewBox: V.value,
43648
- style: z(`max-width:100%;overflow:visible;background:${i.value.backgroundColor};color:${i.value.color}`)
43649
- }, [
43650
- y("defs", null, [
43651
- y("filter", {
43652
- id: `blur_${a.value}`,
43653
- x: "-50%",
43654
- y: "-50%",
43655
- width: "200%",
43656
- height: "200%"
43657
- }, [
43658
- y("feGaussianBlur", {
43659
- in: "SourceGraphic",
43660
- stdDeviation: 2,
43661
- id: `blur_std_${a.value}`
43662
- }, null, 8, sK),
43663
- iK
43664
- ], 8, nK)
43649
+ y("defs", null, [
43650
+ y("filter", {
43651
+ id: `blur_${a.value}`,
43652
+ x: "-50%",
43653
+ y: "-50%",
43654
+ width: "200%",
43655
+ height: "200%"
43656
+ }, [
43657
+ y("feGaussianBlur", {
43658
+ in: "SourceGraphic",
43659
+ stdDeviation: 2,
43660
+ id: `blur_std_${a.value}`
43661
+ }, null, 8, sK),
43662
+ iK
43663
+ ], 8, nK)
43664
+ ]),
43665
+ S.value === la.DONUT ? (c(), h(we, { key: 0 }, [
43666
+ i.value.showDataLabels ? (c(), h("g", AK, [
43667
+ (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h(we, null, [
43668
+ Z.value.isArcBigEnough(E) ? (c(), h("path", {
43669
+ key: 0,
43670
+ class: "quick-animation",
43671
+ d: ce(Jr)(E, { x: (i.value.width || C.value.donut.width) / 2, y: (i.value.height || C.value.donut.height) / 2 }, 16, 16, !1, !1, i.value.donutLabelMarkerStrokeWidth),
43672
+ stroke: E.color,
43673
+ "stroke-width": i.value.donutLabelMarkerStrokeWidth,
43674
+ "stroke-linecap": "round",
43675
+ "stroke-linejoin": "round",
43676
+ fill: "none",
43677
+ filter: oe(E.id)
43678
+ }, null, 8, uK)) : F("", !0)
43679
+ ], 64))), 256))
43680
+ ])) : F("", !0),
43681
+ y("circle", {
43682
+ class: "donut-hollow",
43683
+ cx: (i.value.width || C.value.donut.width) / 2,
43684
+ cy: (i.value.height || C.value.donut.height) / 2,
43685
+ r: (i.value.height || C.value.donut.height) * i.value.donutRadiusRatio,
43686
+ fill: i.value.backgroundColor
43687
+ }, null, 8, cK),
43688
+ y("g", dK, [
43689
+ (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h("path", {
43690
+ class: "quick-animation",
43691
+ d: E.arcSlice,
43692
+ fill: E.color,
43693
+ stroke: i.value.backgroundColor,
43694
+ "stroke-width": i.value.donutStrokeWidth,
43695
+ filter: oe(E.id)
43696
+ }, null, 8, hK))), 256)),
43697
+ (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h("path", {
43698
+ class: "quick-animation",
43699
+ d: E.arcSlice,
43700
+ fill: "transparent",
43701
+ onMouseenter: (B) => Z.value.useTooltip({ datapoint: E, seriesIndex: J }),
43702
+ onMouseout: K[0] || (K[0] = (B) => Z.value.killTooltip()),
43703
+ onClick: (B) => l("selectDatapoint", E)
43704
+ }, null, 40, fK))), 256))
43665
43705
  ]),
43666
- S.value === la.DONUT ? (c(), h(we, { key: 0 }, [
43667
- i.value.showDataLabels ? (c(), h("g", AK, [
43668
- (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h(we, null, [
43669
- Z.value.isArcBigEnough(E) ? (c(), h("path", {
43670
- key: 0,
43671
- class: "quick-animation",
43672
- d: ce(Jr)(E, { x: (i.value.width || C.value.donut.width) / 2, y: (i.value.height || C.value.donut.height) / 2 }, 16, 16, !1, !1, i.value.donutLabelMarkerStrokeWidth),
43673
- stroke: E.color,
43674
- "stroke-width": i.value.donutLabelMarkerStrokeWidth,
43675
- "stroke-linecap": "round",
43676
- "stroke-linejoin": "round",
43677
- fill: "none",
43678
- filter: oe(E.id)
43679
- }, null, 8, uK)) : F("", !0)
43680
- ], 64))), 256))
43681
- ])) : F("", !0),
43682
- y("circle", {
43683
- class: "donut-hollow",
43684
- cx: (i.value.width || C.value.donut.width) / 2,
43685
- cy: (i.value.height || C.value.donut.height) / 2,
43686
- r: (i.value.height || C.value.donut.height) * i.value.donutRadiusRatio,
43687
- fill: i.value.backgroundColor
43688
- }, null, 8, cK),
43689
- y("g", dK, [
43690
- (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h("path", {
43706
+ i.value.showDataLabels ? (c(), h("g", vK, [
43707
+ (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h(we, null, [
43708
+ Z.value.isArcBigEnough(E) ? (c(), h("circle", {
43709
+ key: 0,
43691
43710
  class: "quick-animation",
43692
- d: E.arcSlice,
43711
+ cx: ce(kt)(E).x,
43712
+ cy: ce(dl)(E) - 3.7,
43693
43713
  fill: E.color,
43694
- stroke: i.value.backgroundColor,
43695
- "stroke-width": i.value.donutStrokeWidth,
43714
+ r: 3,
43696
43715
  filter: oe(E.id)
43697
- }, null, 8, hK))), 256)),
43698
- (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h("path", {
43699
- class: "quick-animation",
43700
- d: E.arcSlice,
43701
- fill: "transparent",
43702
- onMouseenter: (B) => Z.value.useTooltip({ datapoint: E, seriesIndex: J }),
43703
- onMouseout: K[0] || (K[0] = (B) => Z.value.killTooltip()),
43704
- onClick: (B) => l("selectDatapoint", E)
43705
- }, null, 40, fK))), 256))
43706
- ]),
43707
- i.value.showDataLabels ? (c(), h("g", vK, [
43708
- (c(!0), h(we, null, _e(Z.value.chart, (E, J) => (c(), h(we, null, [
43709
- Z.value.isArcBigEnough(E) ? (c(), h("circle", {
43710
- key: 0,
43711
- class: "quick-animation",
43712
- cx: ce(kt)(E).x,
43713
- cy: ce(dl)(E) - 3.7,
43714
- fill: E.color,
43715
- r: 3,
43716
- filter: oe(E.id)
43717
- }, null, 8, gK)) : F("", !0),
43718
- Z.value.isArcBigEnough(E) ? (c(), h("text", {
43719
- key: 1,
43720
- "text-anchor": ce(kt)(E, !0, 20).anchor,
43721
- x: ce(kt)(E, !0).x,
43722
- y: ce(dl)(E),
43723
- fill: i.value.color,
43724
- "font-size": i.value.dataLabelFontSize,
43725
- filter: oe(E.id)
43726
- }, D(Z.value.displayArcPercentage(E, Z.value.chart)) + " (" + D(ce(ht)({
43727
- p: i.value.valuePrefix,
43728
- v: E.value,
43729
- s: i.value.valueSuffix,
43730
- r: i.value.dataLabelRoundingValue
43731
- })) + ") ", 9, yK)) : F("", !0),
43732
- Z.value.isArcBigEnough(E, !0, 20) ? (c(), h("text", {
43733
- key: 2,
43734
- "text-anchor": ce(kt)(E).anchor,
43735
- x: ce(kt)(E, !0).x,
43736
- y: ce(dl)(E) + i.value.dataLabelFontSize,
43737
- fill: i.value.color,
43738
- "font-size": i.value.dataLabelFontSize,
43739
- filter: oe(E.id)
43740
- }, D(E.name), 9, pK)) : F("", !0)
43741
- ], 64))), 256))
43742
- ])) : F("", !0),
43743
- i.value.donutShowTotal ? (c(), h("g", bK, [
43744
- y("text", {
43745
- "text-anchor": "middle",
43746
- x: Z.value.drawingArea.centerX,
43747
- y: Z.value.drawingArea.centerY - i.value.donutTotalLabelFontSize / 2,
43748
- "font-size": i.value.donutTotalLabelFontSize,
43749
- fill: i.value.color
43750
- }, D(i.value.donutTotalLabelText), 9, wK),
43751
- y("text", {
43752
- "text-anchor": "middle",
43753
- x: Z.value.drawingArea.centerX,
43754
- y: Z.value.drawingArea.centerY + i.value.donutTotalLabelFontSize,
43755
- "font-size": i.value.donutTotalLabelFontSize,
43756
- fill: i.value.color
43757
- }, D(ce(ht)({
43716
+ }, null, 8, gK)) : F("", !0),
43717
+ Z.value.isArcBigEnough(E) ? (c(), h("text", {
43718
+ key: 1,
43719
+ "text-anchor": ce(kt)(E, !0, 20).anchor,
43720
+ x: ce(kt)(E, !0).x,
43721
+ y: ce(dl)(E),
43722
+ fill: i.value.color,
43723
+ "font-size": i.value.dataLabelFontSize,
43724
+ filter: oe(E.id)
43725
+ }, D(Z.value.displayArcPercentage(E, Z.value.chart)) + " (" + D(ce(ht)({
43758
43726
  p: i.value.valuePrefix,
43759
- v: Z.value.total,
43727
+ v: E.value,
43760
43728
  s: i.value.valueSuffix,
43761
43729
  r: i.value.dataLabelRoundingValue
43762
- })), 9, mK)
43763
- ])) : F("", !0)
43764
- ], 64)) : F("", !0),
43765
- S.value === la.LINE ? (c(), h(we, { key: 1 }, [
43766
- i.value.xyShowGrid ? (c(), h("g", xK, [
43767
- (c(!0), h(we, null, _e(de.value.yLabels, (E) => (c(), h(we, null, [
43768
- E.y <= de.value.drawingArea.bottom ? (c(), h("line", {
43769
- key: 0,
43770
- x1: de.value.drawingArea.left,
43771
- x2: de.value.drawingArea.right,
43772
- y1: E.y,
43773
- y2: E.y,
43774
- stroke: i.value.xyGridStroke,
43775
- "stroke-width": i.value.xyGridStrokeWidth,
43776
- "stroke-linecap": "round"
43777
- }, null, 8, CK)) : F("", !0)
43778
- ], 64))), 256)),
43779
- (c(!0), h(we, null, _e(de.value.extremes.maxSeries + 1, (E, J) => (c(), h("line", {
43780
- x1: de.value.drawingArea.left + de.value.slotSize * J,
43781
- x2: de.value.drawingArea.left + de.value.slotSize * J,
43782
- y1: de.value.drawingArea.top,
43783
- y2: de.value.drawingArea.bottom,
43784
- stroke: i.value.xyGridStroke,
43785
- "stroke-width": i.value.xyGridStrokeWidth,
43786
- "stroke-linecap": "round"
43787
- }, null, 8, kK))), 256))
43788
- ])) : F("", !0),
43789
- i.value.xyShowAxis ? (c(), h("g", BK, [
43790
- y("line", {
43791
- x1: de.value.drawingArea.left,
43792
- x2: de.value.drawingArea.left,
43793
- y1: de.value.drawingArea.top,
43794
- y2: de.value.drawingArea.bottom,
43795
- stroke: i.value.xyAxisStroke,
43796
- "stroke-width": i.value.xyAxisStrokeWidth,
43797
- "stroke-linecap": "round"
43798
- }, null, 8, _K),
43799
- y("line", {
43730
+ })) + ") ", 9, yK)) : F("", !0),
43731
+ Z.value.isArcBigEnough(E, !0, 20) ? (c(), h("text", {
43732
+ key: 2,
43733
+ "text-anchor": ce(kt)(E).anchor,
43734
+ x: ce(kt)(E, !0).x,
43735
+ y: ce(dl)(E) + i.value.dataLabelFontSize,
43736
+ fill: i.value.color,
43737
+ "font-size": i.value.dataLabelFontSize,
43738
+ filter: oe(E.id)
43739
+ }, D(E.name), 9, pK)) : F("", !0)
43740
+ ], 64))), 256))
43741
+ ])) : F("", !0),
43742
+ i.value.donutShowTotal ? (c(), h("g", bK, [
43743
+ y("text", {
43744
+ "text-anchor": "middle",
43745
+ x: Z.value.drawingArea.centerX,
43746
+ y: Z.value.drawingArea.centerY - i.value.donutTotalLabelFontSize / 2,
43747
+ "font-size": i.value.donutTotalLabelFontSize,
43748
+ fill: i.value.color
43749
+ }, D(i.value.donutTotalLabelText), 9, wK),
43750
+ y("text", {
43751
+ "text-anchor": "middle",
43752
+ x: Z.value.drawingArea.centerX,
43753
+ y: Z.value.drawingArea.centerY + i.value.donutTotalLabelFontSize,
43754
+ "font-size": i.value.donutTotalLabelFontSize,
43755
+ fill: i.value.color
43756
+ }, D(ce(ht)({
43757
+ p: i.value.valuePrefix,
43758
+ v: Z.value.total,
43759
+ s: i.value.valueSuffix,
43760
+ r: i.value.dataLabelRoundingValue
43761
+ })), 9, mK)
43762
+ ])) : F("", !0)
43763
+ ], 64)) : F("", !0),
43764
+ S.value === la.LINE ? (c(), h(we, { key: 1 }, [
43765
+ i.value.xyShowGrid ? (c(), h("g", xK, [
43766
+ (c(!0), h(we, null, _e(de.value.yLabels, (E) => (c(), h(we, null, [
43767
+ E.y <= de.value.drawingArea.bottom ? (c(), h("line", {
43768
+ key: 0,
43800
43769
  x1: de.value.drawingArea.left,
43801
43770
  x2: de.value.drawingArea.right,
43802
- y1: de.value.absoluteZero,
43803
- y2: de.value.absoluteZero,
43804
- stroke: i.value.xyAxisStroke,
43805
- "stroke-width": i.value.xyAxisStrokeWidth,
43806
- "stroke-linecap": "round"
43807
- }, null, 8, FK)
43808
- ])) : F("", !0),
43809
- i.value.xyShowScale ? (c(), h("g", SK, [
43810
- (c(!0), h(we, null, _e(de.value.yLabels, (E) => (c(), h(we, null, [
43811
- E.y <= de.value.drawingArea.bottom ? (c(), h("line", {
43812
- key: 0,
43813
- x1: E.x + 4,
43814
- x2: de.value.drawingArea.left,
43815
- y1: E.y,
43816
- y2: E.y,
43817
- stroke: i.value.xyAxisStroke,
43818
- "stroke-width": i.value.xyAxisStrokeWidth,
43819
- "stroke-linecap": "round"
43820
- }, null, 8, LK)) : F("", !0),
43821
- E.y <= de.value.drawingArea.bottom ? (c(), h("text", {
43822
- key: 1,
43823
- x: E.x,
43824
- y: E.y + i.value.xyLabelsYFontSize / 3,
43825
- "text-anchor": "end",
43826
- "font-size": i.value.xyLabelsYFontSize,
43827
- fill: i.value.color
43828
- }, D(E.value), 9, $K)) : F("", !0)
43829
- ], 64))), 256))
43830
- ])) : F("", !0),
43831
- i.value.xyShowScale && i.value.xyPeriods.length ? (c(), h("g", UK, [
43832
- (c(!0), h(we, null, _e(de.value.extremes.maxSeries, (E, J) => (c(), h("line", {
43833
- x1: de.value.drawingArea.left + de.value.slotSize * (J + 1) - de.value.slotSize / 2,
43834
- x2: de.value.drawingArea.left + de.value.slotSize * (J + 1) - de.value.slotSize / 2,
43835
- y1: de.value.drawingArea.bottom,
43836
- y2: de.value.drawingArea.bottom + 4,
43837
- stroke: i.value.xyAxisStroke,
43838
- "stroke-width": i.value.xyAxisStrokeWidth,
43839
- "stroke-linecap": "round"
43840
- }, null, 8, QK))), 256)),
43841
- (c(!0), h(we, null, _e(de.value.extremes.maxSeries, (E, J) => (c(), h("text", {
43842
- "font-size": i.value.xyLabelsXFontSize,
43843
- "text-anchor": i.value.xyPeriodLabelsRotation ? "end" : "middle",
43844
- fill: i.value.color,
43845
- transform: `translate(${de.value.drawingArea.left + de.value.slotSize * (J + 1) - de.value.slotSize / 2}, ${de.value.drawingArea.bottom + i.value.xyLabelsXFontSize + 6}), rotate(${i.value.xyPeriodLabelsRotation})`
43846
- }, D(i.value.xyPeriods[J]), 9, MK))), 256))
43847
- ])) : F("", !0),
43848
- y("g", EK, [
43849
- (c(!0), h(we, null, _e(de.value.dataset, (E, J) => (c(), h("g", IK, [
43850
- i.value.lineSmooth ? (c(), h("path", {
43851
- key: 0,
43852
- d: `M ${ce(WA)(E.coordinates)}`,
43853
- stroke: E.color,
43854
- "stroke-width": i.value.lineStrokeWidth,
43855
- "stroke-linecap": "round",
43856
- fill: "none",
43857
- class: "quick-animation",
43858
- style: { transition: "all 0.3s ease-in-out" }
43859
- }, null, 8, NK)) : (c(), h("path", {
43860
- key: 1,
43861
- d: `M ${E.linePath}`,
43862
- stroke: E.color,
43863
- "stroke-width": i.value.lineStrokeWidth,
43864
- "stroke-linecap": "round",
43865
- fill: "none",
43866
- class: "quick-animation",
43867
- style: { transition: "all 0.3s ease-in-out" }
43868
- }, null, 8, TK)),
43869
- (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("circle", {
43870
- cx: B.x,
43871
- cy: B.y,
43872
- r: 3,
43873
- fill: E.color,
43874
- stroke: i.value.backgroundColor,
43875
- "stroke-width": "0.5",
43876
- class: "quick-animation",
43877
- style: { transition: "all 0.3s ease-in-out" }
43878
- }, null, 8, DK))), 256))
43879
- ]))), 256))
43880
- ]),
43881
- i.value.showDataLabels ? (c(), h("g", HK, [
43882
- (c(!0), h(we, null, _e(de.value.dataset, (E, J) => (c(), h(we, null, [
43883
- (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("text", {
43884
- "text-anchor": "middle",
43885
- "font-size": i.value.dataLabelFontSize,
43886
- fill: E.color,
43887
- x: B.x,
43888
- y: B.y - i.value.dataLabelFontSize / 2,
43889
- class: "quick-animation",
43890
- style: { transition: "all 0.3s ease-in-out" }
43891
- }, D(ce(ht)({
43892
- p: i.value.valuePrefix,
43893
- v: B.value,
43894
- s: i.value.valueSuffix,
43895
- r: i.value.dataLabelRoundingValue
43896
- })), 9, PK))), 256))
43897
- ], 64))), 256))
43898
- ])) : F("", !0),
43899
- y("g", zK, [
43900
- (c(!0), h(we, null, _e(de.value.extremes.maxSeries, (E, J) => (c(), h("rect", {
43901
- x: de.value.drawingArea.left + J * de.value.slotSize,
43902
- y: de.value.drawingArea.top,
43903
- height: de.value.drawingArea.height,
43904
- width: de.value.slotSize,
43905
- fill: v.value === J ? i.value.xyHighlighterColor : "transparent",
43906
- style: z(`opacity:${i.value.xyHighlighterOpacity}`),
43907
- onMouseenter: (B) => de.value.useTooltip(J),
43908
- onMouseleave: K[1] || (K[1] = (B) => de.value.killTooltip()),
43909
- onClick: (B) => l("selectDatapoint", de.value.dataset.map((M) => ({
43910
- ...M,
43911
- value: M.values[J]
43912
- })))
43913
- }, null, 44, OK))), 256))
43914
- ])
43915
- ], 64)) : F("", !0),
43916
- S.value === la.BAR ? (c(), h(we, { key: 2 }, [
43917
- i.value.xyShowGrid ? (c(), h("g", RK, [
43918
- (c(!0), h(we, null, _e(se.value.yLabels, (E) => (c(), h(we, null, [
43919
- E.y <= se.value.drawingArea.bottom ? (c(), h("line", {
43920
- key: 0,
43921
- x1: se.value.drawingArea.left,
43922
- x2: se.value.drawingArea.right,
43923
- y1: E.y,
43924
- y2: E.y,
43925
- stroke: i.value.xyGridStroke,
43926
- "stroke-width": i.value.xyGridStrokeWidth,
43927
- "stroke-linecap": "round"
43928
- }, null, 8, VK)) : F("", !0)
43929
- ], 64))), 256)),
43930
- (c(!0), h(we, null, _e(se.value.extremes.maxSeries + 1, (E, J) => (c(), h("line", {
43931
- x1: se.value.drawingArea.left + se.value.slotSize * J,
43932
- x2: se.value.drawingArea.left + se.value.slotSize * J,
43933
- y1: se.value.drawingArea.top,
43934
- y2: se.value.drawingArea.bottom,
43771
+ y1: E.y,
43772
+ y2: E.y,
43935
43773
  stroke: i.value.xyGridStroke,
43936
43774
  "stroke-width": i.value.xyGridStrokeWidth,
43937
43775
  "stroke-linecap": "round"
43938
- }, null, 8, KK))), 256))
43939
- ])) : F("", !0),
43940
- i.value.xyShowAxis ? (c(), h("g", WK, [
43941
- y("line", {
43942
- x1: se.value.drawingArea.left,
43943
- x2: se.value.drawingArea.left,
43944
- y1: se.value.drawingArea.top,
43945
- y2: se.value.drawingArea.bottom,
43776
+ }, null, 8, CK)) : F("", !0)
43777
+ ], 64))), 256)),
43778
+ (c(!0), h(we, null, _e(de.value.extremes.maxSeries + 1, (E, J) => (c(), h("line", {
43779
+ x1: de.value.drawingArea.left + de.value.slotSize * J,
43780
+ x2: de.value.drawingArea.left + de.value.slotSize * J,
43781
+ y1: de.value.drawingArea.top,
43782
+ y2: de.value.drawingArea.bottom,
43783
+ stroke: i.value.xyGridStroke,
43784
+ "stroke-width": i.value.xyGridStrokeWidth,
43785
+ "stroke-linecap": "round"
43786
+ }, null, 8, kK))), 256))
43787
+ ])) : F("", !0),
43788
+ i.value.xyShowAxis ? (c(), h("g", BK, [
43789
+ y("line", {
43790
+ x1: de.value.drawingArea.left,
43791
+ x2: de.value.drawingArea.left,
43792
+ y1: de.value.drawingArea.top,
43793
+ y2: de.value.drawingArea.bottom,
43794
+ stroke: i.value.xyAxisStroke,
43795
+ "stroke-width": i.value.xyAxisStrokeWidth,
43796
+ "stroke-linecap": "round"
43797
+ }, null, 8, _K),
43798
+ y("line", {
43799
+ x1: de.value.drawingArea.left,
43800
+ x2: de.value.drawingArea.right,
43801
+ y1: de.value.absoluteZero,
43802
+ y2: de.value.absoluteZero,
43803
+ stroke: i.value.xyAxisStroke,
43804
+ "stroke-width": i.value.xyAxisStrokeWidth,
43805
+ "stroke-linecap": "round"
43806
+ }, null, 8, FK)
43807
+ ])) : F("", !0),
43808
+ i.value.xyShowScale ? (c(), h("g", SK, [
43809
+ (c(!0), h(we, null, _e(de.value.yLabels, (E) => (c(), h(we, null, [
43810
+ E.y <= de.value.drawingArea.bottom ? (c(), h("line", {
43811
+ key: 0,
43812
+ x1: E.x + 4,
43813
+ x2: de.value.drawingArea.left,
43814
+ y1: E.y,
43815
+ y2: E.y,
43946
43816
  stroke: i.value.xyAxisStroke,
43947
43817
  "stroke-width": i.value.xyAxisStrokeWidth,
43948
43818
  "stroke-linecap": "round"
43949
- }, null, 8, jK),
43950
- y("line", {
43819
+ }, null, 8, LK)) : F("", !0),
43820
+ E.y <= de.value.drawingArea.bottom ? (c(), h("text", {
43821
+ key: 1,
43822
+ x: E.x,
43823
+ y: E.y + i.value.xyLabelsYFontSize / 3,
43824
+ "text-anchor": "end",
43825
+ "font-size": i.value.xyLabelsYFontSize,
43826
+ fill: i.value.color
43827
+ }, D(E.value), 9, $K)) : F("", !0)
43828
+ ], 64))), 256))
43829
+ ])) : F("", !0),
43830
+ i.value.xyShowScale && i.value.xyPeriods.length ? (c(), h("g", UK, [
43831
+ (c(!0), h(we, null, _e(de.value.extremes.maxSeries, (E, J) => (c(), h("line", {
43832
+ x1: de.value.drawingArea.left + de.value.slotSize * (J + 1) - de.value.slotSize / 2,
43833
+ x2: de.value.drawingArea.left + de.value.slotSize * (J + 1) - de.value.slotSize / 2,
43834
+ y1: de.value.drawingArea.bottom,
43835
+ y2: de.value.drawingArea.bottom + 4,
43836
+ stroke: i.value.xyAxisStroke,
43837
+ "stroke-width": i.value.xyAxisStrokeWidth,
43838
+ "stroke-linecap": "round"
43839
+ }, null, 8, QK))), 256)),
43840
+ (c(!0), h(we, null, _e(de.value.extremes.maxSeries, (E, J) => (c(), h("text", {
43841
+ "font-size": i.value.xyLabelsXFontSize,
43842
+ "text-anchor": i.value.xyPeriodLabelsRotation ? "end" : "middle",
43843
+ fill: i.value.color,
43844
+ transform: `translate(${de.value.drawingArea.left + de.value.slotSize * (J + 1) - de.value.slotSize / 2}, ${de.value.drawingArea.bottom + i.value.xyLabelsXFontSize + 6}), rotate(${i.value.xyPeriodLabelsRotation})`
43845
+ }, D(i.value.xyPeriods[J]), 9, MK))), 256))
43846
+ ])) : F("", !0),
43847
+ y("g", EK, [
43848
+ (c(!0), h(we, null, _e(de.value.dataset, (E, J) => (c(), h("g", IK, [
43849
+ i.value.lineSmooth ? (c(), h("path", {
43850
+ key: 0,
43851
+ d: `M ${ce(WA)(E.coordinates)}`,
43852
+ stroke: E.color,
43853
+ "stroke-width": i.value.lineStrokeWidth,
43854
+ "stroke-linecap": "round",
43855
+ fill: "none",
43856
+ class: "quick-animation",
43857
+ style: { transition: "all 0.3s ease-in-out" }
43858
+ }, null, 8, NK)) : (c(), h("path", {
43859
+ key: 1,
43860
+ d: `M ${E.linePath}`,
43861
+ stroke: E.color,
43862
+ "stroke-width": i.value.lineStrokeWidth,
43863
+ "stroke-linecap": "round",
43864
+ fill: "none",
43865
+ class: "quick-animation",
43866
+ style: { transition: "all 0.3s ease-in-out" }
43867
+ }, null, 8, TK)),
43868
+ (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("circle", {
43869
+ cx: B.x,
43870
+ cy: B.y,
43871
+ r: 3,
43872
+ fill: E.color,
43873
+ stroke: i.value.backgroundColor,
43874
+ "stroke-width": "0.5",
43875
+ class: "quick-animation",
43876
+ style: { transition: "all 0.3s ease-in-out" }
43877
+ }, null, 8, DK))), 256))
43878
+ ]))), 256))
43879
+ ]),
43880
+ i.value.showDataLabels ? (c(), h("g", HK, [
43881
+ (c(!0), h(we, null, _e(de.value.dataset, (E, J) => (c(), h(we, null, [
43882
+ (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("text", {
43883
+ "text-anchor": "middle",
43884
+ "font-size": i.value.dataLabelFontSize,
43885
+ fill: E.color,
43886
+ x: B.x,
43887
+ y: B.y - i.value.dataLabelFontSize / 2,
43888
+ class: "quick-animation",
43889
+ style: { transition: "all 0.3s ease-in-out" }
43890
+ }, D(ce(ht)({
43891
+ p: i.value.valuePrefix,
43892
+ v: B.value,
43893
+ s: i.value.valueSuffix,
43894
+ r: i.value.dataLabelRoundingValue
43895
+ })), 9, PK))), 256))
43896
+ ], 64))), 256))
43897
+ ])) : F("", !0),
43898
+ y("g", zK, [
43899
+ (c(!0), h(we, null, _e(de.value.extremes.maxSeries, (E, J) => (c(), h("rect", {
43900
+ x: de.value.drawingArea.left + J * de.value.slotSize,
43901
+ y: de.value.drawingArea.top,
43902
+ height: de.value.drawingArea.height,
43903
+ width: de.value.slotSize,
43904
+ fill: v.value === J ? i.value.xyHighlighterColor : "transparent",
43905
+ style: z(`opacity:${i.value.xyHighlighterOpacity}`),
43906
+ onMouseenter: (B) => de.value.useTooltip(J),
43907
+ onMouseleave: K[1] || (K[1] = (B) => de.value.killTooltip()),
43908
+ onClick: (B) => l("selectDatapoint", de.value.dataset.map((M) => ({
43909
+ ...M,
43910
+ value: M.values[J]
43911
+ })))
43912
+ }, null, 44, OK))), 256))
43913
+ ])
43914
+ ], 64)) : F("", !0),
43915
+ S.value === la.BAR ? (c(), h(we, { key: 2 }, [
43916
+ i.value.xyShowGrid ? (c(), h("g", RK, [
43917
+ (c(!0), h(we, null, _e(se.value.yLabels, (E) => (c(), h(we, null, [
43918
+ E.y <= se.value.drawingArea.bottom ? (c(), h("line", {
43919
+ key: 0,
43951
43920
  x1: se.value.drawingArea.left,
43952
43921
  x2: se.value.drawingArea.right,
43953
- y1: se.value.absoluteZero,
43954
- y2: se.value.absoluteZero,
43955
- stroke: i.value.xyAxisStroke,
43956
- "stroke-width": i.value.xyAxisStrokeWidth,
43922
+ y1: E.y,
43923
+ y2: E.y,
43924
+ stroke: i.value.xyGridStroke,
43925
+ "stroke-width": i.value.xyGridStrokeWidth,
43957
43926
  "stroke-linecap": "round"
43958
- }, null, 8, GK)
43959
- ])) : F("", !0),
43960
- i.value.xyShowScale ? (c(), h("g", XK, [
43961
- (c(!0), h(we, null, _e(se.value.yLabels, (E) => (c(), h(we, null, [
43962
- E.y <= se.value.drawingArea.bottom ? (c(), h("line", {
43963
- key: 0,
43964
- x1: E.x + 4,
43965
- x2: se.value.drawingArea.left,
43966
- y1: E.y,
43967
- y2: E.y,
43968
- stroke: i.value.xyAxisStroke,
43969
- "stroke-width": i.value.xyAxisStrokeWidth,
43970
- "stroke-linecap": "round"
43971
- }, null, 8, qK)) : F("", !0),
43972
- E.y <= se.value.drawingArea.bottom ? (c(), h("text", {
43973
- key: 1,
43974
- x: E.x,
43975
- y: E.y + i.value.xyLabelsYFontSize / 3,
43976
- "text-anchor": "end",
43977
- "font-size": i.value.xyLabelsYFontSize,
43978
- fill: i.value.color
43979
- }, D(E.value), 9, YK)) : F("", !0)
43980
- ], 64))), 256))
43981
- ])) : F("", !0),
43982
- i.value.xyShowScale && i.value.xyPeriods.length ? (c(), h("g", JK, [
43983
- (c(!0), h(we, null, _e(se.value.extremes.maxSeries, (E, J) => (c(), h("line", {
43984
- x1: se.value.drawingArea.left + se.value.slotSize * (J + 1) - se.value.slotSize / 2,
43985
- x2: se.value.drawingArea.left + se.value.slotSize * (J + 1) - se.value.slotSize / 2,
43986
- y1: se.value.drawingArea.bottom,
43987
- y2: se.value.drawingArea.bottom + 4,
43927
+ }, null, 8, VK)) : F("", !0)
43928
+ ], 64))), 256)),
43929
+ (c(!0), h(we, null, _e(se.value.extremes.maxSeries + 1, (E, J) => (c(), h("line", {
43930
+ x1: se.value.drawingArea.left + se.value.slotSize * J,
43931
+ x2: se.value.drawingArea.left + se.value.slotSize * J,
43932
+ y1: se.value.drawingArea.top,
43933
+ y2: se.value.drawingArea.bottom,
43934
+ stroke: i.value.xyGridStroke,
43935
+ "stroke-width": i.value.xyGridStrokeWidth,
43936
+ "stroke-linecap": "round"
43937
+ }, null, 8, KK))), 256))
43938
+ ])) : F("", !0),
43939
+ i.value.xyShowAxis ? (c(), h("g", WK, [
43940
+ y("line", {
43941
+ x1: se.value.drawingArea.left,
43942
+ x2: se.value.drawingArea.left,
43943
+ y1: se.value.drawingArea.top,
43944
+ y2: se.value.drawingArea.bottom,
43945
+ stroke: i.value.xyAxisStroke,
43946
+ "stroke-width": i.value.xyAxisStrokeWidth,
43947
+ "stroke-linecap": "round"
43948
+ }, null, 8, jK),
43949
+ y("line", {
43950
+ x1: se.value.drawingArea.left,
43951
+ x2: se.value.drawingArea.right,
43952
+ y1: se.value.absoluteZero,
43953
+ y2: se.value.absoluteZero,
43954
+ stroke: i.value.xyAxisStroke,
43955
+ "stroke-width": i.value.xyAxisStrokeWidth,
43956
+ "stroke-linecap": "round"
43957
+ }, null, 8, GK)
43958
+ ])) : F("", !0),
43959
+ i.value.xyShowScale ? (c(), h("g", XK, [
43960
+ (c(!0), h(we, null, _e(se.value.yLabels, (E) => (c(), h(we, null, [
43961
+ E.y <= se.value.drawingArea.bottom ? (c(), h("line", {
43962
+ key: 0,
43963
+ x1: E.x + 4,
43964
+ x2: se.value.drawingArea.left,
43965
+ y1: E.y,
43966
+ y2: E.y,
43988
43967
  stroke: i.value.xyAxisStroke,
43989
43968
  "stroke-width": i.value.xyAxisStrokeWidth,
43990
43969
  "stroke-linecap": "round"
43991
- }, null, 8, ZK))), 256)),
43992
- (c(!0), h(we, null, _e(se.value.extremes.maxSeries, (E, J) => (c(), h("text", {
43993
- "font-size": i.value.xyLabelsXFontSize,
43994
- "text-anchor": i.value.xyPeriodLabelsRotation ? "end" : "middle",
43995
- transform: `translate(${se.value.drawingArea.left + se.value.slotSize * (J + 1) - se.value.slotSize / 2}, ${se.value.drawingArea.bottom + i.value.xyLabelsXFontSize + 6}) rotate(${i.value.xyPeriodLabelsRotation})`,
43970
+ }, null, 8, qK)) : F("", !0),
43971
+ E.y <= se.value.drawingArea.bottom ? (c(), h("text", {
43972
+ key: 1,
43973
+ x: E.x,
43974
+ y: E.y + i.value.xyLabelsYFontSize / 3,
43975
+ "text-anchor": "end",
43976
+ "font-size": i.value.xyLabelsYFontSize,
43996
43977
  fill: i.value.color
43997
- }, D(i.value.xyPeriods[J]), 9, eW))), 256))
43998
- ])) : F("", !0),
43999
- y("g", tW, [
44000
- (c(!0), h(we, null, _e(se.value.dataset, (E, J) => (c(), h(we, null, [
44001
- (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("rect", {
44002
- x: B.x,
44003
- y: B.y,
44004
- width: B.width,
44005
- height: B.height,
44006
- fill: E.color,
44007
- stroke: i.value.backgroundColor,
44008
- "stroke-width": i.value.barStrokeWidth,
44009
- "stroke-linecap": "round",
44010
- class: "quick-animation",
44011
- style: { transition: "all 0.3s ease-in-out" }
44012
- }, null, 8, lW))), 256))
44013
- ], 64))), 256))
44014
- ]),
44015
- i.value.showDataLabels ? (c(), h("g", aW, [
44016
- (c(!0), h(we, null, _e(se.value.dataset, (E, J) => (c(), h(we, null, [
44017
- (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("text", {
44018
- x: B.x + B.width / 2,
44019
- y: B.y - i.value.dataLabelFontSize / 2,
44020
- "text-anchor": "middle",
44021
- "font-size": i.value.dataLabelFontSize,
44022
- fill: E.color,
44023
- class: "quick-animation"
44024
- }, D(ce(ht)({
44025
- p: i.value.valuePrefix,
44026
- v: B.value,
44027
- s: i.value.valueSuffix,
44028
- r: i.value.dataLabelRoundingValue
44029
- })), 9, oW))), 256))
44030
- ], 64))), 256))
44031
- ])) : F("", !0),
44032
- y("g", rW, [
44033
- (c(!0), h(we, null, _e(se.value.extremes.maxSeries, (E, J) => (c(), h("rect", {
44034
- x: se.value.drawingArea.left + J * se.value.slotSize,
44035
- y: se.value.drawingArea.top,
44036
- height: se.value.drawingArea.height,
44037
- width: se.value.slotSize,
44038
- fill: v.value === J ? i.value.xyHighlighterColor : "transparent",
44039
- style: z(`opacity:${i.value.xyHighlighterOpacity}`),
44040
- onMouseenter: (B) => se.value.useTooltip(J),
44041
- onMouseleave: K[2] || (K[2] = (B) => se.value.killTooltip()),
44042
- onClick: (B) => l("selectDatapoint", se.value.dataset.map((M) => ({
44043
- ...M,
44044
- value: M.values[J]
44045
- })))
44046
- }, null, 44, nW))), 256))
44047
- ])
44048
- ], 64)) : F("", !0)
44049
- ], 12, rK)),
44050
- i.value.showLegend ? (c(), h("div", {
44051
- key: 2,
44052
- class: "vue-ui-quick-chart-legend",
44053
- style: z(`background:${i.value.backgroundColor};color:${i.value.color}`)
44054
- }, [
44055
- S.value === la.DONUT ? (c(!0), h(we, { key: 0 }, _e(Z.value.legend, (E, J) => (c(), h("div", {
44056
- class: "vue-ui-quick-chart-legend-item",
44057
- onClick: (B) => {
44058
- ie(E.id, Z.value.legend.length - 1), l("selectLegend", E);
44059
- },
44060
- style: z(`cursor: ${Z.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(E.id) ? "0.5" : "1"}`)
44061
- }, [
44062
- i.value.useCustomLegend ? $e(j.$slots, "legend", Ze(Vn({ key: 0 }, { legend: E })), void 0, !0) : (c(), h(we, { key: 1 }, [
44063
- rt(Jt, {
44064
- name: i.value.legendIcon,
44065
- stroke: E.color,
44066
- size: i.value.legendIconSize
44067
- }, null, 8, ["name", "stroke", "size"]),
44068
- y("span", {
44069
- style: z(`font-size:${i.value.legendFontSize}px`)
44070
- }, D(E.name), 5),
44071
- y("span", {
44072
- style: z(`font-size:${i.value.legendFontSize}px`)
43978
+ }, D(E.value), 9, YK)) : F("", !0)
43979
+ ], 64))), 256))
43980
+ ])) : F("", !0),
43981
+ i.value.xyShowScale && i.value.xyPeriods.length ? (c(), h("g", JK, [
43982
+ (c(!0), h(we, null, _e(se.value.extremes.maxSeries, (E, J) => (c(), h("line", {
43983
+ x1: se.value.drawingArea.left + se.value.slotSize * (J + 1) - se.value.slotSize / 2,
43984
+ x2: se.value.drawingArea.left + se.value.slotSize * (J + 1) - se.value.slotSize / 2,
43985
+ y1: se.value.drawingArea.bottom,
43986
+ y2: se.value.drawingArea.bottom + 4,
43987
+ stroke: i.value.xyAxisStroke,
43988
+ "stroke-width": i.value.xyAxisStrokeWidth,
43989
+ "stroke-linecap": "round"
43990
+ }, null, 8, ZK))), 256)),
43991
+ (c(!0), h(we, null, _e(se.value.extremes.maxSeries, (E, J) => (c(), h("text", {
43992
+ "font-size": i.value.xyLabelsXFontSize,
43993
+ "text-anchor": i.value.xyPeriodLabelsRotation ? "end" : "middle",
43994
+ transform: `translate(${se.value.drawingArea.left + se.value.slotSize * (J + 1) - se.value.slotSize / 2}, ${se.value.drawingArea.bottom + i.value.xyLabelsXFontSize + 6}) rotate(${i.value.xyPeriodLabelsRotation})`,
43995
+ fill: i.value.color
43996
+ }, D(i.value.xyPeriods[J]), 9, eW))), 256))
43997
+ ])) : F("", !0),
43998
+ y("g", tW, [
43999
+ (c(!0), h(we, null, _e(se.value.dataset, (E, J) => (c(), h(we, null, [
44000
+ (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("rect", {
44001
+ x: B.x,
44002
+ y: B.y,
44003
+ width: B.width,
44004
+ height: B.height,
44005
+ fill: E.color,
44006
+ stroke: i.value.backgroundColor,
44007
+ "stroke-width": i.value.barStrokeWidth,
44008
+ "stroke-linecap": "round",
44009
+ class: "quick-animation",
44010
+ style: { transition: "all 0.3s ease-in-out" }
44011
+ }, null, 8, lW))), 256))
44012
+ ], 64))), 256))
44013
+ ]),
44014
+ i.value.showDataLabels ? (c(), h("g", aW, [
44015
+ (c(!0), h(we, null, _e(se.value.dataset, (E, J) => (c(), h(we, null, [
44016
+ (c(!0), h(we, null, _e(E.coordinates, (B, M) => (c(), h("text", {
44017
+ x: B.x + B.width / 2,
44018
+ y: B.y - i.value.dataLabelFontSize / 2,
44019
+ "text-anchor": "middle",
44020
+ "font-size": i.value.dataLabelFontSize,
44021
+ fill: E.color,
44022
+ class: "quick-animation"
44073
44023
  }, D(ce(ht)({
44074
44024
  p: i.value.valuePrefix,
44075
- v: E.value,
44025
+ v: B.value,
44076
44026
  s: i.value.valueSuffix,
44077
44027
  r: i.value.dataLabelRoundingValue
44078
- })), 5),
44079
- b.value.includes(E.id) ? (c(), h("span", {
44080
- key: 0,
44081
- style: z(`font-size:${i.value.legendFontSize}px`)
44082
- }, " ( - % ) ", 4)) : (c(), h("span", {
44083
- key: 1,
44084
- style: z(`font-size:${i.value.legendFontSize}px`)
44085
- }, " (" + D(ce(ht)({
44086
- v: E.value / Z.value.total * 100,
44087
- s: "%",
44088
- r: i.value.dataLabelRoundingPercentage
44089
- })) + ") ", 5))
44090
- ], 64))
44091
- ], 12, sW))), 256)) : F("", !0),
44092
- S.value === la.LINE ? (c(!0), h(we, { key: 1 }, _e(de.value.legend, (E, J) => (c(), h("div", {
44093
- class: "vue-ui-quick-chart-legend-item",
44094
- onClick: (B) => {
44095
- ie(E.id, de.value.legend.length - 1), l("selectLegend", E);
44096
- },
44097
- style: z(`cursor: ${de.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(E.id) ? "0.5" : "1"}`)
44098
- }, [
44099
- i.value.useCustomLegend ? $e(j.$slots, "legend", Ze(Vn({ key: 0 }, { legend: E })), void 0, !0) : (c(), h(we, { key: 1 }, [
44100
- rt(Jt, {
44101
- name: i.value.legendIcon,
44102
- stroke: E.color,
44103
- size: i.value.legendIconSize
44104
- }, null, 8, ["name", "stroke", "size"]),
44105
- y("span", {
44106
- style: z(`font-size:${i.value.legendFontSize}px`)
44107
- }, D(E.name), 5)
44108
- ], 64))
44109
- ], 12, iW))), 256)) : F("", !0),
44110
- S.value === la.BAR ? (c(!0), h(we, { key: 2 }, _e(se.value.legend, (E, J) => (c(), h("div", {
44111
- class: "vue-ui-quick-chart-legend-item",
44112
- onClick: (B) => {
44113
- ie(E.id, se.value.legend.length - 1), l("selectLegend", E);
44114
- },
44115
- style: z(`cursor: ${se.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(E.id) ? "0.5" : "1"}`)
44116
- }, [
44117
- i.value.useCustomLegend ? $e(j.$slots, "legend", Ze(Vn({ key: 0 }, { legend: E })), void 0, !0) : (c(), h(we, { key: 1 }, [
44118
- rt(Jt, {
44119
- name: i.value.legendIcon,
44120
- stroke: E.color,
44121
- size: i.value.legendIconSize
44122
- }, null, 8, ["name", "stroke", "size"]),
44123
- y("span", {
44124
- style: z(`font-size:${i.value.legendFontSize}px`)
44125
- }, D(E.name), 5)
44126
- ], 64))
44127
- ], 12, AW))), 256)) : F("", !0)
44128
- ], 4)) : F("", !0)
44129
- ], 12, oK)) : (c(), h("div", uW, [
44130
- rt(Jt, {
44131
- name: "circleCancel",
44132
- stroke: "red"
44133
- }),
44134
- cW
44135
- ])),
44028
+ })), 9, oW))), 256))
44029
+ ], 64))), 256))
44030
+ ])) : F("", !0),
44031
+ y("g", rW, [
44032
+ (c(!0), h(we, null, _e(se.value.extremes.maxSeries, (E, J) => (c(), h("rect", {
44033
+ x: se.value.drawingArea.left + J * se.value.slotSize,
44034
+ y: se.value.drawingArea.top,
44035
+ height: se.value.drawingArea.height,
44036
+ width: se.value.slotSize,
44037
+ fill: v.value === J ? i.value.xyHighlighterColor : "transparent",
44038
+ style: z(`opacity:${i.value.xyHighlighterOpacity}`),
44039
+ onMouseenter: (B) => se.value.useTooltip(J),
44040
+ onMouseleave: K[2] || (K[2] = (B) => se.value.killTooltip()),
44041
+ onClick: (B) => l("selectDatapoint", se.value.dataset.map((M) => ({
44042
+ ...M,
44043
+ value: M.values[J]
44044
+ })))
44045
+ }, null, 44, nW))), 256))
44046
+ ])
44047
+ ], 64)) : F("", !0)
44048
+ ], 12, rK)),
44049
+ i.value.showLegend ? (c(), h("div", {
44050
+ key: 2,
44051
+ class: "vue-ui-quick-chart-legend",
44052
+ style: z(`background:${i.value.backgroundColor};color:${i.value.color}`)
44053
+ }, [
44054
+ S.value === la.DONUT ? (c(!0), h(we, { key: 0 }, _e(Z.value.legend, (E, J) => (c(), h("div", {
44055
+ class: "vue-ui-quick-chart-legend-item",
44056
+ onClick: (B) => {
44057
+ ie(E.id, Z.value.legend.length - 1), l("selectLegend", E);
44058
+ },
44059
+ style: z(`cursor: ${Z.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(E.id) ? "0.5" : "1"}`)
44060
+ }, [
44061
+ i.value.useCustomLegend ? $e(j.$slots, "legend", Ze(Vn({ key: 0 }, { legend: E })), void 0, !0) : (c(), h(we, { key: 1 }, [
44062
+ rt(Jt, {
44063
+ name: i.value.legendIcon,
44064
+ stroke: E.color,
44065
+ size: i.value.legendIconSize
44066
+ }, null, 8, ["name", "stroke", "size"]),
44067
+ y("span", {
44068
+ style: z(`font-size:${i.value.legendFontSize}px`)
44069
+ }, D(E.name), 5),
44070
+ y("span", {
44071
+ style: z(`font-size:${i.value.legendFontSize}px`)
44072
+ }, D(ce(ht)({
44073
+ p: i.value.valuePrefix,
44074
+ v: E.value,
44075
+ s: i.value.valueSuffix,
44076
+ r: i.value.dataLabelRoundingValue
44077
+ })), 5),
44078
+ b.value.includes(E.id) ? (c(), h("span", {
44079
+ key: 0,
44080
+ style: z(`font-size:${i.value.legendFontSize}px`)
44081
+ }, " ( - % ) ", 4)) : (c(), h("span", {
44082
+ key: 1,
44083
+ style: z(`font-size:${i.value.legendFontSize}px`)
44084
+ }, " (" + D(ce(ht)({
44085
+ v: E.value / Z.value.total * 100,
44086
+ s: "%",
44087
+ r: i.value.dataLabelRoundingPercentage
44088
+ })) + ") ", 5))
44089
+ ], 64))
44090
+ ], 12, sW))), 256)) : F("", !0),
44091
+ S.value === la.LINE ? (c(!0), h(we, { key: 1 }, _e(de.value.legend, (E, J) => (c(), h("div", {
44092
+ class: "vue-ui-quick-chart-legend-item",
44093
+ onClick: (B) => {
44094
+ ie(E.id, de.value.legend.length - 1), l("selectLegend", E);
44095
+ },
44096
+ style: z(`cursor: ${de.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(E.id) ? "0.5" : "1"}`)
44097
+ }, [
44098
+ i.value.useCustomLegend ? $e(j.$slots, "legend", Ze(Vn({ key: 0 }, { legend: E })), void 0, !0) : (c(), h(we, { key: 1 }, [
44099
+ rt(Jt, {
44100
+ name: i.value.legendIcon,
44101
+ stroke: E.color,
44102
+ size: i.value.legendIconSize
44103
+ }, null, 8, ["name", "stroke", "size"]),
44104
+ y("span", {
44105
+ style: z(`font-size:${i.value.legendFontSize}px`)
44106
+ }, D(E.name), 5)
44107
+ ], 64))
44108
+ ], 12, iW))), 256)) : F("", !0),
44109
+ S.value === la.BAR ? (c(!0), h(we, { key: 2 }, _e(se.value.legend, (E, J) => (c(), h("div", {
44110
+ class: "vue-ui-quick-chart-legend-item",
44111
+ onClick: (B) => {
44112
+ ie(E.id, se.value.legend.length - 1), l("selectLegend", E);
44113
+ },
44114
+ style: z(`cursor: ${se.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(E.id) ? "0.5" : "1"}`)
44115
+ }, [
44116
+ i.value.useCustomLegend ? $e(j.$slots, "legend", Ze(Vn({ key: 0 }, { legend: E })), void 0, !0) : (c(), h(we, { key: 1 }, [
44117
+ rt(Jt, {
44118
+ name: i.value.legendIcon,
44119
+ stroke: E.color,
44120
+ size: i.value.legendIconSize
44121
+ }, null, 8, ["name", "stroke", "size"]),
44122
+ y("span", {
44123
+ style: z(`font-size:${i.value.legendFontSize}px`)
44124
+ }, D(E.name), 5)
44125
+ ], 64))
44126
+ ], 12, AW))), 256)) : F("", !0)
44127
+ ], 4)) : F("", !0),
44136
44128
  rt(na, {
44137
44129
  show: i.value.showTooltip && n.value,
44138
44130
  backgroundColor: i.value.backgroundColor,
@@ -44149,9 +44141,15 @@ const u1 = (e) => (ja("data-v-eb784c24"), e = e(), Ga(), e), oK = ["id"], rK = [
44149
44141
  ]),
44150
44142
  _: 3
44151
44143
  }, 8, ["show", "backgroundColor", "color", "parent", "content", "isCustom"])
44152
- ], 64));
44144
+ ], 14, oK)) : (c(), h("div", uW, [
44145
+ rt(Jt, {
44146
+ name: "circleCancel",
44147
+ stroke: "red"
44148
+ }),
44149
+ cW
44150
+ ]));
44153
44151
  }
44154
- }, hW = /* @__PURE__ */ Qt(dW, [["__scopeId", "data-v-eb784c24"]]), fW = {
44152
+ }, hW = /* @__PURE__ */ Qt(dW, [["__scopeId", "data-v-e5cc2621"]]), fW = {
44155
44153
  key: 0,
44156
44154
  style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
44157
44155
  }, vW = { style: { width: "36px" } }, wW = {