@hpcc-js/chart 2.83.3 → 2.83.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +12 -19
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +11 -20
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +7 -7
- package/src/__package__.ts +2 -2
- package/src/test.ts +0 -16
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/test.d.ts +0 -4
- package/types/test.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/test.d.ts +0 -4
package/dist/index.es6.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { INDChart, ITooltip, I2DChart, I1DChart, I2DAggrChart } from '@hpcc-js/api';
|
|
2
|
-
import { select, scaleTime, timeParse, timeFormat, scaleLog, format, scalePow, scaleLinear, scaleBand,
|
|
2
|
+
import { publish, select, scaleTime, timeParse, timeFormat, scaleLog, format, scalePow, scaleLinear, scaleBand, SVGWidget, Utility, brush, brushX, brushY, brushSelection, d3Event, hsl, min as min$1, max as max$1, scaleSqrt, extent, local, Text, FAChar, descending as descending$1, HTMLWidget, thresholdSturges, tickStep, range, drag, event, dispatch, interpolateHcl, interpolate, Palette, rgb, CanvasWidget, zoom } from '@hpcc-js/common';
|
|
3
3
|
import { normalizeRadians, degreesToRadians } from '@hpcc-js/util';
|
|
4
4
|
|
|
5
5
|
var PKG_NAME = "@hpcc-js/chart";
|
|
6
|
-
var PKG_VERSION = "2.83.
|
|
7
|
-
var BUILD_VERSION = "2.105.
|
|
6
|
+
var PKG_VERSION = "2.83.4";
|
|
7
|
+
var BUILD_VERSION = "2.105.12";
|
|
8
8
|
|
|
9
9
|
/******************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
@@ -5213,8 +5213,6 @@ function areaRingEnd() {
|
|
|
5213
5213
|
areaPoint(x00$2, y00$2);
|
|
5214
5214
|
}
|
|
5215
5215
|
|
|
5216
|
-
var pathArea = areaStream;
|
|
5217
|
-
|
|
5218
5216
|
var x0$2 = Infinity,
|
|
5219
5217
|
y0$2 = x0$2,
|
|
5220
5218
|
x1 = -x0$2,
|
|
@@ -5240,8 +5238,6 @@ function boundsPoint(x, y) {
|
|
|
5240
5238
|
if (y > y1) y1 = y;
|
|
5241
5239
|
}
|
|
5242
5240
|
|
|
5243
|
-
var boundsStream$1 = boundsStream;
|
|
5244
|
-
|
|
5245
5241
|
// TODO Enforce positive area for exterior, negative area for interior?
|
|
5246
5242
|
|
|
5247
5243
|
var X0 = 0,
|
|
@@ -5339,8 +5335,6 @@ function centroidPointRing(x, y) {
|
|
|
5339
5335
|
centroidPoint(x0$1 = x, y0$1 = y);
|
|
5340
5336
|
}
|
|
5341
5337
|
|
|
5342
|
-
var pathCentroid = centroidStream;
|
|
5343
|
-
|
|
5344
5338
|
function PathContext(context) {
|
|
5345
5339
|
this._context = context;
|
|
5346
5340
|
}
|
|
@@ -5424,8 +5418,6 @@ function lengthPoint(x, y) {
|
|
|
5424
5418
|
x0 = x, y0 = y;
|
|
5425
5419
|
}
|
|
5426
5420
|
|
|
5427
|
-
var pathMeasure = lengthStream;
|
|
5428
|
-
|
|
5429
5421
|
function PathString() {
|
|
5430
5422
|
this._string = [];
|
|
5431
5423
|
}
|
|
@@ -5500,23 +5492,23 @@ function geoPath(projection, context) {
|
|
|
5500
5492
|
}
|
|
5501
5493
|
|
|
5502
5494
|
path.area = function(object) {
|
|
5503
|
-
geoStream(object, projectionStream(
|
|
5504
|
-
return
|
|
5495
|
+
geoStream(object, projectionStream(areaStream));
|
|
5496
|
+
return areaStream.result();
|
|
5505
5497
|
};
|
|
5506
5498
|
|
|
5507
5499
|
path.measure = function(object) {
|
|
5508
|
-
geoStream(object, projectionStream(
|
|
5509
|
-
return
|
|
5500
|
+
geoStream(object, projectionStream(lengthStream));
|
|
5501
|
+
return lengthStream.result();
|
|
5510
5502
|
};
|
|
5511
5503
|
|
|
5512
5504
|
path.bounds = function(object) {
|
|
5513
|
-
geoStream(object, projectionStream(boundsStream
|
|
5514
|
-
return boundsStream
|
|
5505
|
+
geoStream(object, projectionStream(boundsStream));
|
|
5506
|
+
return boundsStream.result();
|
|
5515
5507
|
};
|
|
5516
5508
|
|
|
5517
5509
|
path.centroid = function(object) {
|
|
5518
|
-
geoStream(object, projectionStream(
|
|
5519
|
-
return
|
|
5510
|
+
geoStream(object, projectionStream(centroidStream));
|
|
5511
|
+
return centroidStream.result();
|
|
5520
5512
|
};
|
|
5521
5513
|
|
|
5522
5514
|
path.projection = function(_) {
|
|
@@ -11126,6 +11118,7 @@ SummaryC.prototype.playInterval = function (_) {
|
|
|
11126
11118
|
};
|
|
11127
11119
|
|
|
11128
11120
|
// Word cloud layout by Jason Davies, https://www.jasondavies.com/wordcloud/
|
|
11121
|
+
// Algorithm due to Jonathan Feinberg, http://static.mrfeinberg.com/bv_ch03.pdf
|
|
11129
11122
|
var cloudRadians = Math.PI / 180;
|
|
11130
11123
|
var cw = 1 << 11 >> 5;
|
|
11131
11124
|
var ch = 1 << 11;
|