@visactor/vchart 2.0.11-alpha.5 → 2.0.11-alpha.8
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/build/es5/index.js +2 -2
- package/build/index.es.js +318 -112
- package/build/index.js +318 -111
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/index.js +1 -1
- package/cjs/chart/stack.js +1 -1
- package/cjs/chart/util.js +1 -1
- package/cjs/component/axis/cartesian/axis.d.ts +6 -0
- package/cjs/component/axis/cartesian/axis.js +3 -0
- package/cjs/component/axis/cartesian/axis.js.map +1 -1
- package/cjs/component/crosshair/base.js +10 -2
- package/cjs/component/crosshair/base.js.map +1 -1
- package/cjs/component/geo/geo-coordinate.js +2 -2
- package/cjs/component/geo/geo-coordinate.js.map +1 -1
- package/cjs/component/label/util.d.ts +6 -1
- package/cjs/component/label/util.js +34 -3
- package/cjs/component/label/util.js.map +1 -1
- package/cjs/constant/attribute.js +2 -1
- package/cjs/constant/correlation.js +1 -2
- package/cjs/constant/data.d.ts +1 -0
- package/cjs/constant/data.js +3 -2
- package/cjs/constant/data.js.map +1 -1
- package/cjs/constant/waterfall.js +2 -1
- package/cjs/core/factory.js +1 -2
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/vchart.js +1 -1
- package/cjs/data/initialize.js +1 -1
- package/cjs/data/register.js +1 -1
- package/cjs/data/transforms/map.d.ts +0 -1
- package/cjs/data/transforms/map.js +3 -7
- package/cjs/data/transforms/map.js.map +1 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +3 -2
- package/cjs/index.js.map +1 -1
- package/cjs/mark/box-plot.d.ts +1 -0
- package/cjs/mark/box-plot.js +3 -0
- package/cjs/mark/box-plot.js.map +1 -1
- package/cjs/series/box-plot/box-plot-transformer.d.ts +5 -0
- package/cjs/series/box-plot/box-plot-transformer.js +16 -0
- package/cjs/series/box-plot/box-plot-transformer.js.map +1 -0
- package/cjs/series/box-plot/box-plot.d.ts +5 -1
- package/cjs/series/box-plot/box-plot.js +11 -3
- package/cjs/series/box-plot/box-plot.js.map +1 -1
- package/cjs/series/map/map.js +1 -1
- package/cjs/series/map/map.js.map +1 -1
- package/esm/chart/index.js +1 -1
- package/esm/chart/stack.js +1 -1
- package/esm/chart/util.js +1 -1
- package/esm/component/axis/cartesian/axis.d.ts +6 -0
- package/esm/component/axis/cartesian/axis.js +3 -0
- package/esm/component/axis/cartesian/axis.js.map +1 -1
- package/esm/component/crosshair/base.js +10 -2
- package/esm/component/crosshair/base.js.map +1 -1
- package/esm/component/geo/geo-coordinate.js +2 -2
- package/esm/component/geo/geo-coordinate.js.map +1 -1
- package/esm/component/label/util.d.ts +6 -1
- package/esm/component/label/util.js +31 -1
- package/esm/component/label/util.js.map +1 -1
- package/esm/constant/attribute.js +2 -1
- package/esm/constant/correlation.js +1 -2
- package/esm/constant/data.d.ts +1 -0
- package/esm/constant/data.js +2 -0
- package/esm/constant/data.js.map +1 -1
- package/esm/constant/waterfall.js +2 -1
- package/esm/core/factory.js +1 -2
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/vchart.js +1 -1
- package/esm/data/initialize.js +1 -1
- package/esm/data/register.js +1 -1
- package/esm/data/transforms/map.d.ts +0 -1
- package/esm/data/transforms/map.js +1 -5
- package/esm/data/transforms/map.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -1
- package/esm/mark/box-plot.d.ts +1 -0
- package/esm/mark/box-plot.js +3 -0
- package/esm/mark/box-plot.js.map +1 -1
- package/esm/series/box-plot/box-plot-transformer.d.ts +5 -0
- package/esm/series/box-plot/box-plot-transformer.js +8 -0
- package/esm/series/box-plot/box-plot-transformer.js.map +1 -0
- package/esm/series/box-plot/box-plot.d.ts +5 -1
- package/esm/series/box-plot/box-plot.js +12 -2
- package/esm/series/box-plot/box-plot.js.map +1 -1
- package/esm/series/map/map.js +2 -2
- package/esm/series/map/map.js.map +1 -1
- package/package.json +8 -8
package/build/index.es.js
CHANGED
|
@@ -1316,7 +1316,9 @@ function rSquared(data, x, y, uY, predict) {
|
|
|
1316
1316
|
}
|
|
1317
1317
|
return 0 === sst ? 0 : 1 - ssr / sst;
|
|
1318
1318
|
}
|
|
1319
|
-
function regressionLinear(data, x = d => d.x, y = d => d.y) {
|
|
1319
|
+
function regressionLinear(data, x = d => d.x, y = d => d.y, options) {
|
|
1320
|
+
var _a;
|
|
1321
|
+
const alpha = null !== (_a = null == options ? void 0 : options.alpha) && void 0 !== _a ? _a : .05;
|
|
1320
1322
|
let n = 0,
|
|
1321
1323
|
meanX = 0,
|
|
1322
1324
|
meanY = 0,
|
|
@@ -1358,7 +1360,7 @@ function regressionLinear(data, x = d => d.x, y = d => d.y) {
|
|
|
1358
1360
|
}
|
|
1359
1361
|
return out;
|
|
1360
1362
|
},
|
|
1361
|
-
confidenceInterval: function (N = 50
|
|
1363
|
+
confidenceInterval: function (N = 50) {
|
|
1362
1364
|
const out = [];
|
|
1363
1365
|
if (0 === comps.n || N <= 0) return out;
|
|
1364
1366
|
const z = invNorm(1 - alpha / 2);
|
|
@@ -1395,9 +1397,10 @@ function regressionLinear(data, x = d => d.x, y = d => d.y) {
|
|
|
1395
1397
|
}
|
|
1396
1398
|
|
|
1397
1399
|
function regressionLogistic(data, x = d => d.x, y = d => d.y, options) {
|
|
1398
|
-
var _a, _b;
|
|
1400
|
+
var _a, _b, _c;
|
|
1399
1401
|
const maxIter = null !== (_a = null == options ? void 0 : options.maxIteration) && void 0 !== _a ? _a : 25,
|
|
1400
1402
|
tol = null !== (_b = null == options ? void 0 : options.tol) && void 0 !== _b ? _b : 1e-6,
|
|
1403
|
+
alpha = null !== (_c = null == options ? void 0 : options.alpha) && void 0 !== _c ? _c : .05,
|
|
1401
1404
|
xs = [],
|
|
1402
1405
|
ys = [];
|
|
1403
1406
|
visitPoints(data, x, y, (dx, dy) => {
|
|
@@ -1469,7 +1472,7 @@ function regressionLogistic(data, x = d => d.x, y = d => d.y, options) {
|
|
|
1469
1472
|
}
|
|
1470
1473
|
return out;
|
|
1471
1474
|
},
|
|
1472
|
-
confidenceInterval: function (N = 50
|
|
1475
|
+
confidenceInterval: function (N = 50) {
|
|
1473
1476
|
const out = [];
|
|
1474
1477
|
if (N <= 0) return out;
|
|
1475
1478
|
const comps = computeLinearCIComponents(data, x, y, predict);
|
|
@@ -1513,37 +1516,67 @@ function tricube(u) {
|
|
|
1513
1516
|
const t = 1 - uu * uu * uu;
|
|
1514
1517
|
return t * t * t;
|
|
1515
1518
|
}
|
|
1519
|
+
function stratifiedSample(sortedData, maxSamples) {
|
|
1520
|
+
const n = sortedData.length;
|
|
1521
|
+
if (n <= maxSamples) return sortedData;
|
|
1522
|
+
const sampled = [],
|
|
1523
|
+
step = n / maxSamples;
|
|
1524
|
+
for (let i = 0; i < maxSamples; i++) {
|
|
1525
|
+
const idx = Math.min(Math.floor(i * step), n - 1);
|
|
1526
|
+
sampled.push(sortedData[idx]);
|
|
1527
|
+
}
|
|
1528
|
+
return sampled;
|
|
1529
|
+
}
|
|
1516
1530
|
function regressionLowess(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
1531
|
+
var _a;
|
|
1517
1532
|
const span = options.span || .3,
|
|
1518
1533
|
degree = 0 === options.degree ? 0 : 1,
|
|
1534
|
+
alpha = null !== (_a = options.alpha) && void 0 !== _a ? _a : .05,
|
|
1519
1535
|
iterations = null == options.iterations ? 2 : options.iterations,
|
|
1520
|
-
|
|
1521
|
-
|
|
1536
|
+
maxSamples = options.maxSamples || 1e3,
|
|
1537
|
+
rawPoints = [];
|
|
1522
1538
|
visitPoints(data, x, y, (dx, dy) => {
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1539
|
+
rawPoints.push({
|
|
1540
|
+
x: dx,
|
|
1541
|
+
y: dy
|
|
1542
|
+
});
|
|
1543
|
+
}), rawPoints.sort((a, b) => a.x - b.x);
|
|
1544
|
+
const sampledPoints = stratifiedSample(rawPoints, maxSamples),
|
|
1545
|
+
n = sampledPoints.length,
|
|
1546
|
+
ptsX = new Array(n),
|
|
1547
|
+
ptsY = new Array(n);
|
|
1548
|
+
for (let i = 0; i < n; i++) ptsX[i] = sampledPoints[i].x, ptsY[i] = sampledPoints[i].y;
|
|
1526
1549
|
function predictSingle(x0, robustWeights) {
|
|
1527
1550
|
if (0 === n) return 0;
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1551
|
+
let left = 0,
|
|
1552
|
+
right = n;
|
|
1553
|
+
for (; left < right;) {
|
|
1554
|
+
const mid = left + right >> 1;
|
|
1555
|
+
ptsX[mid] < x0 ? left = mid + 1 : right = mid;
|
|
1556
|
+
}
|
|
1534
1557
|
const m = Math.max(2, Math.min(n, Math.floor(span * n))),
|
|
1535
|
-
|
|
1536
|
-
|
|
1558
|
+
start = Math.max(0, left - Math.floor(m / 2)),
|
|
1559
|
+
end = Math.min(n, start + m),
|
|
1560
|
+
actualStart = Math.max(0, end - m);
|
|
1561
|
+
let maxDist = 0;
|
|
1562
|
+
const windowSize = end - actualStart,
|
|
1563
|
+
distances = new Array(windowSize);
|
|
1564
|
+
for (let i = actualStart; i < end; i++) {
|
|
1565
|
+
const dist = Math.abs(ptsX[i] - x0);
|
|
1566
|
+
distances[i - actualStart] = dist, dist > maxDist && (maxDist = dist);
|
|
1567
|
+
}
|
|
1537
1568
|
let sumw = 0;
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
let wi = tricube(0 === maxDist ? 0 :
|
|
1541
|
-
robustWeights && null != robustWeights[
|
|
1569
|
+
const w = new Array(windowSize);
|
|
1570
|
+
for (let i = 0; i < windowSize; i++) {
|
|
1571
|
+
let wi = tricube(0 === maxDist ? 0 : distances[i] / maxDist);
|
|
1572
|
+
robustWeights && null != robustWeights[actualStart + i] && (wi *= robustWeights[actualStart + i]), w[i] = wi, sumw += wi;
|
|
1573
|
+
}
|
|
1574
|
+
if (0 === sumw) {
|
|
1575
|
+
return ptsY[left < n ? left : n - 1];
|
|
1542
1576
|
}
|
|
1543
|
-
if (0 === sumw) return ptsY[dists[0].idx];
|
|
1544
1577
|
if (0 === degree) {
|
|
1545
1578
|
let s = 0;
|
|
1546
|
-
for (let i = 0; i <
|
|
1579
|
+
for (let i = 0; i < w.length; i++) s += w[i] * ptsY[actualStart + i];
|
|
1547
1580
|
return s / sumw;
|
|
1548
1581
|
}
|
|
1549
1582
|
let sw = 0,
|
|
@@ -1551,11 +1584,11 @@ function regressionLowess(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
|
1551
1584
|
sy = 0,
|
|
1552
1585
|
sxx = 0,
|
|
1553
1586
|
sxy = 0;
|
|
1554
|
-
for (let i =
|
|
1555
|
-
const idx =
|
|
1556
|
-
xi = ptsX[
|
|
1557
|
-
yi = ptsY[
|
|
1558
|
-
wi = w[
|
|
1587
|
+
for (let i = actualStart; i < end; i++) {
|
|
1588
|
+
const idx = i - actualStart,
|
|
1589
|
+
xi = ptsX[i],
|
|
1590
|
+
yi = ptsY[i],
|
|
1591
|
+
wi = w[idx];
|
|
1559
1592
|
sw += wi, sx += wi * xi, sy += wi * yi, sxx += wi * xi * xi, sxy += wi * xi * yi;
|
|
1560
1593
|
}
|
|
1561
1594
|
const meanX = sx / sw,
|
|
@@ -1566,8 +1599,9 @@ function regressionLowess(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
|
1566
1599
|
}
|
|
1567
1600
|
function predict(x0) {
|
|
1568
1601
|
if (Array.isArray(x0)) {
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1602
|
+
const len = x0.length,
|
|
1603
|
+
out = new Array(len);
|
|
1604
|
+
for (let i = 0; i < len; i++) out[i] = predictSingle(x0[i]);
|
|
1571
1605
|
return out;
|
|
1572
1606
|
}
|
|
1573
1607
|
return predictSingle(x0);
|
|
@@ -1576,27 +1610,26 @@ function regressionLowess(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
|
1576
1610
|
predict: predict,
|
|
1577
1611
|
evaluate: predict,
|
|
1578
1612
|
evaluateGrid: function (N) {
|
|
1579
|
-
|
|
1580
|
-
if (
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
max = -1
|
|
1584
|
-
for (let i = 0; i < n; i++) ptsX[i] < min && (min = ptsX[i]), ptsX[i] > max && (max = ptsX[i]);
|
|
1613
|
+
if (N <= 0) return [];
|
|
1614
|
+
if (0 === n) return [];
|
|
1615
|
+
const out = new Array(N),
|
|
1616
|
+
min = ptsX[0],
|
|
1617
|
+
max = ptsX[n - 1];
|
|
1585
1618
|
if (min === max) {
|
|
1586
1619
|
const v = predictSingle(min);
|
|
1587
|
-
for (let i = 0; i < N; i++) out
|
|
1620
|
+
for (let i = 0; i < N; i++) out[i] = {
|
|
1588
1621
|
x: min,
|
|
1589
1622
|
y: v
|
|
1590
|
-
}
|
|
1623
|
+
};
|
|
1591
1624
|
return out;
|
|
1592
1625
|
}
|
|
1593
1626
|
const step = (max - min) / (N - 1);
|
|
1594
1627
|
let robustWeights;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
for (let i = 0; i < n; i++) res
|
|
1628
|
+
const effectiveIterations = null != options.iterations ? iterations : n > 500 ? 0 : iterations;
|
|
1629
|
+
if (effectiveIterations > 0) for (let iter = 0; iter < effectiveIterations; iter++) {
|
|
1630
|
+
const fits = new Array(n),
|
|
1631
|
+
res = new Array(n);
|
|
1632
|
+
for (let i = 0; i < n; i++) fits[i] = predictSingle(ptsX[i], robustWeights), res[i] = Math.abs(ptsY[i] - fits[i]);
|
|
1600
1633
|
const med = res.slice().sort((a, b) => a - b)[Math.floor(n / 2)] || 0;
|
|
1601
1634
|
robustWeights = new Array(n);
|
|
1602
1635
|
for (let i = 0; i < n; i++) {
|
|
@@ -1607,21 +1640,20 @@ function regressionLowess(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
|
1607
1640
|
}
|
|
1608
1641
|
for (let i = 0; i < N; i++) {
|
|
1609
1642
|
const px = i === N - 1 ? max : min + step * i;
|
|
1610
|
-
out
|
|
1643
|
+
out[i] = {
|
|
1611
1644
|
x: px,
|
|
1612
1645
|
y: predictSingle(px, robustWeights)
|
|
1613
|
-
}
|
|
1646
|
+
};
|
|
1614
1647
|
}
|
|
1615
1648
|
return out;
|
|
1616
1649
|
},
|
|
1617
|
-
confidenceInterval: function (N = 50
|
|
1650
|
+
confidenceInterval: function (N = 50) {
|
|
1618
1651
|
const out = [];
|
|
1619
1652
|
if (N <= 0) return out;
|
|
1620
1653
|
if (0 === n) return out;
|
|
1621
|
-
|
|
1622
|
-
max = -1
|
|
1623
|
-
|
|
1624
|
-
if (min === 1 / 0 || max === -1 / 0) return out;
|
|
1654
|
+
const min = ptsX[0],
|
|
1655
|
+
max = ptsX[n - 1];
|
|
1656
|
+
if (void 0 === min || void 0 === max || min === 1 / 0 || max === -1 / 0) return out;
|
|
1625
1657
|
const comps = computeLinearCIComponents(data, x, y, xx => predictSingle(xx));
|
|
1626
1658
|
if (0 === comps.n) return out;
|
|
1627
1659
|
const z = Math.abs(invNorm(1 - alpha / 2));
|
|
@@ -1691,10 +1723,11 @@ function solveLinearSystem(A, b) {
|
|
|
1691
1723
|
return x;
|
|
1692
1724
|
}
|
|
1693
1725
|
function regressionPolynomial(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
1694
|
-
var _a;
|
|
1726
|
+
var _a, _b;
|
|
1695
1727
|
let degree = null !== (_a = options.degree) && void 0 !== _a ? _a : 0;
|
|
1696
1728
|
degree < 0 && (degree = 0);
|
|
1697
|
-
const
|
|
1729
|
+
const alpha = null !== (_b = options.alpha) && void 0 !== _b ? _b : .05,
|
|
1730
|
+
m = degree + 1,
|
|
1698
1731
|
sums = new Array(2 * degree + 1).fill(0);
|
|
1699
1732
|
visitPoints(data, x, y, (dx, dy) => {
|
|
1700
1733
|
let xp = 1;
|
|
@@ -1754,7 +1787,7 @@ function regressionPolynomial(data, x = d => d.x, y = d => d.y, options = {}) {
|
|
|
1754
1787
|
}
|
|
1755
1788
|
return out;
|
|
1756
1789
|
},
|
|
1757
|
-
confidenceInterval(N = 50
|
|
1790
|
+
confidenceInterval(N = 50) {
|
|
1758
1791
|
const out = [];
|
|
1759
1792
|
if (N <= 0) return out;
|
|
1760
1793
|
const comps = computeLinearCIComponents(data, x, y, predict);
|
|
@@ -7578,30 +7611,122 @@ function sortData(a, b, sortFields) {
|
|
|
7578
7611
|
return 0;
|
|
7579
7612
|
}
|
|
7580
7613
|
|
|
7614
|
+
const subBin = (data, options) => {
|
|
7615
|
+
var _a, _b, _c, _d;
|
|
7616
|
+
const {
|
|
7617
|
+
numBins: numBins,
|
|
7618
|
+
thresholds: thresholds,
|
|
7619
|
+
countName: countName,
|
|
7620
|
+
percentageName: percentageName,
|
|
7621
|
+
valuesName: valuesName,
|
|
7622
|
+
countField: countField,
|
|
7623
|
+
field: field,
|
|
7624
|
+
n: n,
|
|
7625
|
+
x0Name: x0Name,
|
|
7626
|
+
x1Name: x1Name
|
|
7627
|
+
} = options,
|
|
7628
|
+
groupField = options.groupField,
|
|
7629
|
+
usingGroup = Array.isArray(groupField) ? groupField.length > 0 : !!groupField,
|
|
7630
|
+
out = [];
|
|
7631
|
+
if (!usingGroup) for (let i = 0; i < numBins; i++) {
|
|
7632
|
+
const rec = {
|
|
7633
|
+
[x0Name]: thresholds[i],
|
|
7634
|
+
[x1Name]: thresholds[i + 1],
|
|
7635
|
+
[countName]: 0
|
|
7636
|
+
};
|
|
7637
|
+
options.includeValues && (rec[valuesName] = []), out.push(rec);
|
|
7638
|
+
}
|
|
7639
|
+
const binGroupCounts = usingGroup ? new Array(numBins).fill(0).map(() => new Map()) : [],
|
|
7640
|
+
binGroupValues = usingGroup ? new Array(numBins).fill(0).map(() => new Map()) : [],
|
|
7641
|
+
groupKeyOrder = [],
|
|
7642
|
+
groupKeySet = new Set(),
|
|
7643
|
+
groupRepr = new Map();
|
|
7644
|
+
for (let i = 0; i < n; i++) {
|
|
7645
|
+
const v = data[i][field];
|
|
7646
|
+
if (null == v) continue;
|
|
7647
|
+
const num = +v;
|
|
7648
|
+
if (Number.isFinite(num)) for (let j = 0; j < numBins; j++) {
|
|
7649
|
+
const left = thresholds[j],
|
|
7650
|
+
right = thresholds[j + 1];
|
|
7651
|
+
if (num >= left && num < right || j === numBins - 1 && num <= right) {
|
|
7652
|
+
const datumCount = null !== (_a = data[i][countField]) && void 0 !== _a ? _a : 1;
|
|
7653
|
+
if (usingGroup) {
|
|
7654
|
+
let gk;
|
|
7655
|
+
gk = isArray$1(groupField) ? groupField.map(f => String(data[i][f])).join("||") : String(data[i][groupField]);
|
|
7656
|
+
const m = binGroupCounts[j],
|
|
7657
|
+
prev = null !== (_b = m.get(gk)) && void 0 !== _b ? _b : 0;
|
|
7658
|
+
if (m.set(gk, prev + datumCount), groupKeySet.has(gk) || (groupKeySet.add(gk), groupKeyOrder.push(gk), isArray$1(groupField) ? groupRepr.set(gk, Object.fromEntries(groupField.map(f => [f, data[i][f]]))) : groupRepr.set(gk, data[i][groupField])), options && options.includeValues) {
|
|
7659
|
+
const vv = binGroupValues[j];
|
|
7660
|
+
vv.has(gk) || vv.set(gk, []);
|
|
7661
|
+
const arr = vv.get(gk);
|
|
7662
|
+
arr && arr.push(data[i]);
|
|
7663
|
+
}
|
|
7664
|
+
} else out[j][countName] += datumCount;
|
|
7665
|
+
options && options.includeValues && !usingGroup && out[j][valuesName].push(data[i]);
|
|
7666
|
+
break;
|
|
7667
|
+
}
|
|
7668
|
+
}
|
|
7669
|
+
}
|
|
7670
|
+
let totalCount = 0;
|
|
7671
|
+
const finalOut = [];
|
|
7672
|
+
if (usingGroup) {
|
|
7673
|
+
for (let j = 0; j < numBins; j++) for (const gk of groupKeyOrder) {
|
|
7674
|
+
const sum = null !== (_c = binGroupCounts[j].get(gk)) && void 0 !== _c ? _c : 0,
|
|
7675
|
+
rec = {
|
|
7676
|
+
[x0Name]: thresholds[j],
|
|
7677
|
+
[x1Name]: thresholds[j + 1],
|
|
7678
|
+
[countName]: sum
|
|
7679
|
+
},
|
|
7680
|
+
repr = null !== (_d = groupRepr.get(gk)) && void 0 !== _d ? _d : {};
|
|
7681
|
+
if (isArray$1(groupField)) for (const f of groupField) rec[f] = repr[f];else groupField && (rec[groupField] = repr);
|
|
7682
|
+
options && options.includeValues && (rec[valuesName] = binGroupValues[j].get(gk) || []), finalOut.push(rec), totalCount += sum;
|
|
7683
|
+
}
|
|
7684
|
+
const denominator = totalCount;
|
|
7685
|
+
for (const r of finalOut) r[percentageName] = denominator > 0 ? r[countName] / denominator : 0;
|
|
7686
|
+
} else {
|
|
7687
|
+
for (let i = 0, len = out.length; i < len; i++) totalCount += out[i][countName];
|
|
7688
|
+
for (let i = 0, len = out.length; i < len; i++) out[i][percentageName] = totalCount > 0 ? out[i][countName] / totalCount : 0, finalOut.push(out[i]);
|
|
7689
|
+
}
|
|
7690
|
+
return finalOut;
|
|
7691
|
+
};
|
|
7581
7692
|
const bin = (data, options) => {
|
|
7582
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
7693
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
7583
7694
|
const field = null == options ? void 0 : options.field;
|
|
7584
7695
|
if (!field) return [];
|
|
7585
|
-
const
|
|
7696
|
+
const countField = options.countField,
|
|
7697
|
+
n = data.length;
|
|
7586
7698
|
let thresholds,
|
|
7587
7699
|
min = 1 / 0,
|
|
7588
7700
|
max = -1 / 0;
|
|
7589
|
-
if (
|
|
7701
|
+
if (options.extent) min = options.extent[0], max = options.extent[1];else for (let i = 0; i < n; i++) {
|
|
7590
7702
|
const v = data[i][field];
|
|
7591
7703
|
if (isNil$1(v)) continue;
|
|
7592
7704
|
const num = +v;
|
|
7593
7705
|
Number.isFinite(num) && (num < min && (min = num), num > max && (max = num));
|
|
7594
7706
|
}
|
|
7595
7707
|
if (!Number.isFinite(min) || !Number.isFinite(max) || 0 === n) return [];
|
|
7596
|
-
if (options
|
|
7708
|
+
if (options.thresholds && options.thresholds.length) thresholds = options.thresholds.slice(), thresholds.sort((a, b) => a - b);else if ("number" == typeof options.step && options.step > 0) {
|
|
7597
7709
|
const stepSize = options.step;
|
|
7598
7710
|
let startMin = min;
|
|
7599
|
-
for (options.extent || (startMin = Math.floor(min / stepSize) * stepSize), thresholds = [startMin]; startMin
|
|
7711
|
+
for (options.extent || (startMin = Math.floor(min / stepSize) * stepSize), thresholds = [startMin]; startMin <= max;) startMin += stepSize, thresholds.push(startMin);
|
|
7600
7712
|
} else {
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7713
|
+
let bins = options.bins && options.bins > 0 ? Math.floor(options.bins) : 10;
|
|
7714
|
+
if (max - min > 1) {
|
|
7715
|
+
const start = Math.floor(min),
|
|
7716
|
+
stepSizeInt = Math.ceil((max - start) / bins);
|
|
7717
|
+
thresholds = new Array(bins + 1);
|
|
7718
|
+
for (let i = 0; i <= bins; i++) if (thresholds[i] = start + stepSizeInt * i, thresholds[i] > max) {
|
|
7719
|
+
bins = i, thresholds.length = bins + 1;
|
|
7720
|
+
break;
|
|
7721
|
+
}
|
|
7722
|
+
} else {
|
|
7723
|
+
const stepSize = (max - min) / bins;
|
|
7724
|
+
thresholds = new Array(bins + 1);
|
|
7725
|
+
for (let i = 0; i <= bins; i++) if (thresholds[i] = min + stepSize * i, thresholds[i] > max) {
|
|
7726
|
+
bins = i, thresholds.length = bins + 1;
|
|
7727
|
+
break;
|
|
7728
|
+
}
|
|
7729
|
+
}
|
|
7605
7730
|
}
|
|
7606
7731
|
const numBins = Math.max(0, thresholds.length - 1);
|
|
7607
7732
|
if (0 === numBins) return [];
|
|
@@ -7609,26 +7734,35 @@ const bin = (data, options) => {
|
|
|
7609
7734
|
x1Name = null !== (_d = null === (_c = options.outputNames) || void 0 === _c ? void 0 : _c.x1) && void 0 !== _d ? _d : "x1",
|
|
7610
7735
|
countName = null !== (_f = null === (_e = options.outputNames) || void 0 === _e ? void 0 : _e.count) && void 0 !== _f ? _f : "count",
|
|
7611
7736
|
valuesName = null !== (_h = null === (_g = options.outputNames) || void 0 === _g ? void 0 : _g.values) && void 0 !== _h ? _h : "values",
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
[
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
}
|
|
7631
|
-
return
|
|
7737
|
+
percentageName = null !== (_k = null === (_j = options.outputNames) || void 0 === _j ? void 0 : _j.percentage) && void 0 !== _k ? _k : "percentage",
|
|
7738
|
+
facetField = isArray$1(null == options ? void 0 : options.facetField) ? null == options ? void 0 : options.facetField : (null == options ? void 0 : options.facetField) ? [options.facetField] : [],
|
|
7739
|
+
groupField = isArray$1(null == options ? void 0 : options.groupField) ? null == options ? void 0 : options.groupField : (null == options ? void 0 : options.groupField) ? [options.groupField] : [],
|
|
7740
|
+
normalizedGroupField = groupField.length ? groupField : void 0,
|
|
7741
|
+
subViewOptions = Object.assign(Object.assign({}, options), {
|
|
7742
|
+
numBins: numBins,
|
|
7743
|
+
thresholds: thresholds,
|
|
7744
|
+
countName: countName,
|
|
7745
|
+
percentageName: percentageName,
|
|
7746
|
+
valuesName: valuesName,
|
|
7747
|
+
countField: countField,
|
|
7748
|
+
field: field,
|
|
7749
|
+
n: n,
|
|
7750
|
+
x0Name: x0Name,
|
|
7751
|
+
x1Name: x1Name,
|
|
7752
|
+
groupField: normalizedGroupField
|
|
7753
|
+
});
|
|
7754
|
+
if (!facetField.length) return subBin(data, subViewOptions);
|
|
7755
|
+
const subViewMap = {};
|
|
7756
|
+
return data.forEach(dataItem => {
|
|
7757
|
+
const subViewKey = facetField.map(field => null == dataItem ? void 0 : dataItem[field]).join("-&&-");
|
|
7758
|
+
subViewMap[subViewKey] ? subViewMap[subViewKey].push(dataItem) : subViewMap[subViewKey] = [dataItem];
|
|
7759
|
+
}), Object.values(subViewMap).map(subDataset => {
|
|
7760
|
+
const combinedGroupField = [...groupField, ...facetField];
|
|
7761
|
+
return subBin(subDataset, Object.assign(Object.assign({}, subViewOptions), {
|
|
7762
|
+
groupField: combinedGroupField.length ? combinedGroupField : void 0,
|
|
7763
|
+
n: subDataset.length
|
|
7764
|
+
}));
|
|
7765
|
+
}).flat();
|
|
7632
7766
|
};
|
|
7633
7767
|
|
|
7634
7768
|
const boxplot = (data, options) => {
|
|
@@ -7688,26 +7822,16 @@ const boxplot = (data, options) => {
|
|
|
7688
7822
|
q3 = quantileSorted(sorted, .75),
|
|
7689
7823
|
iqr = q3 - q1,
|
|
7690
7824
|
lowerBound = isArray$1(whiskers) ? quantileSorted(sorted, whiskers[0]) : q1 - whiskers * iqr,
|
|
7691
|
-
upperBound = isArray$1(whiskers) ? quantileSorted(sorted, whiskers[1]) : q3 + whiskers * iqr
|
|
7692
|
-
|
|
7693
|
-
for (let i = 0; i < sorted.length; i++)
|
|
7694
|
-
lowerWhisker = sorted[i];
|
|
7695
|
-
break;
|
|
7696
|
-
}
|
|
7697
|
-
let upperWhisker = dataMax;
|
|
7698
|
-
for (let i = sorted.length - 1; i >= 0; i--) if (sorted[i] <= upperBound) {
|
|
7699
|
-
upperWhisker = sorted[i];
|
|
7700
|
-
break;
|
|
7701
|
-
}
|
|
7702
|
-
const outliers = [];
|
|
7703
|
-
for (let i = 0; i < sorted.length; i++) (sorted[i] < lowerWhisker || sorted[i] > upperWhisker) && outliers.push(sorted[i]);
|
|
7825
|
+
upperBound = isArray$1(whiskers) ? quantileSorted(sorted, whiskers[1]) : q3 + whiskers * iqr,
|
|
7826
|
+
outliers = [];
|
|
7827
|
+
for (let i = 0; i < sorted.length; i++) (sorted[i] < lowerBound || sorted[i] > upperBound) && outliers.push(sorted[i]);
|
|
7704
7828
|
const obj = {},
|
|
7705
7829
|
representative = keyToGroup.get(key);
|
|
7706
7830
|
if (null !== keyName) obj[keyName] = representative;else if (isArray$1(groupField)) {
|
|
7707
7831
|
const groupObj = representative || {};
|
|
7708
7832
|
for (const f of groupField) obj[f] = groupObj[f];
|
|
7709
7833
|
}
|
|
7710
|
-
obj[countName] = count, obj[meanName] = mean, obj[q1Name] = q1, obj[medianName] = median, obj[q3Name] = q3, obj[iqrName] = iqr, obj[minName] = dataMin, obj[maxName] = dataMax, obj[lowerWhiskerName] =
|
|
7834
|
+
obj[countName] = count, obj[meanName] = mean, obj[q1Name] = q1, obj[medianName] = median, obj[q3Name] = q3, obj[iqrName] = iqr, obj[minName] = dataMin, obj[maxName] = dataMax, obj[lowerWhiskerName] = lowerBound, obj[upperWhiskerName] = upperBound, obj[outliersName] = outliers, includeValues && (obj[valuesName] = rawValues.get(key) || []), out.push(obj);
|
|
7711
7835
|
}
|
|
7712
7836
|
return out;
|
|
7713
7837
|
};
|
|
@@ -33881,9 +34005,10 @@ function autoRotate(items, rotateConfig) {
|
|
|
33881
34005
|
} = rotateConfig;
|
|
33882
34006
|
if (0 === labelRotateAngle.length || items.some(item => !!item.attribute.angle)) return;
|
|
33883
34007
|
let i = 0,
|
|
33884
|
-
n = 0
|
|
33885
|
-
|
|
33886
|
-
|
|
34008
|
+
n = 0,
|
|
34009
|
+
testAngle = labelRotateAngle;
|
|
34010
|
+
for (items.length > 2 && ("bottom" === orient || "top" === orient ? Math.abs(items[1].attribute.x - items[0].attribute.x) < items[0].attribute.fontSize / 2 && (testAngle = [labelRotateAngle[labelRotateAngle.length - 1]]) : Math.abs(items[1].attribute.y - items[0].attribute.y) < items[0].attribute.fontSize / 2 && (testAngle = [labelRotateAngle[labelRotateAngle.length - 1]])), testAngle && testAngle.length > 0 && (n = testAngle.length); i < n;) {
|
|
34011
|
+
const angle = testAngle[i++];
|
|
33887
34012
|
if (items.forEach(item => {
|
|
33888
34013
|
item.attribute.angle = degreeToRadian(angle);
|
|
33889
34014
|
}), tryRotate(orient, items), !hasIntersect(items)) break;
|
|
@@ -42729,12 +42854,26 @@ function canPlace($, bitmap, bound, checkBound = !0, pad = 0) {
|
|
|
42729
42854
|
return (!checkBound || !outOfBounds) && (outOfBounds && (range = clampRangeByBitmap($, range)), !bitmap.getRange(range));
|
|
42730
42855
|
}
|
|
42731
42856
|
function placeToCandidates($, bitmap, text, candidates = [], clampForce = !0, pad = 0, changePosition = !1) {
|
|
42732
|
-
|
|
42857
|
+
var _a, _b, _c, _d;
|
|
42858
|
+
const validCandidates = candidates.filter(candidate => isValid$1(candidate)),
|
|
42859
|
+
curX = null !== (_a = text.attribute.x) && void 0 !== _a ? _a : 0,
|
|
42860
|
+
curY = null !== (_b = text.attribute.y) && void 0 !== _b ? _b : 0,
|
|
42861
|
+
base = text.AABBBounds,
|
|
42862
|
+
candidateBounds = {
|
|
42863
|
+
x1: base.x1,
|
|
42864
|
+
x2: base.x2,
|
|
42865
|
+
y1: base.y1,
|
|
42866
|
+
y2: base.y2
|
|
42867
|
+
};
|
|
42868
|
+
let lastCandidate;
|
|
42733
42869
|
for (let i = 0; i < validCandidates.length; i++) {
|
|
42734
|
-
|
|
42735
|
-
|
|
42870
|
+
const c = validCandidates[i];
|
|
42871
|
+
lastCandidate = c;
|
|
42872
|
+
const dx = (null !== (_c = c.x) && void 0 !== _c ? _c : curX) - curX,
|
|
42873
|
+
dy = (null !== (_d = c.y) && void 0 !== _d ? _d : curY) - curY;
|
|
42874
|
+
if (candidateBounds.x1 = base.x1 + dx, candidateBounds.x2 = base.x2 + dx, candidateBounds.y1 = base.y1 + dy, candidateBounds.y2 = base.y2 + dy, canPlace($, bitmap, candidateBounds, clampForce, pad)) return bitmap.setRange(boundToRange($, candidateBounds, !0)), c;
|
|
42736
42875
|
}
|
|
42737
|
-
return !1;
|
|
42876
|
+
return changePosition && lastCandidate && text.setAttributes(lastCandidate), !1;
|
|
42738
42877
|
}
|
|
42739
42878
|
function place$2($, bitmap, s, attrs, text, bounds, labeling) {
|
|
42740
42879
|
var _a, _b;
|
|
@@ -43334,7 +43473,7 @@ class LabelBase extends AnimateComponent {
|
|
|
43334
43473
|
labels = isFunction$1(customLayoutFunc) ? customLayoutFunc(data, labels, this.getRelatedGraphic.bind(this), this._isCollectionBase ? d => this._idToPoint.get(d.id) : null, this) : this._layout(labels);
|
|
43335
43474
|
const filteredLabels = [],
|
|
43336
43475
|
overlapLabels = labels;
|
|
43337
|
-
if (!isBoolean$1(overlap) && isFunction$1(overlap.filterBeforeOverlap)) {
|
|
43476
|
+
if (!isBoolean$1(overlap) && isFunction$1(null == overlap ? void 0 : overlap.filterBeforeOverlap)) {
|
|
43338
43477
|
const getRelatedGraphic = this.getRelatedGraphic.bind(this);
|
|
43339
43478
|
labels.forEach(label => {
|
|
43340
43479
|
overlap.filterBeforeOverlap(label, getRelatedGraphic, this) ? overlapLabels.push(label) : filteredLabels.push(label);
|
|
@@ -53151,6 +53290,7 @@ const MOSAIC_CAT_END_PERCENT = `${PREFIX}_MOSAIC_CAT_END_PERCENT`;
|
|
|
53151
53290
|
const SEGMENT_FIELD_START = `${PREFIX}_SEGMENT_START`;
|
|
53152
53291
|
const SEGMENT_FIELD_END = `${PREFIX}_SEGMENT_END`;
|
|
53153
53292
|
const DEFAULT_KEY = `${PREFIX}_KEY`;
|
|
53293
|
+
const DEFAULT_MAP_LOOK_UP_KEY = `${PREFIX}_MAP_LOOK_UP_KEY`;
|
|
53154
53294
|
|
|
53155
53295
|
function mergeFields(targetFields, mergeFields) {
|
|
53156
53296
|
for (let i = 0; i < mergeFields.length; i++) {
|
|
@@ -61532,7 +61672,7 @@ const lookup = (data, opt) => {
|
|
|
61532
61672
|
});
|
|
61533
61673
|
};
|
|
61534
61674
|
|
|
61535
|
-
const version = "2.0.
|
|
61675
|
+
const version = "2.0.10";
|
|
61536
61676
|
|
|
61537
61677
|
const addVChartProperty = (data, op) => {
|
|
61538
61678
|
const context = op.beforeCall();
|
|
@@ -66355,6 +66495,9 @@ class CartesianAxis extends AxisComponent {
|
|
|
66355
66495
|
getScales() {
|
|
66356
66496
|
return this._scales;
|
|
66357
66497
|
}
|
|
66498
|
+
getInnerOffset() {
|
|
66499
|
+
return this._innerOffset;
|
|
66500
|
+
}
|
|
66358
66501
|
constructor(spec, options) {
|
|
66359
66502
|
super(spec, options);
|
|
66360
66503
|
this.type = ComponentTypeEnum.cartesianAxis;
|
|
@@ -73551,7 +73694,6 @@ class GeoSeries extends BaseSeries {
|
|
|
73551
73694
|
}
|
|
73552
73695
|
}
|
|
73553
73696
|
|
|
73554
|
-
const DEFAULT_MAP_LOOK_UP_KEY = `${PREFIX}_MAP_LOOK_UP_KEY`;
|
|
73555
73697
|
const map$1 = (data, opt) => {
|
|
73556
73698
|
if (data.features) {
|
|
73557
73699
|
data.features.forEach((f, index) => {
|
|
@@ -75109,7 +75251,8 @@ const labelRuleMap = {
|
|
|
75109
75251
|
rect3d: barLabel,
|
|
75110
75252
|
arc3d: pieLabel,
|
|
75111
75253
|
treemap: treemapLabel,
|
|
75112
|
-
venn: vennLabel
|
|
75254
|
+
venn: vennLabel,
|
|
75255
|
+
boxPlot: boxPlotLabel
|
|
75113
75256
|
};
|
|
75114
75257
|
function defaultLabelConfig(rule, labelInfo) {
|
|
75115
75258
|
var _a;
|
|
@@ -75476,6 +75619,44 @@ function sankeyLabelOverlapStrategy(series) {
|
|
|
75476
75619
|
];
|
|
75477
75620
|
return strategy;
|
|
75478
75621
|
}
|
|
75622
|
+
function boxPlotLabel(labelInfo) {
|
|
75623
|
+
return {
|
|
75624
|
+
customLayoutFunc: (labels, texts, getRelatedGraphic) => {
|
|
75625
|
+
for (let i = 0; i < texts.length; i++) {
|
|
75626
|
+
const text = texts[i];
|
|
75627
|
+
const textData = labels[i];
|
|
75628
|
+
if (!text || !textData) {
|
|
75629
|
+
continue;
|
|
75630
|
+
}
|
|
75631
|
+
const baseBoxPlot = getRelatedGraphic(textData);
|
|
75632
|
+
const meadianLineIndex = baseBoxPlot.getSubGraphic().findIndex(sub => sub.name === 'median');
|
|
75633
|
+
if (meadianLineIndex !== -1) {
|
|
75634
|
+
const bbox = baseBoxPlot.getSubGraphic()[meadianLineIndex].AABBBounds;
|
|
75635
|
+
if (labelInfo.series.direction === 'horizontal') {
|
|
75636
|
+
text.setAttributes({
|
|
75637
|
+
x: bbox.x2 + text.AABBBounds.width() / 2,
|
|
75638
|
+
y: (bbox.y1 + bbox.y2) / 2
|
|
75639
|
+
});
|
|
75640
|
+
}
|
|
75641
|
+
else {
|
|
75642
|
+
text.setAttributes({
|
|
75643
|
+
x: (bbox.x1 + bbox.x2) / 2,
|
|
75644
|
+
y: bbox.y2 + text.AABBBounds.height() / 2
|
|
75645
|
+
});
|
|
75646
|
+
}
|
|
75647
|
+
}
|
|
75648
|
+
else {
|
|
75649
|
+
const bbox = baseBoxPlot.AABBBounds;
|
|
75650
|
+
text.setAttributes({
|
|
75651
|
+
x: (bbox.x1 + bbox.x2) / 2,
|
|
75652
|
+
y: (bbox.y1 + bbox.y2) / 2
|
|
75653
|
+
});
|
|
75654
|
+
}
|
|
75655
|
+
}
|
|
75656
|
+
return texts;
|
|
75657
|
+
}
|
|
75658
|
+
};
|
|
75659
|
+
}
|
|
75479
75660
|
|
|
75480
75661
|
const waterfall = {
|
|
75481
75662
|
seriesFieldName: {
|
|
@@ -76295,6 +76476,9 @@ class BoxPlotMark extends GlyphMark {
|
|
|
76295
76476
|
};
|
|
76296
76477
|
}
|
|
76297
76478
|
}
|
|
76479
|
+
setDataLabelType() {
|
|
76480
|
+
return 'symbol';
|
|
76481
|
+
}
|
|
76298
76482
|
_getDefaultStyle() {
|
|
76299
76483
|
const defaultStyle = Object.assign(Object.assign({}, super._getDefaultStyle()), { lineWidth: 2, boxWidth: 30, shaftWidth: 20, shaftShape: 'line' });
|
|
76300
76484
|
return defaultStyle;
|
|
@@ -76562,6 +76746,12 @@ const boxPlot = {
|
|
|
76562
76746
|
}
|
|
76563
76747
|
};
|
|
76564
76748
|
|
|
76749
|
+
class BoxPlotSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
76750
|
+
_transformLabelSpec(spec) {
|
|
76751
|
+
this._addMarkLabelSpec(spec, "boxPlot");
|
|
76752
|
+
}
|
|
76753
|
+
}
|
|
76754
|
+
|
|
76565
76755
|
const DEFAULT_STROKE_WIDTH = 2;
|
|
76566
76756
|
const DEFAULT_SHAFT_FILL_OPACITY = 0.5;
|
|
76567
76757
|
const DEFAULT_SHAFT_SHAPE = 'line';
|
|
@@ -76572,6 +76762,7 @@ class BoxPlotSeries extends CartesianSeries {
|
|
|
76572
76762
|
constructor() {
|
|
76573
76763
|
super(...arguments);
|
|
76574
76764
|
this.type = SeriesTypeEnum.boxPlot;
|
|
76765
|
+
this.transformerConstructor = BoxPlotSeriesSpecTransformer;
|
|
76575
76766
|
this._bandPosition = 0;
|
|
76576
76767
|
}
|
|
76577
76768
|
getMinField() {
|
|
@@ -76723,6 +76914,18 @@ class BoxPlotSeries extends CartesianSeries {
|
|
|
76723
76914
|
this.setMarkStyle(outlierMark, outlierMarkPositionChannel, STATE_VALUE_ENUM.STATE_NORMAL, AttributeLevel.Series);
|
|
76724
76915
|
}
|
|
76725
76916
|
}
|
|
76917
|
+
initLabelMarkStyle(textMark) {
|
|
76918
|
+
if (!textMark) {
|
|
76919
|
+
return;
|
|
76920
|
+
}
|
|
76921
|
+
this.setMarkStyle(textMark, {
|
|
76922
|
+
fill: this.getColorAttribute(),
|
|
76923
|
+
text: (datum) => {
|
|
76924
|
+
return datum[this.getMedianField()];
|
|
76925
|
+
},
|
|
76926
|
+
z: this._fieldZ ? this.dataToPositionZ.bind(this) : null
|
|
76927
|
+
});
|
|
76928
|
+
}
|
|
76726
76929
|
initData() {
|
|
76727
76930
|
super.initData();
|
|
76728
76931
|
if (!this._data) {
|
|
@@ -76890,6 +77093,7 @@ class BoxPlotSeries extends CartesianSeries {
|
|
|
76890
77093
|
BoxPlotSeries.type = SeriesTypeEnum.boxPlot;
|
|
76891
77094
|
BoxPlotSeries.builtInTheme = { boxPlot };
|
|
76892
77095
|
BoxPlotSeries.mark = boxPlotSeriesMark;
|
|
77096
|
+
BoxPlotSeries.transformerConstructor = BoxPlotSeriesSpecTransformer;
|
|
76893
77097
|
const registerBoxplotSeries = () => {
|
|
76894
77098
|
registerBoxPlotMark();
|
|
76895
77099
|
registerSymbolMark();
|
|
@@ -96646,18 +96850,20 @@ class BaseCrossHair extends BaseComponent {
|
|
|
96646
96850
|
let y2 = -Infinity;
|
|
96647
96851
|
const { x: sx, y: sy } = this.getLayoutStartPoint();
|
|
96648
96852
|
bindingAxesIndex.forEach(idx => {
|
|
96853
|
+
var _a, _b;
|
|
96649
96854
|
(x1 = Infinity), (y1 = Infinity), (x2 = -Infinity), (y2 = -Infinity);
|
|
96650
96855
|
const axis = axesComponents.find(axis => axis.getSpecIndex() === idx);
|
|
96651
96856
|
if (!axis) {
|
|
96652
96857
|
return;
|
|
96653
96858
|
}
|
|
96859
|
+
const innerOffset = ((_b = (_a = axis).getInnerOffset) === null || _b === void 0 ? void 0 : _b.call(_a)) || { left: 0, right: 0, top: 0, bottom: 0 };
|
|
96654
96860
|
const regions = axis.getRegions();
|
|
96655
96861
|
regions.forEach(r => {
|
|
96656
96862
|
const { x: regionStartX, y: regionStartY } = r.getLayoutStartPoint();
|
|
96657
|
-
x1 = Math.min(x1, regionStartX - sx);
|
|
96658
|
-
y1 = Math.min(y1, regionStartY - sy);
|
|
96659
|
-
x2 = Math.max(x2, regionStartX + r.getLayoutRect().width - sx);
|
|
96660
|
-
y2 = Math.max(y2, regionStartY + r.getLayoutRect().height - sy);
|
|
96863
|
+
x1 = Math.min(x1, regionStartX - sx + innerOffset.left);
|
|
96864
|
+
y1 = Math.min(y1, regionStartY - sy + innerOffset.top);
|
|
96865
|
+
x2 = Math.max(x2, regionStartX + r.getLayoutRect().width - sx - innerOffset.right);
|
|
96866
|
+
y2 = Math.max(y2, regionStartY + r.getLayoutRect().height - sy - innerOffset.bottom);
|
|
96661
96867
|
});
|
|
96662
96868
|
map.set(idx, { x1, y1, x2, y2, axis: axis });
|
|
96663
96869
|
});
|
|
@@ -106713,4 +106919,4 @@ function registerSequentialAnimate() {
|
|
|
106713
106919
|
mixin(BaseMark, SequentialAnimate);
|
|
106714
106920
|
}
|
|
106715
106921
|
|
|
106716
|
-
export { AABBBounds, ACustomAnimate, AbstractComponent, AnimateExecutor, ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BandAxisMixin, BarChart, BarChartSpecTransformer, BarSeries, BarSeriesSpecTransformer, BaseArcMark, BaseChart, BaseChartSpecTransformer, BaseComponent, BaseComponentSpecTransformer, BaseHistogramChart, BaseMark, BasePieChart, BasePieChartSpecTransformer, BasePieSeries, BasePlugin, BasePolygonMark, BaseSeries, BaseSeriesSpecTransformer, BaseSeriesTooltipHelper, BaseWordCloudChart, BaseWordCloudChartSpecTransformer, BaseWordCloudSeries, Bounds, BoxPlotChart, BoxPlotSeries, Brush, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianChartSpecTransformer, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, ChartResizeZoomPlugin, CirclePackingChart, CirclePackingLayout, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, Color, ColorUtil, CommonChart, CommonChartSpecTransformer, CompilableData, ComponentMark, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DAY, DEFAULT_ANIMATION_CONFIG, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CLOSE_STROKE_JOIN, DEFAULT_COLORS, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_KEY, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_INTERPOLATE, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_SERIES_STYLE_NAME, DEFAULT_SMOOTH_INTERPOLATE, DataSet, DataView, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, Direction, DiscreteLegend, DomTooltipHandler, DotSeries, ElementHighlight, ElementSelect, Event$1 as Event, EventEmitter, Factory, FormatSpecifier, FormatterPlugin, FunnelChart, FunnelChartSpecTransformer, FunnelSeries, FunnelSeriesSpecTransformer, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GeoSeries, GlyphMark, GraphicUtil$1 as GraphicUtil, GridLayout, GroupMark, HOUR, HashTable, HashValue, HeatmapChart, HeatmapSeries, HistogramChart, HistogramChartSpecTransformer, GridLayout$1 as ImageCloudGridLayout, SpiralLayout as ImageCloudSpiralLayout, StackLayout as ImageCloudStackLayout, ImageMark, Indicator, InnerBBox, LRU, Label, Layout$2 as Layout, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearAxisMixin, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, Logger, LoggerLevel, MINUTE, MONTH, MOSAIC_CAT_END_PERCENT, MOSAIC_CAT_START_PERCENT, MOSAIC_VALUE_END_PERCENT, MOSAIC_VALUE_START_PERCENT, ManualTicker, MapChart, MapSeries, MarkPoint, MarkTypeEnum, Matrix, MediaQuery, MosaicChart, MosaicSeries, NEWTON_ITERATIONS, NEWTON_MIN_SLOPE, NumberUtil, OBBBounds, PREFIX, PathMark, PieChart, PieSeries, PieSeriesSpecTransformer, Player, Point, PointService, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarPoint, PolarSeries, PolygonMark, PositionEnum, ProgressLikeSeries, RGB, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumnChart, RangeColumnSeries, RangeColumnSeriesSpecTransformer, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RotateBySphereAnimate, RuleMark, SECOND, SEGMENT_FIELD_END, SEGMENT_FIELD_START, SMALL, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_BOTTOM, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, STATE_VALUE_ENUM, SUBDIVISION_MAX_ITERATIONS, SUBDIVISION_PRECISION, SankeyChart, SankeyLayout, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, Segment, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, Stack, StackChartMixin, StreamLight, SunburstChart, SunburstLayout, SunburstSeries, SymbolMark, TextMark, TextMeasure, ThemeManager, TimeUtil, Title, Tooltip, TooltipResult, TotalLabel, TransformLevel, TreeLayout, TreemapChart, TreemapLayout, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, VennChart, VennSeries, WORDCLOUD_SHAPE_HOOK_EVENT, WaterfallChart, WaterfallSeries, WordCloudChart, WordCloudSeries, CloudLayout as WordcloudCloudLayout, FastLayout as WordcloudFastLayout, GridLayout$2 as WordcloudGridLayout, YEAR, aabbSeparation, abs$1 as abs, acos$1 as acos, alternatingWave, animationConfig, array, arrayEqual, ascending$1 as ascending, asin$1 as asin, atan2$1 as atan2, barGrowIn, barGrowOut, barPresetAnimation, baseMerge, baseSeriesMark, binaryFuzzySearch, binaryFuzzySearchInNumberRange, bisect, boundsInRect, builtinThemes, calcLayoutNumber, calcPadding, calculateAnchorOfArc, calculateAnchorOfBounds, calculateMaxRadius, calculateNodeValue$1 as calculateNodeValue, cartesianToPolar, centerToCorner, circleArea, circleCircleIntersection, circleOverlap, transform$8 as circlePackingTransform, clamp$1 as clamp, clampAngleByDegree, clampAngleByRadian, clampDegree, clampRadian, clampRange$1 as clampRange, clamper, clone$1 as clone, cloneDeep, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeActualDataScheme, computeQuadrant, conjugateGradient, constant$1 as constant, containedInCircles, convertPoint, cornerToCenter, cos$1 as cos, createArc, createArc3d, createArea, createGroup, createImage, createLine, createPath, createPyramid3d, createRect, createRect3d, createRichText, createScale, createScaleWithSpec, createSymbol, createText, crossProduct$1 as crossProduct, crossProductPoint, darkTheme, dataScheme, dateGetterName, dateSetterName, dayCount, dayField, dayFloor, dayOffset, debounce, VChart as default, defaultThemeName, defaults, degreeToRadian, destination, deviation, diagonalCenterToEdge, diagonalTopLeftToBottomRight, dotProduct, drawCardioid, drawRegularPolygon, eachAfter, eachBefore, eastAsianCharacterInfo, ecdf, epanechnikov, epsilon$1 as epsilon, exponent, extent$2 as extent, fakeRandom, field$2 as field, findBoundaryAngles, findMarkGraphic, findZeroOfFunction, fixPrecision$1 as fixPrecision, flattenArray, flattenNodes, flattenTreeLinks, formatLinkPath, formatLinkPolygon, formatNodeRect, formatNumerals, formatSpecifier, formatTypes, fullYearGetterName, fullYearSetterName, functionTransform, fuzzyEqualNumber$1 as fuzzyEqualNumber, fuzzyEqualVec, gaussian, gemv, generateCardioidPoints, generateCeil, generateCount, generateIsEmptyPixel, generateMaskCanvas, generatePoints, generateStepInterval, get$1 as get, getAABBFromPoints, getActualColor, getActualNumValue, getAlignEndTexts, getAlignStartTexts, getAngleByPoint, getArcsFromCircles, getArcsFromPath, getBoundsOfNodes, getCartesianCrosshairRect, getCartesianDimensionInfo, getCenter$1 as getCenter, getCirclesFromArcs, getColorSchemeBySeries, getCombinedSizeOfRegions, getContainerSize, getContextFont, getDataScheme, getDatumOfGraphic, getDecimalPlaces, getDiffAttributesOfGraphic, getDimensionInfoByValue, getElementAbsolutePosition, getElementRelativePosition, getFieldAlias, getFormatFromValue, getFunnelTheme, getGroupAnimationParams, getIntersectPoint, getIntervalOptions, getMaxRadiusAndCenter, getMergedTheme, getOBBFromLine, getPathFromArcs, getPolarDimensionInfo, getRectIntersect, getRegionStackGroup, getScale$1 as getScale, getScaleX, getScaleY, getScrollLeft, getScrollTop, getShapeFunction, getSpecInfo, getTheme, getTimeFormatter, getter, graphicCreator, halfPi$2 as halfPi, has$1 as has, hasParentElement, hasThemeMerged, hexToRgb, hourCount, hourField, hourFloor, hourOffset, hoursGetterName, hoursSetterName, hslToRgb, transform as imagecloudTransform, interpolateDate, interpolateNumber$1 as interpolateNumber, interpolateNumberRound, interpolateRgb$1 as interpolateRgb, interpolateString, intersectionArea, isArray$1 as isArray, isArrayLike$1 as isArrayLike, isBase64$1 as isBase64, isBoolean$1 as isBoolean, isCollectionMark, isColorKey, isDate$1 as isDate, isEmpty, isEqual, isFunction$1 as isFunction, isGreater, isHTMLElement, isIntersect$1 as isIntersect, isLess, isNil$1 as isNil, isNull$1 as isNull, isNumber$1 as isNumber, isNumberClose, isNumeric$1 as isNumeric, isObject$2 as isObject, isObjectLike$1 as isObjectLike, isPercent, isPercentOffset, isPlainObject$1 as isPlainObject, isPointInLine, isPointInPolygon, isPolarAxisSeries, isProgressiveDataColorScheme, isRectIntersect, isRegExp$1 as isRegExp, isRotateAABBIntersect, isShallowEqual, isSpecValueWithScale, isString$1 as isString, isTokenKey, isType$1 as isType, isUndefined$1 as isUndefined, isValid$1 as isValid, isValidNumber$1 as isValidNumber, isValidOrient, isValidUrl$1 as isValidUrl, isValueInScaleDomain, isXAxis, isYAxis, isZAxis, kde, keys, last, lengthFromPointToLine, lightTheme, lineIntersectPolygon, loadImage, loadImages, lookup, lowerCamelCaseToMiddle, lowerFirst$1 as lowerFirst, max$1 as max, maxInArray, measureText, median$1 as median, memoize, merge$1 as merge, mergeAABB, mergeFields, millisecondsCount, millisecondsFloor, millisecondsGetterName, millisecondsOffset, millisecondsSetterName, min$1 as min, minInArray, minuteCount, minuteField, minuteFloor, minuteOffset, minutesGetterName, minutesSetterName, mixin, monthCount, monthField, monthFloor, monthGetterName, monthOffset, monthSetterName, nelderMead, norm2, normalTransform, normalizeAngle, normalizeLayoutPaddingSpec, normalizePadding, numberSpecifierReg, obbSeparation, ordinaryLeastSquares, pad$2 as pad, parseUint8ToImageData, particleEffect, pi$1 as pi, pi2, pick, pickWithout, pieDisappear, pieEnter, pieExit, piePresetAnimation, pointAt, pointBetweenLine, pointInAABB, pointInLine, pointInOBB, pointInRect, polarToCartesian, polygonContainPoint, polygonIntersectPolygon, pow$1 as pow, precisionAdd, precisionSub, pulseWave, quantileSorted, queryColorFromColorScheme, queryToken, rSquared, radianToDegree, randomLCG, randomOpacity, range, rectInsideAnotherRect, registerAllEnv, registerAllMarks, registerAnimate, registerArc3d, registerArcAnimation, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBarAnimation, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerChartResizeZoomPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomAnimate, registerCustomMark, registerDataSetInstanceParser, registerDataSetInstanceTransform, registerDataZoom, registerDimensionEvents, registerDimensionHover, registerDimensionTooltipProcessor, registerDirectionalLight, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerDragPlugin, registerElementActive, registerElementActiveByLegend, registerElementHighlight, registerElementHighlightByGroup, registerElementHighlightByKey, registerElementHighlightByLegend, registerElementHighlightByName, registerElementSelect, registerFormatPlugin, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGesturePlugin, registerGlyphMark, registerGridLayout, registerGroupMark, registerGroupTooltipProcessor, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogramChart, registerHtmlAttributePlugin, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLine, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapSeries, registerMarkArea, registerMarkFilterTransform, registerMarkLine, registerMarkMapTransform, registerMarkPoint, registerMarkTooltipProcessor, registerMediaQuery, registerMosaicChart, registerMosaicSeries, registerNodeEnv, registerOrthoCamera, registerPathMark, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonAnimation, registerPolygonMark, registerPoptip, registerPyramid3d, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumnChart, registerRangeColumnSeries, registerReactAttributePlugin, registerRect, registerRect3d, registerRectAnimation, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScaleInOutAnimation, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSequentialAnimate, registerShadowRoot, registerStateTransition, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerAnimate$1 as registerVRenderAnimate, registerVennChart, registerVennSeries, registerViewTransform3dPlugin, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, regressionLinear, regressionLogistic, regressionLowess, regressionPolynomial, removeBorder, removeTheme, rgbToHex, rgbToHsl, rippleEffect, rotatePoint, rotationScan, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, sankeyTransform, scale$2 as scale, scaleAndMiddleShape, scott, secondCount, secondField, secondFloor, secondOffset, secondsGetterName, secondsSetterName, seedRandom, segmentation, setDefaultCrosshairForCartesianChart, shapes, shouldMarkDoMorph, shuffleArray, silverman, simpleField, sin$1 as sin, snakeWave, sortDataInAxisHelper, sortStackValueGroup, span, specTransform, spiralEffect, spirals, sqrt$3 as sqrt, stack, stackGroup, stackMosaic, stackMosaicTotal, stackOffsetSilhouette, stackTotal, stringWidth, styleStringToObject, substitute, transform$6 as sunburstTransform, svgParser, tau$1 as tau, themeExist, themes, throttle, tickStep, toCamelCase, toDate, toNumber, toPercent, toValidNumber$1 as toValidNumber, token, transformBounds, transformBoundsWithMatrix, transformColorSchemeToStandardStruct, transformToGraphic, transform$5 as treeTransform, transform$4 as treemapTransform, truncate$1 as truncate, unionAABB, uniqArray, upperFirst$1 as upperFirst, userAnimationConfig, utcDayCount, utcDayField, utcDayFloor, utcDayOffset, utcHourField, utcHourFloor, utcHourOffset, utcMinuteField, utcMinuteFloor, utcMinuteOffset, utcMonthCount, utcMonthField, utcMonthFloor, utcMonthOffset, utcSecondField, utcSecondFloor, utcSecondOffset, utcYearCount, utcYearField, utcYearFloor, utcYearOffset, uuid$1 as uuid, valueInScaleRange, variance$1 as variance, vennMarkTransform, vennTransform, version, vglobal, visitPoints, warn, weightedSum, transform$1 as wordcloudShapeTransform, transform$2 as wordcloudTransform, yearCount, yearField, yearFloor, yearOffset, zero, zeros, zerosM };
|
|
106922
|
+
export { AABBBounds, ACustomAnimate, AbstractComponent, AnimateExecutor, ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BandAxisMixin, BarChart, BarChartSpecTransformer, BarSeries, BarSeriesSpecTransformer, BaseArcMark, BaseChart, BaseChartSpecTransformer, BaseComponent, BaseComponentSpecTransformer, BaseHistogramChart, BaseMark, BasePieChart, BasePieChartSpecTransformer, BasePieSeries, BasePlugin, BasePolygonMark, BaseSeries, BaseSeriesSpecTransformer, BaseSeriesTooltipHelper, BaseWordCloudChart, BaseWordCloudChartSpecTransformer, BaseWordCloudSeries, Bounds, BoxPlotChart, BoxPlotSeries, Brush, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianChartSpecTransformer, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, ChartResizeZoomPlugin, CirclePackingChart, CirclePackingLayout, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, Color, ColorUtil, CommonChart, CommonChartSpecTransformer, CompilableData, ComponentMark, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DAY, DEFAULT_ANIMATION_CONFIG, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CLOSE_STROKE_JOIN, DEFAULT_COLORS, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_KEY, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_INTERPOLATE, DEFAULT_MAP_LOOK_UP_KEY, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_SERIES_STYLE_NAME, DEFAULT_SMOOTH_INTERPOLATE, DataSet, DataView, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, Direction, DiscreteLegend, DomTooltipHandler, DotSeries, ElementHighlight, ElementSelect, Event$1 as Event, EventEmitter, Factory, FormatSpecifier, FormatterPlugin, FunnelChart, FunnelChartSpecTransformer, FunnelSeries, FunnelSeriesSpecTransformer, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GeoSeries, GlyphMark, GraphicUtil$1 as GraphicUtil, GridLayout, GroupMark, HOUR, HashTable, HashValue, HeatmapChart, HeatmapSeries, HistogramChart, HistogramChartSpecTransformer, GridLayout$1 as ImageCloudGridLayout, SpiralLayout as ImageCloudSpiralLayout, StackLayout as ImageCloudStackLayout, ImageMark, Indicator, InnerBBox, LRU, Label, Layout$2 as Layout, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearAxisMixin, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, Logger, LoggerLevel, MINUTE, MONTH, MOSAIC_CAT_END_PERCENT, MOSAIC_CAT_START_PERCENT, MOSAIC_VALUE_END_PERCENT, MOSAIC_VALUE_START_PERCENT, ManualTicker, MapChart, MapSeries, MarkPoint, MarkTypeEnum, Matrix, MediaQuery, MosaicChart, MosaicSeries, NEWTON_ITERATIONS, NEWTON_MIN_SLOPE, NumberUtil, OBBBounds, PREFIX, PathMark, PieChart, PieSeries, PieSeriesSpecTransformer, Player, Point, PointService, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarPoint, PolarSeries, PolygonMark, PositionEnum, ProgressLikeSeries, RGB, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumnChart, RangeColumnSeries, RangeColumnSeriesSpecTransformer, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RotateBySphereAnimate, RuleMark, SECOND, SEGMENT_FIELD_END, SEGMENT_FIELD_START, SMALL, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_BOTTOM, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, STATE_VALUE_ENUM, SUBDIVISION_MAX_ITERATIONS, SUBDIVISION_PRECISION, SankeyChart, SankeyLayout, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, Segment, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, Stack, StackChartMixin, StreamLight, SunburstChart, SunburstLayout, SunburstSeries, SymbolMark, TextMark, TextMeasure, ThemeManager, TimeUtil, Title, Tooltip, TooltipResult, TotalLabel, TransformLevel, TreeLayout, TreemapChart, TreemapLayout, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, VennChart, VennSeries, WORDCLOUD_SHAPE_HOOK_EVENT, WaterfallChart, WaterfallSeries, WordCloudChart, WordCloudSeries, CloudLayout as WordcloudCloudLayout, FastLayout as WordcloudFastLayout, GridLayout$2 as WordcloudGridLayout, YEAR, aabbSeparation, abs$1 as abs, acos$1 as acos, alternatingWave, animationConfig, array, arrayEqual, ascending$1 as ascending, asin$1 as asin, atan2$1 as atan2, barGrowIn, barGrowOut, barPresetAnimation, baseMerge, baseSeriesMark, binaryFuzzySearch, binaryFuzzySearchInNumberRange, bisect, boundsInRect, builtinThemes, calcLayoutNumber, calcPadding, calculateAnchorOfArc, calculateAnchorOfBounds, calculateMaxRadius, calculateNodeValue$1 as calculateNodeValue, cartesianToPolar, centerToCorner, circleArea, circleCircleIntersection, circleOverlap, transform$8 as circlePackingTransform, clamp$1 as clamp, clampAngleByDegree, clampAngleByRadian, clampDegree, clampRadian, clampRange$1 as clampRange, clamper, clone$1 as clone, cloneDeep, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeActualDataScheme, computeQuadrant, conjugateGradient, constant$1 as constant, containedInCircles, convertPoint, cornerToCenter, cos$1 as cos, createArc, createArc3d, createArea, createGroup, createImage, createLine, createPath, createPyramid3d, createRect, createRect3d, createRichText, createScale, createScaleWithSpec, createSymbol, createText, crossProduct$1 as crossProduct, crossProductPoint, darkTheme, dataScheme, dateGetterName, dateSetterName, dayCount, dayField, dayFloor, dayOffset, debounce, VChart as default, defaultThemeName, defaults, degreeToRadian, destination, deviation, diagonalCenterToEdge, diagonalTopLeftToBottomRight, dotProduct, drawCardioid, drawRegularPolygon, eachAfter, eachBefore, eastAsianCharacterInfo, ecdf, epanechnikov, epsilon$1 as epsilon, exponent, extent$2 as extent, fakeRandom, field$2 as field, findBoundaryAngles, findMarkGraphic, findZeroOfFunction, fixPrecision$1 as fixPrecision, flattenArray, flattenNodes, flattenTreeLinks, formatLinkPath, formatLinkPolygon, formatNodeRect, formatNumerals, formatSpecifier, formatTypes, fullYearGetterName, fullYearSetterName, functionTransform, fuzzyEqualNumber$1 as fuzzyEqualNumber, fuzzyEqualVec, gaussian, gemv, generateCardioidPoints, generateCeil, generateCount, generateIsEmptyPixel, generateMaskCanvas, generatePoints, generateStepInterval, get$1 as get, getAABBFromPoints, getActualColor, getActualNumValue, getAlignEndTexts, getAlignStartTexts, getAngleByPoint, getArcsFromCircles, getArcsFromPath, getBoundsOfNodes, getCartesianCrosshairRect, getCartesianDimensionInfo, getCenter$1 as getCenter, getCirclesFromArcs, getColorSchemeBySeries, getCombinedSizeOfRegions, getContainerSize, getContextFont, getDataScheme, getDatumOfGraphic, getDecimalPlaces, getDiffAttributesOfGraphic, getDimensionInfoByValue, getElementAbsolutePosition, getElementRelativePosition, getFieldAlias, getFormatFromValue, getFunnelTheme, getGroupAnimationParams, getIntersectPoint, getIntervalOptions, getMaxRadiusAndCenter, getMergedTheme, getOBBFromLine, getPathFromArcs, getPolarDimensionInfo, getRectIntersect, getRegionStackGroup, getScale$1 as getScale, getScaleX, getScaleY, getScrollLeft, getScrollTop, getShapeFunction, getSpecInfo, getTheme, getTimeFormatter, getter, graphicCreator, halfPi$2 as halfPi, has$1 as has, hasParentElement, hasThemeMerged, hexToRgb, hourCount, hourField, hourFloor, hourOffset, hoursGetterName, hoursSetterName, hslToRgb, transform as imagecloudTransform, interpolateDate, interpolateNumber$1 as interpolateNumber, interpolateNumberRound, interpolateRgb$1 as interpolateRgb, interpolateString, intersectionArea, isArray$1 as isArray, isArrayLike$1 as isArrayLike, isBase64$1 as isBase64, isBoolean$1 as isBoolean, isCollectionMark, isColorKey, isDate$1 as isDate, isEmpty, isEqual, isFunction$1 as isFunction, isGreater, isHTMLElement, isIntersect$1 as isIntersect, isLess, isNil$1 as isNil, isNull$1 as isNull, isNumber$1 as isNumber, isNumberClose, isNumeric$1 as isNumeric, isObject$2 as isObject, isObjectLike$1 as isObjectLike, isPercent, isPercentOffset, isPlainObject$1 as isPlainObject, isPointInLine, isPointInPolygon, isPolarAxisSeries, isProgressiveDataColorScheme, isRectIntersect, isRegExp$1 as isRegExp, isRotateAABBIntersect, isShallowEqual, isSpecValueWithScale, isString$1 as isString, isTokenKey, isType$1 as isType, isUndefined$1 as isUndefined, isValid$1 as isValid, isValidNumber$1 as isValidNumber, isValidOrient, isValidUrl$1 as isValidUrl, isValueInScaleDomain, isXAxis, isYAxis, isZAxis, kde, keys, last, lengthFromPointToLine, lightTheme, lineIntersectPolygon, loadImage, loadImages, lookup, lowerCamelCaseToMiddle, lowerFirst$1 as lowerFirst, max$1 as max, maxInArray, measureText, median$1 as median, memoize, merge$1 as merge, mergeAABB, mergeFields, millisecondsCount, millisecondsFloor, millisecondsGetterName, millisecondsOffset, millisecondsSetterName, min$1 as min, minInArray, minuteCount, minuteField, minuteFloor, minuteOffset, minutesGetterName, minutesSetterName, mixin, monthCount, monthField, monthFloor, monthGetterName, monthOffset, monthSetterName, nelderMead, norm2, normalTransform, normalizeAngle, normalizeLayoutPaddingSpec, normalizePadding, numberSpecifierReg, obbSeparation, ordinaryLeastSquares, pad$2 as pad, parseUint8ToImageData, particleEffect, pi$1 as pi, pi2, pick, pickWithout, pieDisappear, pieEnter, pieExit, piePresetAnimation, pointAt, pointBetweenLine, pointInAABB, pointInLine, pointInOBB, pointInRect, polarToCartesian, polygonContainPoint, polygonIntersectPolygon, pow$1 as pow, precisionAdd, precisionSub, pulseWave, quantileSorted, queryColorFromColorScheme, queryToken, rSquared, radianToDegree, randomLCG, randomOpacity, range, rectInsideAnotherRect, registerAllEnv, registerAllMarks, registerAnimate, registerArc3d, registerArcAnimation, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBarAnimation, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerChartResizeZoomPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomAnimate, registerCustomMark, registerDataSetInstanceParser, registerDataSetInstanceTransform, registerDataZoom, registerDimensionEvents, registerDimensionHover, registerDimensionTooltipProcessor, registerDirectionalLight, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerDragPlugin, registerElementActive, registerElementActiveByLegend, registerElementHighlight, registerElementHighlightByGroup, registerElementHighlightByKey, registerElementHighlightByLegend, registerElementHighlightByName, registerElementSelect, registerFormatPlugin, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGesturePlugin, registerGlyphMark, registerGridLayout, registerGroupMark, registerGroupTooltipProcessor, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogramChart, registerHtmlAttributePlugin, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLine, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapSeries, registerMarkArea, registerMarkFilterTransform, registerMarkLine, registerMarkMapTransform, registerMarkPoint, registerMarkTooltipProcessor, registerMediaQuery, registerMosaicChart, registerMosaicSeries, registerNodeEnv, registerOrthoCamera, registerPathMark, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonAnimation, registerPolygonMark, registerPoptip, registerPyramid3d, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumnChart, registerRangeColumnSeries, registerReactAttributePlugin, registerRect, registerRect3d, registerRectAnimation, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScaleInOutAnimation, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSequentialAnimate, registerShadowRoot, registerStateTransition, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerAnimate$1 as registerVRenderAnimate, registerVennChart, registerVennSeries, registerViewTransform3dPlugin, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, regressionLinear, regressionLogistic, regressionLowess, regressionPolynomial, removeBorder, removeTheme, rgbToHex, rgbToHsl, rippleEffect, rotatePoint, rotationScan, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, sankeyTransform, scale$2 as scale, scaleAndMiddleShape, scott, secondCount, secondField, secondFloor, secondOffset, secondsGetterName, secondsSetterName, seedRandom, segmentation, setDefaultCrosshairForCartesianChart, shapes, shouldMarkDoMorph, shuffleArray, silverman, simpleField, sin$1 as sin, snakeWave, sortDataInAxisHelper, sortStackValueGroup, span, specTransform, spiralEffect, spirals, sqrt$3 as sqrt, stack, stackGroup, stackMosaic, stackMosaicTotal, stackOffsetSilhouette, stackTotal, stringWidth, styleStringToObject, substitute, transform$6 as sunburstTransform, svgParser, tau$1 as tau, themeExist, themes, throttle, tickStep, toCamelCase, toDate, toNumber, toPercent, toValidNumber$1 as toValidNumber, token, transformBounds, transformBoundsWithMatrix, transformColorSchemeToStandardStruct, transformToGraphic, transform$5 as treeTransform, transform$4 as treemapTransform, truncate$1 as truncate, unionAABB, uniqArray, upperFirst$1 as upperFirst, userAnimationConfig, utcDayCount, utcDayField, utcDayFloor, utcDayOffset, utcHourField, utcHourFloor, utcHourOffset, utcMinuteField, utcMinuteFloor, utcMinuteOffset, utcMonthCount, utcMonthField, utcMonthFloor, utcMonthOffset, utcSecondField, utcSecondFloor, utcSecondOffset, utcYearCount, utcYearField, utcYearFloor, utcYearOffset, uuid$1 as uuid, valueInScaleRange, variance$1 as variance, vennMarkTransform, vennTransform, version, vglobal, visitPoints, warn, weightedSum, transform$1 as wordcloudShapeTransform, transform$2 as wordcloudTransform, yearCount, yearField, yearFloor, yearOffset, zero, zeros, zerosM };
|