@undp/data-viz 1.4.13 → 1.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.js +25 -24
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.js +638 -632
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.js +134 -132
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +35 -34
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.js +226 -224
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.js +48 -47
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +56 -55
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/DataCards.cjs +3 -3
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.js +2 -1
- package/dist/DataCards.js.map +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.js +9 -8
- package/dist/DataTable.js.map +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.js +1 -0
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.js +77 -76
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +1 -0
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{DropdownSelect-CeHog_ih.js → DropdownSelect-CtOKZHD0.js} +22 -20
- package/dist/{DropdownSelect-CeHog_ih.js.map → DropdownSelect-CtOKZHD0.js.map} +1 -1
- package/dist/{DropdownSelect-BmE5JaeE.cjs → DropdownSelect-DBDM64B5.cjs} +2 -2
- package/dist/{DropdownSelect-BmE5JaeE.cjs.map → DropdownSelect-DBDM64B5.cjs.map} +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.js +52 -51
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.js +216 -214
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.cjs.map +1 -1
- package/dist/GeoHubCompareMaps.js +1 -0
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.cjs.map +1 -1
- package/dist/GeoHubMap.js +29 -28
- package/dist/GeoHubMap.js.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +34 -33
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
- package/dist/{GraphEl-B3xVlimz.js → GraphEl-N6vuMRw_.js} +2 -2
- package/dist/{GraphEl-B3xVlimz.js.map → GraphEl-N6vuMRw_.js.map} +1 -1
- package/dist/{GraphEl-DO-juRN8.cjs → GraphEl-Zl0W-LK9.cjs} +2 -2
- package/dist/{GraphEl-DO-juRN8.cjs.map → GraphEl-Zl0W-LK9.cjs.map} +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +2 -2
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.js +55 -54
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.js +22 -21
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.js +34 -33
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.js +72 -71
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.js +22 -21
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +27 -26
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +30 -29
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.js +119 -118
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.js +16 -15
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +2 -2
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.js +46 -45
- package/dist/SlopeChart.js.map +1 -1
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.cjs.map +1 -1
- package/dist/SparkLine.js +12 -11
- package/dist/SparkLine.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.js +81 -79
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.js +1 -0
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.js +114 -113
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.js +10 -9
- package/dist/UnitChart.js.map +1 -1
- package/dist/{index-CZLvTu6p.cjs → index-BbNoLJ_w.cjs} +2 -2
- package/dist/{index-CZLvTu6p.cjs.map → index-BbNoLJ_w.cjs.map} +1 -1
- package/dist/{index-DGAaLNu9.js → index-Bc5VF70V.js} +46 -45
- package/dist/{index-DGAaLNu9.js.map → index-Bc5VF70V.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/DumbbellChart.js
CHANGED
|
@@ -26,7 +26,7 @@ import { ColorLegendWithMouseOver as Qe } from "./ColorLegendWithMouseOver.js";
|
|
|
26
26
|
import { Colors as Ze } from "./Colors.js";
|
|
27
27
|
import { E as et } from "./EmptyState-DdTp-Mdn.js";
|
|
28
28
|
import { P as tt, f as it } from "./index-BmCqpO1B.js";
|
|
29
|
-
import { b as
|
|
29
|
+
import { b as ve } from "./ensureCompleteData-BBDZbDCE.js";
|
|
30
30
|
import { c as at } from "./init-BhZylTFx.js";
|
|
31
31
|
import { A as st } from "./Axis-Ddg-seDi.js";
|
|
32
32
|
import { X as ct } from "./XAxesLabels-CaV2q-6H.js";
|
|
@@ -36,7 +36,7 @@ function dt(ye) {
|
|
|
36
36
|
dotColors: g,
|
|
37
37
|
suffix: q,
|
|
38
38
|
prefix: U,
|
|
39
|
-
barPadding:
|
|
39
|
+
barPadding: w,
|
|
40
40
|
showValues: ce,
|
|
41
41
|
showTicks: Z,
|
|
42
42
|
leftMargin: ee,
|
|
@@ -58,36 +58,36 @@ function dt(ye) {
|
|
|
58
58
|
connectorStrokeWidth: ge,
|
|
59
59
|
maxBarThickness: re,
|
|
60
60
|
minBarThickness: le,
|
|
61
|
-
resetSelectionOnDoubleClick:
|
|
62
|
-
detailsOnClick:
|
|
61
|
+
resetSelectionOnDoubleClick: fe,
|
|
62
|
+
detailsOnClick: b,
|
|
63
63
|
axisTitle: _,
|
|
64
|
-
noOfTicks:
|
|
64
|
+
noOfTicks: pe,
|
|
65
65
|
valueColor: ne,
|
|
66
66
|
styles: m,
|
|
67
|
-
classNames:
|
|
67
|
+
classNames: h,
|
|
68
68
|
labelOrder: V,
|
|
69
69
|
refValues: oe,
|
|
70
|
-
rtl:
|
|
70
|
+
rtl: p,
|
|
71
71
|
animate: c,
|
|
72
72
|
precision: N,
|
|
73
73
|
customLayers: G,
|
|
74
74
|
highlightedDataPoints: z,
|
|
75
75
|
dimmedOpacity: A
|
|
76
|
-
} = ye,
|
|
76
|
+
} = ye, v = Ce(null), x = qe(v, {
|
|
77
77
|
once: c.once,
|
|
78
78
|
amount: c.amount
|
|
79
|
-
}),
|
|
79
|
+
}), u = {
|
|
80
80
|
top: _ ? D + 25 : D,
|
|
81
81
|
bottom: n,
|
|
82
82
|
left: ee,
|
|
83
83
|
right: J
|
|
84
|
-
}, Y = te -
|
|
84
|
+
}, Y = te - u.left - u.right, E = ie - u.top - u.bottom, [K, H] = L(void 0), [j, y] = L(void 0), [T, Q] = L(void 0), [S, P] = L(void 0), R = s.map((t, l) => ({
|
|
85
85
|
...t,
|
|
86
86
|
id: V ? `${t.label}` : `${l}`
|
|
87
|
-
})), k = V || R.map((t) => `${t.id}`),
|
|
87
|
+
})), k = V || R.map((t) => `${t.id}`), f = ze().domain([ae, C]).range([0, Y]).nice(), $ = Re().domain(k).range([
|
|
88
88
|
0,
|
|
89
89
|
le ? Math.max(E, le * R.length) : re ? Math.min(E, re * R.length) : E
|
|
90
|
-
]).paddingInner(
|
|
90
|
+
]).paddingInner(w), a = f.ticks(pe);
|
|
91
91
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
92
92
|
/* @__PURE__ */ i.jsxs(
|
|
93
93
|
se.svg,
|
|
@@ -96,7 +96,7 @@ function dt(ye) {
|
|
|
96
96
|
height: `${ie}px`,
|
|
97
97
|
viewBox: `0 0 ${te} ${ie}`,
|
|
98
98
|
direction: "ltr",
|
|
99
|
-
ref:
|
|
99
|
+
ref: v,
|
|
100
100
|
children: [
|
|
101
101
|
M ? /* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx(
|
|
102
102
|
"marker",
|
|
@@ -117,21 +117,21 @@ function dt(ye) {
|
|
|
117
117
|
)
|
|
118
118
|
}
|
|
119
119
|
) }) : null,
|
|
120
|
-
/* @__PURE__ */ i.jsxs("g", { transform: `translate(${
|
|
120
|
+
/* @__PURE__ */ i.jsxs("g", { transform: `translate(${u.left},${u.top})`, children: [
|
|
121
121
|
Z ? /* @__PURE__ */ i.jsx(
|
|
122
122
|
rt,
|
|
123
123
|
{
|
|
124
124
|
values: a.filter((t, l) => l !== 0),
|
|
125
|
-
x: a.filter((t, l) => l !== 0).map((t) =>
|
|
125
|
+
x: a.filter((t, l) => l !== 0).map((t) => f(t)),
|
|
126
126
|
y1: 0 - D,
|
|
127
|
-
y2: E +
|
|
127
|
+
y2: E + u.bottom,
|
|
128
128
|
styles: {
|
|
129
129
|
gridLines: m?.xAxis?.gridLines,
|
|
130
130
|
labels: m?.xAxis?.labels
|
|
131
131
|
},
|
|
132
132
|
classNames: {
|
|
133
|
-
gridLines:
|
|
134
|
-
labels:
|
|
133
|
+
gridLines: h?.xAxis?.gridLines,
|
|
134
|
+
labels: h?.xAxis?.labels
|
|
135
135
|
},
|
|
136
136
|
suffix: q,
|
|
137
137
|
prefix: U,
|
|
@@ -144,9 +144,9 @@ function dt(ye) {
|
|
|
144
144
|
_e,
|
|
145
145
|
{
|
|
146
146
|
x: Y / 2,
|
|
147
|
-
y: 0 -
|
|
147
|
+
y: 0 - u.top + 15,
|
|
148
148
|
style: m?.xAxis?.title,
|
|
149
|
-
className:
|
|
149
|
+
className: h?.xAxis?.title,
|
|
150
150
|
text: _
|
|
151
151
|
}
|
|
152
152
|
),
|
|
@@ -157,7 +157,7 @@ function dt(ye) {
|
|
|
157
157
|
x1: 0,
|
|
158
158
|
x2: Y,
|
|
159
159
|
styles: { gridLines: m?.yAxis?.gridLines },
|
|
160
|
-
classNames: { gridLines:
|
|
160
|
+
classNames: { gridLines: h?.yAxis?.gridLines },
|
|
161
161
|
labelType: "secondary",
|
|
162
162
|
showGridLines: !0,
|
|
163
163
|
labelPos: "vertical",
|
|
@@ -192,12 +192,12 @@ function dt(ye) {
|
|
|
192
192
|
{
|
|
193
193
|
value: `${t.label}`.length < de ? `${t.label}` : `${`${t.label}`.substring(0, de)}...`,
|
|
194
194
|
y: 0 - $.bandwidth() / 2,
|
|
195
|
-
x: 0 -
|
|
196
|
-
width:
|
|
195
|
+
x: 0 - u.left,
|
|
196
|
+
width: u.left,
|
|
197
197
|
height: $.bandwidth(),
|
|
198
198
|
alignment: "right",
|
|
199
199
|
style: m?.yAxis?.labels,
|
|
200
|
-
className:
|
|
200
|
+
className: h?.yAxis?.labels,
|
|
201
201
|
animate: c,
|
|
202
202
|
isInView: x
|
|
203
203
|
}
|
|
@@ -214,7 +214,7 @@ function dt(ye) {
|
|
|
214
214
|
},
|
|
215
215
|
className: ke(
|
|
216
216
|
"stroke-primary-gray-600 dark:stroke-primary-gray-300",
|
|
217
|
-
|
|
217
|
+
h?.dataConnectors
|
|
218
218
|
),
|
|
219
219
|
markerEnd: M && t.x.indexOf(Math.min(...t.x.filter((l) => l !== null))) === 0 ? "url(#arrow)" : "",
|
|
220
220
|
markerStart: M && t.x.indexOf(Math.min(...t.x.filter((l) => l !== null))) === t.x.length - 1 ? "url(#arrow)" : "",
|
|
@@ -225,8 +225,8 @@ function dt(ye) {
|
|
|
225
225
|
x2: 0
|
|
226
226
|
},
|
|
227
227
|
whileInView: {
|
|
228
|
-
x1:
|
|
229
|
-
x2:
|
|
228
|
+
x1: f(Math.min(...t.x.filter((l) => l !== null))) + B,
|
|
229
|
+
x2: f(Math.max(...t.x.filter((l) => l !== null))) - B,
|
|
230
230
|
transition: { duration: c.duration }
|
|
231
231
|
}
|
|
232
232
|
},
|
|
@@ -237,14 +237,14 @@ function dt(ye) {
|
|
|
237
237
|
t.x.map((l, o) => /* @__PURE__ */ i.jsx(
|
|
238
238
|
se.g,
|
|
239
239
|
{
|
|
240
|
-
onMouseEnter: (
|
|
241
|
-
H({ ...t, xIndex: o }), P(
|
|
240
|
+
onMouseEnter: (ue) => {
|
|
241
|
+
H({ ...t, xIndex: o }), P(ue.clientY), Q(ue.clientX), W?.({ ...t, xIndex: o });
|
|
242
242
|
},
|
|
243
243
|
onClick: () => {
|
|
244
|
-
(X ||
|
|
244
|
+
(X || b) && (He(j, { ...t, xIndex: o }) && fe ? (y(void 0), X?.(void 0)) : (y({ ...t, xIndex: o }), X && X({ ...t, xIndex: o })));
|
|
245
245
|
},
|
|
246
|
-
onMouseMove: (
|
|
247
|
-
H({ ...t, xIndex: o }), P(
|
|
246
|
+
onMouseMove: (ue) => {
|
|
247
|
+
H({ ...t, xIndex: o }), P(ue.clientY), Q(ue.clientX);
|
|
248
248
|
},
|
|
249
249
|
onMouseLeave: () => {
|
|
250
250
|
H(void 0), Q(void 0), P(void 0), W?.(void 0);
|
|
@@ -276,9 +276,9 @@ function dt(ye) {
|
|
|
276
276
|
},
|
|
277
277
|
exit: { opacity: 0, transition: { duration: c.duration } },
|
|
278
278
|
variants: {
|
|
279
|
-
initial: { cx:
|
|
279
|
+
initial: { cx: f(0), opacity: 0 },
|
|
280
280
|
whileInView: {
|
|
281
|
-
cx:
|
|
281
|
+
cx: f(l || 0),
|
|
282
282
|
opacity: F(l) ? 0 : 1,
|
|
283
283
|
transition: { duration: c.duration }
|
|
284
284
|
}
|
|
@@ -301,13 +301,13 @@ function dt(ye) {
|
|
|
301
301
|
className: ke(
|
|
302
302
|
"graph-value text-sm font-bold",
|
|
303
303
|
F(l) ? "0opacity-0" : "opacity-100",
|
|
304
|
-
|
|
304
|
+
h?.graphObjectValues
|
|
305
305
|
),
|
|
306
306
|
exit: { opacity: 0, transition: { duration: c.duration } },
|
|
307
307
|
variants: {
|
|
308
|
-
initial: { x:
|
|
308
|
+
initial: { x: f(0), opacity: 0 },
|
|
309
309
|
whileInView: {
|
|
310
|
-
x:
|
|
310
|
+
x: f(l || 0),
|
|
311
311
|
opacity: 1,
|
|
312
312
|
transition: { duration: c.duration }
|
|
313
313
|
}
|
|
@@ -330,10 +330,10 @@ function dt(ye) {
|
|
|
330
330
|
{
|
|
331
331
|
text: t.text,
|
|
332
332
|
color: t.color,
|
|
333
|
-
x:
|
|
334
|
-
y1: 0 -
|
|
335
|
-
y2: E +
|
|
336
|
-
textSide:
|
|
333
|
+
x: f(t.value),
|
|
334
|
+
y1: 0 - u.top,
|
|
335
|
+
y2: E + u.bottom,
|
|
336
|
+
textSide: f(t.value) > Y * 0.75 || p ? "left" : "right",
|
|
337
337
|
classNames: t.classNames,
|
|
338
338
|
styles: t.styles,
|
|
339
339
|
animate: c,
|
|
@@ -355,10 +355,10 @@ function dt(ye) {
|
|
|
355
355
|
xPos: T,
|
|
356
356
|
yPos: S,
|
|
357
357
|
backgroundStyle: m?.tooltip,
|
|
358
|
-
className:
|
|
358
|
+
className: h?.tooltip
|
|
359
359
|
}
|
|
360
360
|
) : null,
|
|
361
|
-
|
|
361
|
+
b && j !== void 0 ? /* @__PURE__ */ i.jsx(
|
|
362
362
|
Xe,
|
|
363
363
|
{
|
|
364
364
|
open: j !== void 0,
|
|
@@ -369,8 +369,8 @@ function dt(ye) {
|
|
|
369
369
|
"div",
|
|
370
370
|
{
|
|
371
371
|
className: "graph-modal-content m-0",
|
|
372
|
-
dangerouslySetInnerHTML: typeof
|
|
373
|
-
children: typeof
|
|
372
|
+
dangerouslySetInnerHTML: typeof b == "string" ? { __html: Ee(b, j) } : void 0,
|
|
373
|
+
children: typeof b == "function" ? b(j) : null
|
|
374
374
|
}
|
|
375
375
|
)
|
|
376
376
|
}
|
|
@@ -383,7 +383,7 @@ function mt(ye) {
|
|
|
383
383
|
graphTitle: g,
|
|
384
384
|
colors: q = Ze.light.categoricalColors.colors,
|
|
385
385
|
sources: U,
|
|
386
|
-
graphDescription:
|
|
386
|
+
graphDescription: w,
|
|
387
387
|
barPadding: ce = 0.25,
|
|
388
388
|
showTicks: Z = !0,
|
|
389
389
|
leftMargin: ee = 100,
|
|
@@ -405,24 +405,24 @@ function mt(ye) {
|
|
|
405
405
|
onSeriesMouseOver: ge,
|
|
406
406
|
graphID: re,
|
|
407
407
|
suffix: le = "",
|
|
408
|
-
prefix:
|
|
409
|
-
maxValue:
|
|
408
|
+
prefix: fe = "",
|
|
409
|
+
maxValue: b,
|
|
410
410
|
minValue: _,
|
|
411
|
-
onSeriesMouseClick:
|
|
411
|
+
onSeriesMouseClick: pe,
|
|
412
412
|
graphDownload: ne = !1,
|
|
413
413
|
dataDownload: m = !1,
|
|
414
|
-
showValues:
|
|
414
|
+
showValues: h = !0,
|
|
415
415
|
sortParameter: V,
|
|
416
416
|
arrowConnector: oe = !1,
|
|
417
|
-
connectorStrokeWidth:
|
|
417
|
+
connectorStrokeWidth: p = 2,
|
|
418
418
|
language: c = "en",
|
|
419
419
|
minHeight: N = 0,
|
|
420
420
|
theme: G = "light",
|
|
421
421
|
labelOrder: z,
|
|
422
422
|
maxBarThickness: A,
|
|
423
|
-
maxNumberOfBars:
|
|
423
|
+
maxNumberOfBars: v,
|
|
424
424
|
minBarThickness: x,
|
|
425
|
-
ariaLabel:
|
|
425
|
+
ariaLabel: u,
|
|
426
426
|
resetSelectionOnDoubleClick: Y = !0,
|
|
427
427
|
detailsOnClick: E,
|
|
428
428
|
axisTitle: K,
|
|
@@ -435,35 +435,35 @@ function mt(ye) {
|
|
|
435
435
|
animate: P = !1,
|
|
436
436
|
precision: R = 2,
|
|
437
437
|
customLayers: k = [],
|
|
438
|
-
showColorScale:
|
|
438
|
+
showColorScale: f = !0,
|
|
439
439
|
highlightedDataPoints: $ = [],
|
|
440
440
|
dimmedOpacity: a = 0.3,
|
|
441
441
|
timeline: t = { enabled: !1, autoplay: !1, showOnlyActiveDate: !0 },
|
|
442
442
|
sortData: l
|
|
443
|
-
} = ye, [o,
|
|
443
|
+
} = ye, [o, ue] = L(0), [Me, je] = L(0), [he, Te] = L(t.autoplay), d = Pe(
|
|
444
444
|
We(
|
|
445
445
|
s.filter((e) => e.date !== void 0 && e.date !== null),
|
|
446
446
|
(e) => e.date
|
|
447
447
|
).map((e) => Se(`${e.date}`, t.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()),
|
|
448
448
|
(e, r) => at(e, r)
|
|
449
|
-
), [
|
|
449
|
+
), [we, be] = L(t.autoplay ? 0 : d.length - 1), [$e, Le] = L(void 0), xe = Ce(null), Oe = Ce(null);
|
|
450
450
|
De(() => {
|
|
451
451
|
const e = new ResizeObserver((r) => {
|
|
452
|
-
|
|
452
|
+
ue(n || r[0].target.clientWidth || 620), je(D || r[0].target.clientHeight || 480);
|
|
453
453
|
});
|
|
454
|
-
return xe.current && (je(xe.current.clientHeight || 480),
|
|
454
|
+
return xe.current && (je(xe.current.clientHeight || 480), ue(xe.current.clientWidth || 620), n || e.observe(xe.current)), () => e.disconnect();
|
|
455
455
|
}, [n, D]), De(() => {
|
|
456
456
|
const e = setInterval(
|
|
457
457
|
() => {
|
|
458
|
-
|
|
458
|
+
be((r) => r < d.length - 1 ? r + 1 : 0);
|
|
459
459
|
},
|
|
460
460
|
(t.speed || 2) * 1e3
|
|
461
461
|
);
|
|
462
|
-
return
|
|
463
|
-
}, [d,
|
|
462
|
+
return he || clearInterval(e), () => clearInterval(e);
|
|
463
|
+
}, [d, he, t.speed]);
|
|
464
464
|
const Ne = Fe(
|
|
465
465
|
d,
|
|
466
|
-
|
|
466
|
+
we,
|
|
467
467
|
t.showOnlyActiveDate,
|
|
468
468
|
t.dateFormat || "yyyy"
|
|
469
469
|
);
|
|
@@ -477,6 +477,7 @@ function mt(ye) {
|
|
|
477
477
|
{
|
|
478
478
|
className: ke(
|
|
479
479
|
`${C ? C === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${c || "en"}`,
|
|
480
|
+
n ? "w-fit" : "w-full",
|
|
480
481
|
T?.graphContainer
|
|
481
482
|
),
|
|
482
483
|
style: {
|
|
@@ -485,14 +486,14 @@ function mt(ye) {
|
|
|
485
486
|
},
|
|
486
487
|
id: re,
|
|
487
488
|
ref: Oe,
|
|
488
|
-
"aria-label":
|
|
489
|
+
"aria-label": u || `${g ? `The graph shows ${g}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${w ? ` ${w}` : ""}`,
|
|
489
490
|
children: /* @__PURE__ */ i.jsx(
|
|
490
491
|
"div",
|
|
491
492
|
{
|
|
492
493
|
className: "flex grow",
|
|
493
494
|
style: { padding: C ? W || "1rem" : W || 0 },
|
|
494
495
|
children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
|
|
495
|
-
g ||
|
|
496
|
+
g || w || ne || m ? /* @__PURE__ */ i.jsx(
|
|
496
497
|
Je,
|
|
497
498
|
{
|
|
498
499
|
styles: {
|
|
@@ -504,7 +505,7 @@ function mt(ye) {
|
|
|
504
505
|
description: T?.description
|
|
505
506
|
},
|
|
506
507
|
graphTitle: g,
|
|
507
|
-
graphDescription:
|
|
508
|
+
graphDescription: w,
|
|
508
509
|
width: n,
|
|
509
510
|
graphDownload: ne ? Oe.current : void 0,
|
|
510
511
|
dataDownload: m ? s.map((e) => e.data).filter((e) => e !== void 0).length > 0 ? s.map((e) => e.data).filter((e) => e !== void 0) : s.filter((e) => e !== void 0) : null
|
|
@@ -516,11 +517,11 @@ function mt(ye) {
|
|
|
516
517
|
{
|
|
517
518
|
type: "button",
|
|
518
519
|
onClick: () => {
|
|
519
|
-
Te(!
|
|
520
|
+
Te(!he);
|
|
520
521
|
},
|
|
521
522
|
className: "p-0 border-0 cursor-pointer bg-transparent",
|
|
522
|
-
"aria-label":
|
|
523
|
-
children:
|
|
523
|
+
"aria-label": he ? "Click to pause animation" : "Click to play animation",
|
|
524
|
+
children: he ? /* @__PURE__ */ i.jsx(tt, {}) : /* @__PURE__ */ i.jsx(it, {})
|
|
524
525
|
}
|
|
525
526
|
),
|
|
526
527
|
/* @__PURE__ */ i.jsx(
|
|
@@ -531,19 +532,19 @@ function mt(ye) {
|
|
|
531
532
|
marks: Ne,
|
|
532
533
|
step: null,
|
|
533
534
|
defaultValue: d[d.length - 1],
|
|
534
|
-
value: d[
|
|
535
|
+
value: d[we],
|
|
535
536
|
onChangeComplete: (e) => {
|
|
536
|
-
|
|
537
|
+
be(d.indexOf(e));
|
|
537
538
|
},
|
|
538
539
|
onChange: (e) => {
|
|
539
|
-
|
|
540
|
+
be(d.indexOf(e));
|
|
540
541
|
},
|
|
541
542
|
"aria-label": "Time slider. Use arrow keys to adjust selected time period."
|
|
542
543
|
}
|
|
543
544
|
)
|
|
544
545
|
] }) : null,
|
|
545
546
|
/* @__PURE__ */ i.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: s.length === 0 ? /* @__PURE__ */ i.jsx(et, {}) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
546
|
-
|
|
547
|
+
f ? /* @__PURE__ */ i.jsx(
|
|
547
548
|
Qe,
|
|
548
549
|
{
|
|
549
550
|
width: n,
|
|
@@ -564,33 +565,33 @@ function mt(ye) {
|
|
|
564
565
|
dt,
|
|
565
566
|
{
|
|
566
567
|
data: V !== void 0 ? V === "diff" ? Ve(
|
|
567
|
-
|
|
568
|
+
ve(
|
|
568
569
|
s,
|
|
569
570
|
t.dateFormat || "yyyy"
|
|
570
571
|
).filter(
|
|
571
572
|
(e) => t.enabled ? e.date === Ie(
|
|
572
|
-
new Date(d[
|
|
573
|
+
new Date(d[we]),
|
|
573
574
|
t.dateFormat || "yyyy"
|
|
574
575
|
) : e
|
|
575
576
|
).filter((e) => S ? !e.x.every((r) => r == null) : e),
|
|
576
577
|
(e) => F(e.x[e.x.length - 1]) || F(e.x[0]) ? -1 / 0 : e.x[e.x.length - 1] - e.x[0],
|
|
577
578
|
[l || "asc"]
|
|
578
|
-
).filter((e, r) =>
|
|
579
|
-
|
|
579
|
+
).filter((e, r) => v ? r < v : !0) : Ve(
|
|
580
|
+
ve(
|
|
580
581
|
s,
|
|
581
582
|
t.dateFormat || "yyyy"
|
|
582
583
|
).filter(
|
|
583
584
|
(e) => t.enabled ? e.date === Ie(
|
|
584
|
-
new Date(d[
|
|
585
|
+
new Date(d[we]),
|
|
585
586
|
t.dateFormat || "yyyy"
|
|
586
587
|
) : e
|
|
587
588
|
).filter((e) => S ? !e.x.every((r) => r == null) : e),
|
|
588
589
|
(e) => F(e.x[V]) ? -1 / 0 : e.x[V],
|
|
589
590
|
[l || "asc"]
|
|
590
|
-
).filter((e, r) =>
|
|
591
|
+
).filter((e, r) => v ? r < v : !0) : ve(
|
|
591
592
|
s,
|
|
592
593
|
t.dateFormat || "yyyy"
|
|
593
|
-
).filter((e) => S ? !e.x.every((r) => r == null) : e).filter((e, r) =>
|
|
594
|
+
).filter((e) => S ? !e.x.every((r) => r == null) : e).filter((e, r) => v ? r < v : !0),
|
|
594
595
|
dotColors: q,
|
|
595
596
|
width: n || o,
|
|
596
597
|
height: Math.max(
|
|
@@ -598,7 +599,7 @@ function mt(ye) {
|
|
|
598
599
|
D || (M ? N ? (n || o) * M > N ? (n || o) * M : N : (n || o) * M : Me)
|
|
599
600
|
),
|
|
600
601
|
suffix: le,
|
|
601
|
-
prefix:
|
|
602
|
+
prefix: fe,
|
|
602
603
|
radius: ae,
|
|
603
604
|
barPadding: ce,
|
|
604
605
|
showTicks: Z,
|
|
@@ -608,23 +609,23 @@ function mt(ye) {
|
|
|
608
609
|
bottomMargin: ie,
|
|
609
610
|
truncateBy: J,
|
|
610
611
|
showLabels: X,
|
|
611
|
-
showValues:
|
|
612
|
+
showValues: h,
|
|
612
613
|
tooltip: I,
|
|
613
614
|
onSeriesMouseOver: ge,
|
|
614
|
-
maxValue: F(
|
|
615
|
+
maxValue: F(b) ? Math.max(
|
|
615
616
|
...s.map((e) => Math.max(...e.x.filter((r) => r !== null)))
|
|
616
617
|
) < 0 ? 0 : Math.max(
|
|
617
618
|
...s.map((e) => Math.max(...e.x.filter((r) => r !== null)))
|
|
618
|
-
) :
|
|
619
|
+
) : b,
|
|
619
620
|
minValue: F(_) ? Math.min(
|
|
620
621
|
...s.map((e) => Math.min(...e.x.filter((r) => r !== null)))
|
|
621
622
|
) > 0 ? 0 : Math.min(
|
|
622
623
|
...s.map((e) => Math.min(...e.x.filter((r) => r !== null)))
|
|
623
624
|
) : _,
|
|
624
|
-
onSeriesMouseClick:
|
|
625
|
+
onSeriesMouseClick: pe,
|
|
625
626
|
selectedColor: $e,
|
|
626
627
|
arrowConnector: oe,
|
|
627
|
-
connectorStrokeWidth:
|
|
628
|
+
connectorStrokeWidth: p,
|
|
628
629
|
maxBarThickness: A,
|
|
629
630
|
minBarThickness: x,
|
|
630
631
|
resetSelectionOnDoubleClick: Y,
|
|
@@ -668,13 +669,13 @@ function mt(ye) {
|
|
|
668
669
|
}
|
|
669
670
|
);
|
|
670
671
|
}
|
|
671
|
-
function
|
|
672
|
+
function ut(ye) {
|
|
672
673
|
const {
|
|
673
674
|
data: s,
|
|
674
675
|
dotColors: g,
|
|
675
676
|
barPadding: q,
|
|
676
677
|
showTicks: U,
|
|
677
|
-
leftMargin:
|
|
678
|
+
leftMargin: w,
|
|
678
679
|
truncateBy: ce,
|
|
679
680
|
width: Z,
|
|
680
681
|
height: ee,
|
|
@@ -696,35 +697,35 @@ function ht(ye) {
|
|
|
696
697
|
connectorStrokeWidth: ge,
|
|
697
698
|
maxBarThickness: re,
|
|
698
699
|
minBarThickness: le,
|
|
699
|
-
resetSelectionOnDoubleClick:
|
|
700
|
-
detailsOnClick:
|
|
700
|
+
resetSelectionOnDoubleClick: fe,
|
|
701
|
+
detailsOnClick: b,
|
|
701
702
|
axisTitle: _,
|
|
702
|
-
noOfTicks:
|
|
703
|
+
noOfTicks: pe,
|
|
703
704
|
valueColor: ne,
|
|
704
705
|
styles: m,
|
|
705
|
-
classNames:
|
|
706
|
+
classNames: h,
|
|
706
707
|
labelOrder: V,
|
|
707
708
|
refValues: oe,
|
|
708
|
-
animate:
|
|
709
|
+
animate: p,
|
|
709
710
|
precision: c,
|
|
710
711
|
customLayers: N,
|
|
711
712
|
highlightedDataPoints: G,
|
|
712
713
|
dimmedOpacity: z
|
|
713
|
-
} = ye, A = Ce(null),
|
|
714
|
-
once:
|
|
715
|
-
amount:
|
|
714
|
+
} = ye, A = Ce(null), v = qe(A, {
|
|
715
|
+
once: p.once,
|
|
716
|
+
amount: p.amount
|
|
716
717
|
}), x = {
|
|
717
718
|
top: te,
|
|
718
719
|
bottom: ie,
|
|
719
|
-
left: _ ?
|
|
720
|
+
left: _ ? w + 30 : w,
|
|
720
721
|
right: de
|
|
721
|
-
},
|
|
722
|
+
}, u = Z - x.left - x.right, Y = ee - x.top - x.bottom, [E, K] = L(void 0), [H, j] = L(void 0), [y, T] = L(void 0), [Q, S] = L(void 0), P = s.map((a, t) => ({
|
|
722
723
|
...a,
|
|
723
724
|
id: V ? `${a.label}` : `${t}`
|
|
724
|
-
})), R = V || P.map((a) => `${a.id}`), k = ze().domain([O, me]).range([Y, 0]).nice(),
|
|
725
|
+
})), R = V || P.map((a) => `${a.id}`), k = ze().domain([O, me]).range([Y, 0]).nice(), f = Re().domain(R).range([
|
|
725
726
|
0,
|
|
726
|
-
le ? Math.max(
|
|
727
|
-
]).paddingInner(q), $ = k.ticks(
|
|
727
|
+
le ? Math.max(u, le * P.length) : re ? Math.min(u, re * P.length) : u
|
|
728
|
+
]).paddingInner(q), $ = k.ticks(pe);
|
|
728
729
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
729
730
|
/* @__PURE__ */ i.jsxs(
|
|
730
731
|
se.svg,
|
|
@@ -760,8 +761,8 @@ function ht(ye) {
|
|
|
760
761
|
{
|
|
761
762
|
y1: k(O < 0 ? 0 : O),
|
|
762
763
|
y2: k(O < 0 ? 0 : O),
|
|
763
|
-
x1: 0 -
|
|
764
|
-
x2:
|
|
764
|
+
x1: 0 - w,
|
|
765
|
+
x2: u + x.right,
|
|
765
766
|
label: Ae(
|
|
766
767
|
O < 0 ? 0 : O,
|
|
767
768
|
"NA",
|
|
@@ -770,14 +771,14 @@ function ht(ye) {
|
|
|
770
771
|
ae
|
|
771
772
|
),
|
|
772
773
|
labelPos: {
|
|
773
|
-
x: 0 -
|
|
774
|
+
x: 0 - w,
|
|
774
775
|
dx: 0,
|
|
775
776
|
dy: me < 0 ? "1em" : -5,
|
|
776
777
|
y: k(O < 0 ? 0 : O)
|
|
777
778
|
},
|
|
778
779
|
classNames: {
|
|
779
|
-
axis:
|
|
780
|
-
label:
|
|
780
|
+
axis: h?.xAxis?.axis,
|
|
781
|
+
label: h?.yAxis?.labels
|
|
781
782
|
},
|
|
782
783
|
styles: { axis: m?.xAxis?.axis, label: m?.yAxis?.labels }
|
|
783
784
|
}
|
|
@@ -787,15 +788,15 @@ function ht(ye) {
|
|
|
787
788
|
{
|
|
788
789
|
values: $.filter((a) => a !== 0),
|
|
789
790
|
y: $.filter((a) => a !== 0).map((a) => k(a)),
|
|
790
|
-
x1: 0 -
|
|
791
|
-
x2:
|
|
791
|
+
x1: 0 - w,
|
|
792
|
+
x2: u + x.right,
|
|
792
793
|
styles: {
|
|
793
794
|
gridLines: m?.yAxis?.gridLines,
|
|
794
795
|
labels: m?.yAxis?.labels
|
|
795
796
|
},
|
|
796
797
|
classNames: {
|
|
797
|
-
gridLines:
|
|
798
|
-
labels:
|
|
798
|
+
gridLines: h?.yAxis?.gridLines,
|
|
799
|
+
labels: h?.yAxis?.labels
|
|
799
800
|
},
|
|
800
801
|
suffix: ae,
|
|
801
802
|
prefix: X,
|
|
@@ -808,10 +809,10 @@ function ht(ye) {
|
|
|
808
809
|
/* @__PURE__ */ i.jsx(
|
|
809
810
|
_e,
|
|
810
811
|
{
|
|
811
|
-
x: 0 -
|
|
812
|
+
x: 0 - w - 15,
|
|
812
813
|
y: Y / 2,
|
|
813
814
|
style: m?.yAxis?.title,
|
|
814
|
-
className:
|
|
815
|
+
className: h?.yAxis?.title,
|
|
815
816
|
text: _,
|
|
816
817
|
rotate90: !0
|
|
817
818
|
}
|
|
@@ -824,34 +825,34 @@ function ht(ye) {
|
|
|
824
825
|
className: "undp-viz-g-with-hover",
|
|
825
826
|
variants: {
|
|
826
827
|
initial: {
|
|
827
|
-
x:
|
|
828
|
+
x: f(`${a.id}`) + f.bandwidth() / 2,
|
|
828
829
|
y: 0,
|
|
829
830
|
opacity: G.length !== 0 ? G.indexOf(a.label) !== -1 ? 0.85 : z : 0.85
|
|
830
831
|
},
|
|
831
832
|
whileInView: {
|
|
832
|
-
x:
|
|
833
|
+
x: f(`${a.id}`) + f.bandwidth() / 2,
|
|
833
834
|
y: 0,
|
|
834
835
|
opacity: G.length !== 0 ? G.indexOf(a.label) !== -1 ? 0.85 : z : 0.85,
|
|
835
|
-
transition: { duration:
|
|
836
|
+
transition: { duration: p.duration }
|
|
836
837
|
}
|
|
837
838
|
},
|
|
838
839
|
initial: "initial",
|
|
839
|
-
animate:
|
|
840
|
-
exit: { opacity: 0, transition: { duration:
|
|
840
|
+
animate: v ? "whileInView" : "initial",
|
|
841
|
+
exit: { opacity: 0, transition: { duration: p.duration } },
|
|
841
842
|
children: [
|
|
842
843
|
D ? /* @__PURE__ */ i.jsx(
|
|
843
844
|
ct,
|
|
844
845
|
{
|
|
845
846
|
value: `${a.label}`.length < ce ? `${a.label}` : `${`${a.label}`.substring(0, ce)}...`,
|
|
846
847
|
y: Y + 5,
|
|
847
|
-
x: 0 -
|
|
848
|
-
width:
|
|
848
|
+
x: 0 - f.bandwidth() / 2,
|
|
849
|
+
width: f.bandwidth(),
|
|
849
850
|
height: x.bottom,
|
|
850
851
|
style: m?.xAxis?.labels,
|
|
851
|
-
className:
|
|
852
|
+
className: h?.xAxis?.labels,
|
|
852
853
|
alignment: "top",
|
|
853
|
-
animate:
|
|
854
|
-
isInView:
|
|
854
|
+
animate: p,
|
|
855
|
+
isInView: v
|
|
855
856
|
}
|
|
856
857
|
) : null,
|
|
857
858
|
/* @__PURE__ */ i.jsx(
|
|
@@ -866,11 +867,11 @@ function ht(ye) {
|
|
|
866
867
|
},
|
|
867
868
|
className: ke(
|
|
868
869
|
"stroke-primary-gray-600 dark:stroke-primary-gray-300",
|
|
869
|
-
|
|
870
|
+
h?.dataConnectors
|
|
870
871
|
),
|
|
871
872
|
markerEnd: M && a.x.indexOf(Math.min(...a.x.filter((t) => t !== null))) === 0 ? "url(#arrow)" : "",
|
|
872
873
|
markerStart: M && a.x.indexOf(Math.min(...a.x.filter((t) => t !== null))) === a.x.length - 1 ? "url(#arrow)" : "",
|
|
873
|
-
exit: { opacity: 0, transition: { duration:
|
|
874
|
+
exit: { opacity: 0, transition: { duration: p.duration } },
|
|
874
875
|
variants: {
|
|
875
876
|
initial: {
|
|
876
877
|
y1: 0,
|
|
@@ -879,11 +880,11 @@ function ht(ye) {
|
|
|
879
880
|
whileInView: {
|
|
880
881
|
y1: k(Math.min(...a.x.filter((t) => t !== null))) + J,
|
|
881
882
|
y2: k(Math.max(...a.x.filter((t) => t !== null))) - J,
|
|
882
|
-
transition: { duration:
|
|
883
|
+
transition: { duration: p.duration }
|
|
883
884
|
}
|
|
884
885
|
},
|
|
885
886
|
initial: "initial",
|
|
886
|
-
animate:
|
|
887
|
+
animate: v ? "whileInView" : "initial"
|
|
887
888
|
}
|
|
888
889
|
),
|
|
889
890
|
a.x.map((t, l) => /* @__PURE__ */ i.jsx(
|
|
@@ -893,7 +894,7 @@ function ht(ye) {
|
|
|
893
894
|
K({ ...a, xIndex: l }), S(o.clientY), T(o.clientX), B?.({ ...a, xIndex: l });
|
|
894
895
|
},
|
|
895
896
|
onClick: () => {
|
|
896
|
-
(W ||
|
|
897
|
+
(W || b) && (He(H, { ...a, xIndex: l }) && fe ? (j(void 0), W?.(void 0)) : (j({ ...a, xIndex: l }), W && W({ ...a, xIndex: l })));
|
|
897
898
|
},
|
|
898
899
|
onMouseMove: (o) => {
|
|
899
900
|
K({ ...a, xIndex: l }), S(o.clientY), T(o.clientX);
|
|
@@ -901,18 +902,18 @@ function ht(ye) {
|
|
|
901
902
|
onMouseLeave: () => {
|
|
902
903
|
K(void 0), T(void 0), S(void 0), B?.(void 0);
|
|
903
904
|
},
|
|
904
|
-
exit: { opacity: 0, transition: { duration:
|
|
905
|
+
exit: { opacity: 0, transition: { duration: p.duration } },
|
|
905
906
|
variants: {
|
|
906
907
|
initial: {
|
|
907
908
|
opacity: I ? g[l] === I ? 1 : 0.3 : 1
|
|
908
909
|
},
|
|
909
910
|
whileInView: {
|
|
910
911
|
opacity: I ? g[l] === I ? 1 : 0.3 : 1,
|
|
911
|
-
transition: { duration:
|
|
912
|
+
transition: { duration: p.duration }
|
|
912
913
|
}
|
|
913
914
|
},
|
|
914
915
|
initial: "initial",
|
|
915
|
-
animate:
|
|
916
|
+
animate: v ? "whileInView" : "initial",
|
|
916
917
|
children: F(t) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
917
918
|
/* @__PURE__ */ i.jsx(
|
|
918
919
|
se.circle,
|
|
@@ -925,17 +926,17 @@ function ht(ye) {
|
|
|
925
926
|
stroke: g[l],
|
|
926
927
|
strokeWidth: 1
|
|
927
928
|
},
|
|
928
|
-
exit: { opacity: 0, transition: { duration:
|
|
929
|
+
exit: { opacity: 0, transition: { duration: p.duration } },
|
|
929
930
|
variants: {
|
|
930
931
|
initial: { cy: k(0), opacity: 0 },
|
|
931
932
|
whileInView: {
|
|
932
933
|
cy: k(t || 0),
|
|
933
934
|
opacity: F(t) ? 0 : 1,
|
|
934
|
-
transition: { duration:
|
|
935
|
+
transition: { duration: p.duration }
|
|
935
936
|
}
|
|
936
937
|
},
|
|
937
938
|
initial: "initial",
|
|
938
|
-
animate:
|
|
939
|
+
animate: v ? "whileInView" : "initial"
|
|
939
940
|
}
|
|
940
941
|
),
|
|
941
942
|
C ? /* @__PURE__ */ i.jsx(
|
|
@@ -950,21 +951,21 @@ function ht(ye) {
|
|
|
950
951
|
className: ke(
|
|
951
952
|
"graph-value text-sm font-bold",
|
|
952
953
|
F(t) ? "opacity-0" : "opacity-100",
|
|
953
|
-
|
|
954
|
+
h?.graphObjectValues
|
|
954
955
|
),
|
|
955
956
|
dx: J + 3,
|
|
956
957
|
dy: "0.33em",
|
|
957
|
-
exit: { opacity: 0, transition: { duration:
|
|
958
|
+
exit: { opacity: 0, transition: { duration: p.duration } },
|
|
958
959
|
variants: {
|
|
959
960
|
initial: { y: k(0), opacity: 0 },
|
|
960
961
|
whileInView: {
|
|
961
962
|
y: k(t || 0),
|
|
962
963
|
opacity: 1,
|
|
963
|
-
transition: { duration:
|
|
964
|
+
transition: { duration: p.duration }
|
|
964
965
|
}
|
|
965
966
|
},
|
|
966
967
|
initial: "initial",
|
|
967
|
-
animate:
|
|
968
|
+
animate: v ? "whileInView" : "initial",
|
|
968
969
|
children: Ae(t, "NA", c, X, ae)
|
|
969
970
|
}
|
|
970
971
|
) : null
|
|
@@ -982,12 +983,12 @@ function ht(ye) {
|
|
|
982
983
|
text: a.text,
|
|
983
984
|
color: a.color,
|
|
984
985
|
y: k(a.value),
|
|
985
|
-
x1: 0 -
|
|
986
|
-
x2:
|
|
986
|
+
x1: 0 - w,
|
|
987
|
+
x2: u + x.right,
|
|
987
988
|
classNames: a.classNames,
|
|
988
989
|
styles: a.styles,
|
|
989
|
-
animate:
|
|
990
|
-
isInView:
|
|
990
|
+
animate: p,
|
|
991
|
+
isInView: v
|
|
991
992
|
},
|
|
992
993
|
t
|
|
993
994
|
)) }) : null
|
|
@@ -1005,10 +1006,10 @@ function ht(ye) {
|
|
|
1005
1006
|
xPos: y,
|
|
1006
1007
|
yPos: Q,
|
|
1007
1008
|
backgroundStyle: m?.tooltip,
|
|
1008
|
-
className:
|
|
1009
|
+
className: h?.tooltip
|
|
1009
1010
|
}
|
|
1010
1011
|
) : null,
|
|
1011
|
-
|
|
1012
|
+
b && H !== void 0 ? /* @__PURE__ */ i.jsx(
|
|
1012
1013
|
Xe,
|
|
1013
1014
|
{
|
|
1014
1015
|
open: H !== void 0,
|
|
@@ -1019,21 +1020,21 @@ function ht(ye) {
|
|
|
1019
1020
|
"div",
|
|
1020
1021
|
{
|
|
1021
1022
|
className: "graph-modal-content m-0",
|
|
1022
|
-
dangerouslySetInnerHTML: typeof
|
|
1023
|
-
children: typeof
|
|
1023
|
+
dangerouslySetInnerHTML: typeof b == "string" ? { __html: Ee(b, H) } : void 0,
|
|
1024
|
+
children: typeof b == "function" ? b(H) : null
|
|
1024
1025
|
}
|
|
1025
1026
|
)
|
|
1026
1027
|
}
|
|
1027
1028
|
) : null
|
|
1028
1029
|
] });
|
|
1029
1030
|
}
|
|
1030
|
-
function
|
|
1031
|
+
function ht(ye) {
|
|
1031
1032
|
const {
|
|
1032
1033
|
data: s,
|
|
1033
1034
|
graphTitle: g,
|
|
1034
1035
|
colors: q = Ze.light.categoricalColors.colors,
|
|
1035
1036
|
sources: U,
|
|
1036
|
-
graphDescription:
|
|
1037
|
+
graphDescription: w,
|
|
1037
1038
|
barPadding: ce = 0.25,
|
|
1038
1039
|
showTicks: Z = !0,
|
|
1039
1040
|
leftMargin: ee = 20,
|
|
@@ -1055,24 +1056,24 @@ function ut(ye) {
|
|
|
1055
1056
|
onSeriesMouseOver: ge,
|
|
1056
1057
|
graphID: re,
|
|
1057
1058
|
suffix: le = "",
|
|
1058
|
-
prefix:
|
|
1059
|
-
maxValue:
|
|
1059
|
+
prefix: fe = "",
|
|
1060
|
+
maxValue: b,
|
|
1060
1061
|
minValue: _,
|
|
1061
|
-
onSeriesMouseClick:
|
|
1062
|
+
onSeriesMouseClick: pe,
|
|
1062
1063
|
graphDownload: ne = !1,
|
|
1063
1064
|
dataDownload: m = !1,
|
|
1064
|
-
showValues:
|
|
1065
|
+
showValues: h = !0,
|
|
1065
1066
|
sortParameter: V,
|
|
1066
1067
|
arrowConnector: oe = !1,
|
|
1067
|
-
connectorStrokeWidth:
|
|
1068
|
+
connectorStrokeWidth: p = 2,
|
|
1068
1069
|
language: c = "en",
|
|
1069
1070
|
minHeight: N = 0,
|
|
1070
1071
|
theme: G = "light",
|
|
1071
1072
|
maxBarThickness: z,
|
|
1072
1073
|
maxNumberOfBars: A,
|
|
1073
|
-
minBarThickness:
|
|
1074
|
+
minBarThickness: v,
|
|
1074
1075
|
ariaLabel: x,
|
|
1075
|
-
resetSelectionOnDoubleClick:
|
|
1076
|
+
resetSelectionOnDoubleClick: u = !0,
|
|
1076
1077
|
detailsOnClick: Y,
|
|
1077
1078
|
axisTitle: E,
|
|
1078
1079
|
noOfTicks: K = 5,
|
|
@@ -1085,35 +1086,35 @@ function ut(ye) {
|
|
|
1085
1086
|
animate: P = !1,
|
|
1086
1087
|
precision: R = 2,
|
|
1087
1088
|
customLayers: k = [],
|
|
1088
|
-
showColorScale:
|
|
1089
|
+
showColorScale: f = !0,
|
|
1089
1090
|
highlightedDataPoints: $ = [],
|
|
1090
1091
|
dimmedOpacity: a = 0.3,
|
|
1091
1092
|
timeline: t = { enabled: !1, autoplay: !1, showOnlyActiveDate: !0 },
|
|
1092
1093
|
sortData: l
|
|
1093
|
-
} = ye, [o,
|
|
1094
|
+
} = ye, [o, ue] = L(0), [Me, je] = L(0), [he, Te] = L(t.autoplay), d = Pe(
|
|
1094
1095
|
We(
|
|
1095
1096
|
s.filter((e) => e.date !== void 0 && e.date !== null),
|
|
1096
1097
|
(e) => e.date
|
|
1097
1098
|
).map((e) => Se(`${e.date}`, t.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()),
|
|
1098
1099
|
(e, r) => at(e, r)
|
|
1099
|
-
), [
|
|
1100
|
+
), [we, be] = L(t.autoplay ? 0 : d.length - 1), [$e, Le] = L(void 0), xe = Ce(null), Oe = Ce(null);
|
|
1100
1101
|
De(() => {
|
|
1101
1102
|
const e = new ResizeObserver((r) => {
|
|
1102
|
-
|
|
1103
|
+
ue(n || r[0].target.clientWidth || 620), je(D || r[0].target.clientHeight || 480);
|
|
1103
1104
|
});
|
|
1104
|
-
return xe.current && (je(xe.current.clientHeight || 480),
|
|
1105
|
+
return xe.current && (je(xe.current.clientHeight || 480), ue(xe.current.clientWidth || 620), n || e.observe(xe.current)), () => e.disconnect();
|
|
1105
1106
|
}, [n, D]), De(() => {
|
|
1106
1107
|
const e = setInterval(
|
|
1107
1108
|
() => {
|
|
1108
|
-
|
|
1109
|
+
be((r) => r < d.length - 1 ? r + 1 : 0);
|
|
1109
1110
|
},
|
|
1110
1111
|
(t.speed || 2) * 1e3
|
|
1111
1112
|
);
|
|
1112
|
-
return
|
|
1113
|
-
}, [d,
|
|
1113
|
+
return he || clearInterval(e), () => clearInterval(e);
|
|
1114
|
+
}, [d, he, t.speed]);
|
|
1114
1115
|
const Ne = Fe(
|
|
1115
1116
|
d,
|
|
1116
|
-
|
|
1117
|
+
we,
|
|
1117
1118
|
t.showOnlyActiveDate,
|
|
1118
1119
|
t.dateFormat || "yyyy"
|
|
1119
1120
|
);
|
|
@@ -1127,6 +1128,7 @@ function ut(ye) {
|
|
|
1127
1128
|
{
|
|
1128
1129
|
className: ke(
|
|
1129
1130
|
`${C ? C === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${c || "en"}`,
|
|
1131
|
+
n ? "w-fit" : "w-full",
|
|
1130
1132
|
y?.graphContainer
|
|
1131
1133
|
),
|
|
1132
1134
|
style: {
|
|
@@ -1135,14 +1137,14 @@ function ut(ye) {
|
|
|
1135
1137
|
},
|
|
1136
1138
|
id: re,
|
|
1137
1139
|
ref: Oe,
|
|
1138
|
-
"aria-label": x || `${g ? `The graph shows ${g}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${
|
|
1140
|
+
"aria-label": x || `${g ? `The graph shows ${g}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${w ? ` ${w}` : ""}`,
|
|
1139
1141
|
children: /* @__PURE__ */ i.jsx(
|
|
1140
1142
|
"div",
|
|
1141
1143
|
{
|
|
1142
1144
|
className: "flex grow",
|
|
1143
1145
|
style: { padding: C ? W || "1rem" : W || 0 },
|
|
1144
1146
|
children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
|
|
1145
|
-
g ||
|
|
1147
|
+
g || w || ne || m ? /* @__PURE__ */ i.jsx(
|
|
1146
1148
|
Je,
|
|
1147
1149
|
{
|
|
1148
1150
|
styles: {
|
|
@@ -1154,7 +1156,7 @@ function ut(ye) {
|
|
|
1154
1156
|
description: y?.description
|
|
1155
1157
|
},
|
|
1156
1158
|
graphTitle: g,
|
|
1157
|
-
graphDescription:
|
|
1159
|
+
graphDescription: w,
|
|
1158
1160
|
width: n,
|
|
1159
1161
|
graphDownload: ne ? Oe.current : void 0,
|
|
1160
1162
|
dataDownload: m ? s.map((e) => e.data).filter((e) => e !== void 0).length > 0 ? s.map((e) => e.data).filter((e) => e !== void 0) : s.filter((e) => e !== void 0) : null
|
|
@@ -1166,11 +1168,11 @@ function ut(ye) {
|
|
|
1166
1168
|
{
|
|
1167
1169
|
type: "button",
|
|
1168
1170
|
onClick: () => {
|
|
1169
|
-
Te(!
|
|
1171
|
+
Te(!he);
|
|
1170
1172
|
},
|
|
1171
1173
|
className: "p-0 border-0 cursor-pointer bg-transparent",
|
|
1172
|
-
"aria-label":
|
|
1173
|
-
children:
|
|
1174
|
+
"aria-label": he ? "Click to pause animation" : "Click to play animation",
|
|
1175
|
+
children: he ? /* @__PURE__ */ i.jsx(tt, {}) : /* @__PURE__ */ i.jsx(it, {})
|
|
1174
1176
|
}
|
|
1175
1177
|
),
|
|
1176
1178
|
/* @__PURE__ */ i.jsx(
|
|
@@ -1181,19 +1183,19 @@ function ut(ye) {
|
|
|
1181
1183
|
marks: Ne,
|
|
1182
1184
|
step: null,
|
|
1183
1185
|
defaultValue: d[d.length - 1],
|
|
1184
|
-
value: d[
|
|
1186
|
+
value: d[we],
|
|
1185
1187
|
onChangeComplete: (e) => {
|
|
1186
|
-
|
|
1188
|
+
be(d.indexOf(e));
|
|
1187
1189
|
},
|
|
1188
1190
|
onChange: (e) => {
|
|
1189
|
-
|
|
1191
|
+
be(d.indexOf(e));
|
|
1190
1192
|
},
|
|
1191
1193
|
"aria-label": "Time slider. Use arrow keys to adjust selected time period."
|
|
1192
1194
|
}
|
|
1193
1195
|
)
|
|
1194
1196
|
] }) : null,
|
|
1195
1197
|
/* @__PURE__ */ i.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: s.length === 0 ? /* @__PURE__ */ i.jsx(et, {}) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1196
|
-
|
|
1198
|
+
f ? /* @__PURE__ */ i.jsx(
|
|
1197
1199
|
Qe,
|
|
1198
1200
|
{
|
|
1199
1201
|
width: n,
|
|
@@ -1211,33 +1213,33 @@ function ut(ye) {
|
|
|
1211
1213
|
ref: xe,
|
|
1212
1214
|
"aria-label": "Graph area",
|
|
1213
1215
|
children: (n || o) && (D || Me) ? /* @__PURE__ */ i.jsx(
|
|
1214
|
-
|
|
1216
|
+
ut,
|
|
1215
1217
|
{
|
|
1216
1218
|
data: V !== void 0 ? V === "diff" ? Ve(
|
|
1217
|
-
|
|
1219
|
+
ve(
|
|
1218
1220
|
s,
|
|
1219
1221
|
t.dateFormat || "yyyy"
|
|
1220
1222
|
).filter(
|
|
1221
1223
|
(e) => t.enabled ? e.date === Ie(
|
|
1222
|
-
new Date(d[
|
|
1224
|
+
new Date(d[we]),
|
|
1223
1225
|
t.dateFormat || "yyyy"
|
|
1224
1226
|
) : e
|
|
1225
1227
|
).filter((e) => S ? !e.x.every((r) => r == null) : e),
|
|
1226
1228
|
(e) => F(e.x[e.x.length - 1]) || F(e.x[0]) ? -1 / 0 : e.x[e.x.length - 1] - e.x[0],
|
|
1227
1229
|
[l || "asc"]
|
|
1228
1230
|
).filter((e, r) => A ? r < A : !0) : Ve(
|
|
1229
|
-
|
|
1231
|
+
ve(
|
|
1230
1232
|
s,
|
|
1231
1233
|
t.dateFormat || "yyyy"
|
|
1232
1234
|
).filter(
|
|
1233
1235
|
(e) => t.enabled ? e.date === Ie(
|
|
1234
|
-
new Date(d[
|
|
1236
|
+
new Date(d[we]),
|
|
1235
1237
|
t.dateFormat || "yyyy"
|
|
1236
1238
|
) : e
|
|
1237
1239
|
).filter((e) => S ? !e.x.every((r) => r == null) : e),
|
|
1238
1240
|
(e) => F(e.x[V]) ? -1 / 0 : e.x[V],
|
|
1239
1241
|
[l || "asc"]
|
|
1240
|
-
).filter((e, r) => A ? r < A : !0) :
|
|
1242
|
+
).filter((e, r) => A ? r < A : !0) : ve(
|
|
1241
1243
|
s,
|
|
1242
1244
|
t.dateFormat || "yyyy"
|
|
1243
1245
|
).filter((e) => S ? !e.x.every((r) => r == null) : e).filter((e, r) => A ? r < A : !0),
|
|
@@ -1256,28 +1258,28 @@ function ut(ye) {
|
|
|
1256
1258
|
bottomMargin: ie,
|
|
1257
1259
|
truncateBy: J,
|
|
1258
1260
|
showLabels: I,
|
|
1259
|
-
showValues:
|
|
1261
|
+
showValues: h,
|
|
1260
1262
|
tooltip: X,
|
|
1261
1263
|
suffix: le,
|
|
1262
|
-
prefix:
|
|
1264
|
+
prefix: fe,
|
|
1263
1265
|
onSeriesMouseOver: ge,
|
|
1264
|
-
maxValue: F(
|
|
1266
|
+
maxValue: F(b) ? Math.max(
|
|
1265
1267
|
...s.map((e) => Math.max(...e.x.filter((r) => r !== null)))
|
|
1266
1268
|
) < 0 ? 0 : Math.max(
|
|
1267
1269
|
...s.map((e) => Math.max(...e.x.filter((r) => r !== null)))
|
|
1268
|
-
) :
|
|
1270
|
+
) : b,
|
|
1269
1271
|
minValue: F(_) ? Math.min(
|
|
1270
1272
|
...s.map((e) => Math.min(...e.x.filter((r) => r !== null)))
|
|
1271
1273
|
) > 0 ? 0 : Math.min(
|
|
1272
1274
|
...s.map((e) => Math.min(...e.x.filter((r) => r !== null)))
|
|
1273
1275
|
) : _,
|
|
1274
|
-
onSeriesMouseClick:
|
|
1276
|
+
onSeriesMouseClick: pe,
|
|
1275
1277
|
selectedColor: $e,
|
|
1276
1278
|
arrowConnector: oe,
|
|
1277
|
-
connectorStrokeWidth:
|
|
1279
|
+
connectorStrokeWidth: p,
|
|
1278
1280
|
maxBarThickness: z,
|
|
1279
|
-
minBarThickness:
|
|
1280
|
-
resetSelectionOnDoubleClick:
|
|
1281
|
+
minBarThickness: v,
|
|
1282
|
+
resetSelectionOnDoubleClick: u,
|
|
1281
1283
|
detailsOnClick: Y,
|
|
1282
1284
|
axisTitle: E,
|
|
1283
1285
|
noOfTicks: K,
|
|
@@ -1323,7 +1325,7 @@ function zt(ye) {
|
|
|
1323
1325
|
graphTitle: g,
|
|
1324
1326
|
colors: q,
|
|
1325
1327
|
sources: U,
|
|
1326
|
-
graphDescription:
|
|
1328
|
+
graphDescription: w,
|
|
1327
1329
|
barPadding: ce,
|
|
1328
1330
|
showTicks: Z,
|
|
1329
1331
|
leftMargin: ee,
|
|
@@ -1345,24 +1347,24 @@ function zt(ye) {
|
|
|
1345
1347
|
onSeriesMouseOver: ge,
|
|
1346
1348
|
graphID: re,
|
|
1347
1349
|
suffix: le,
|
|
1348
|
-
prefix:
|
|
1349
|
-
maxValue:
|
|
1350
|
+
prefix: fe,
|
|
1351
|
+
maxValue: b,
|
|
1350
1352
|
minValue: _,
|
|
1351
|
-
onSeriesMouseClick:
|
|
1353
|
+
onSeriesMouseClick: pe,
|
|
1352
1354
|
graphDownload: ne,
|
|
1353
1355
|
dataDownload: m,
|
|
1354
|
-
showValues:
|
|
1356
|
+
showValues: h,
|
|
1355
1357
|
sortParameter: V,
|
|
1356
1358
|
arrowConnector: oe,
|
|
1357
|
-
connectorStrokeWidth:
|
|
1359
|
+
connectorStrokeWidth: p,
|
|
1358
1360
|
language: c,
|
|
1359
1361
|
minHeight: N,
|
|
1360
1362
|
theme: G,
|
|
1361
1363
|
maxBarThickness: z,
|
|
1362
1364
|
maxNumberOfBars: A,
|
|
1363
|
-
minBarThickness:
|
|
1365
|
+
minBarThickness: v,
|
|
1364
1366
|
ariaLabel: x,
|
|
1365
|
-
resetSelectionOnDoubleClick:
|
|
1367
|
+
resetSelectionOnDoubleClick: u,
|
|
1366
1368
|
detailsOnClick: Y,
|
|
1367
1369
|
axisTitle: E,
|
|
1368
1370
|
noOfTicks: K,
|
|
@@ -1375,7 +1377,7 @@ function zt(ye) {
|
|
|
1375
1377
|
filterNA: P,
|
|
1376
1378
|
animate: R,
|
|
1377
1379
|
precision: k,
|
|
1378
|
-
showColorScale:
|
|
1380
|
+
showColorScale: f,
|
|
1379
1381
|
customLayers: $,
|
|
1380
1382
|
highlightedDataPoints: a,
|
|
1381
1383
|
dimmedOpacity: t,
|
|
@@ -1383,13 +1385,13 @@ function zt(ye) {
|
|
|
1383
1385
|
sortData: o
|
|
1384
1386
|
} = ye;
|
|
1385
1387
|
return j === "vertical" ? /* @__PURE__ */ i.jsx(
|
|
1386
|
-
|
|
1388
|
+
ht,
|
|
1387
1389
|
{
|
|
1388
1390
|
data: s,
|
|
1389
1391
|
graphTitle: g,
|
|
1390
1392
|
colors: q,
|
|
1391
1393
|
sources: U,
|
|
1392
|
-
graphDescription:
|
|
1394
|
+
graphDescription: w,
|
|
1393
1395
|
barPadding: ce,
|
|
1394
1396
|
showTicks: Z,
|
|
1395
1397
|
leftMargin: ee,
|
|
@@ -1411,24 +1413,24 @@ function zt(ye) {
|
|
|
1411
1413
|
onSeriesMouseOver: ge,
|
|
1412
1414
|
graphID: re,
|
|
1413
1415
|
suffix: le,
|
|
1414
|
-
prefix:
|
|
1415
|
-
maxValue:
|
|
1416
|
+
prefix: fe,
|
|
1417
|
+
maxValue: b,
|
|
1416
1418
|
minValue: _,
|
|
1417
|
-
onSeriesMouseClick:
|
|
1419
|
+
onSeriesMouseClick: pe,
|
|
1418
1420
|
graphDownload: ne,
|
|
1419
1421
|
dataDownload: m,
|
|
1420
|
-
showValues:
|
|
1422
|
+
showValues: h,
|
|
1421
1423
|
sortParameter: V,
|
|
1422
1424
|
arrowConnector: oe,
|
|
1423
|
-
connectorStrokeWidth:
|
|
1425
|
+
connectorStrokeWidth: p,
|
|
1424
1426
|
language: c,
|
|
1425
1427
|
minHeight: N,
|
|
1426
1428
|
theme: G,
|
|
1427
1429
|
maxBarThickness: z,
|
|
1428
1430
|
maxNumberOfBars: A,
|
|
1429
|
-
minBarThickness:
|
|
1431
|
+
minBarThickness: v,
|
|
1430
1432
|
ariaLabel: x,
|
|
1431
|
-
resetSelectionOnDoubleClick:
|
|
1433
|
+
resetSelectionOnDoubleClick: u,
|
|
1432
1434
|
styles: y,
|
|
1433
1435
|
detailsOnClick: Y,
|
|
1434
1436
|
axisTitle: E,
|
|
@@ -1440,7 +1442,7 @@ function zt(ye) {
|
|
|
1440
1442
|
filterNA: P,
|
|
1441
1443
|
animate: R,
|
|
1442
1444
|
precision: k,
|
|
1443
|
-
showColorScale:
|
|
1445
|
+
showColorScale: f,
|
|
1444
1446
|
customLayers: $,
|
|
1445
1447
|
highlightedDataPoints: a,
|
|
1446
1448
|
dimmedOpacity: t,
|
|
@@ -1454,7 +1456,7 @@ function zt(ye) {
|
|
|
1454
1456
|
graphTitle: g,
|
|
1455
1457
|
colors: q,
|
|
1456
1458
|
sources: U,
|
|
1457
|
-
graphDescription:
|
|
1459
|
+
graphDescription: w,
|
|
1458
1460
|
barPadding: ce,
|
|
1459
1461
|
showTicks: Z,
|
|
1460
1462
|
leftMargin: ee,
|
|
@@ -1476,24 +1478,24 @@ function zt(ye) {
|
|
|
1476
1478
|
onSeriesMouseOver: ge,
|
|
1477
1479
|
graphID: re,
|
|
1478
1480
|
suffix: le,
|
|
1479
|
-
prefix:
|
|
1480
|
-
maxValue:
|
|
1481
|
+
prefix: fe,
|
|
1482
|
+
maxValue: b,
|
|
1481
1483
|
minValue: _,
|
|
1482
|
-
onSeriesMouseClick:
|
|
1484
|
+
onSeriesMouseClick: pe,
|
|
1483
1485
|
graphDownload: ne,
|
|
1484
1486
|
dataDownload: m,
|
|
1485
|
-
showValues:
|
|
1487
|
+
showValues: h,
|
|
1486
1488
|
sortParameter: V,
|
|
1487
1489
|
arrowConnector: oe,
|
|
1488
|
-
connectorStrokeWidth:
|
|
1490
|
+
connectorStrokeWidth: p,
|
|
1489
1491
|
language: c,
|
|
1490
1492
|
minHeight: N,
|
|
1491
1493
|
theme: G,
|
|
1492
1494
|
maxBarThickness: z,
|
|
1493
1495
|
maxNumberOfBars: A,
|
|
1494
|
-
minBarThickness:
|
|
1496
|
+
minBarThickness: v,
|
|
1495
1497
|
ariaLabel: x,
|
|
1496
|
-
resetSelectionOnDoubleClick:
|
|
1498
|
+
resetSelectionOnDoubleClick: u,
|
|
1497
1499
|
styles: y,
|
|
1498
1500
|
detailsOnClick: Y,
|
|
1499
1501
|
axisTitle: E,
|
|
@@ -1505,7 +1507,7 @@ function zt(ye) {
|
|
|
1505
1507
|
filterNA: P,
|
|
1506
1508
|
animate: R,
|
|
1507
1509
|
precision: k,
|
|
1508
|
-
showColorScale:
|
|
1510
|
+
showColorScale: f,
|
|
1509
1511
|
customLayers: $,
|
|
1510
1512
|
highlightedDataPoints: a,
|
|
1511
1513
|
dimmedOpacity: t,
|