@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.js CHANGED
@@ -5,8 +5,8 @@
5
5
  })(this, (function (exports, api, common, util) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/chart";
8
- var PKG_VERSION = "2.83.3";
9
- var BUILD_VERSION = "2.105.9";
8
+ var PKG_VERSION = "2.83.4";
9
+ var BUILD_VERSION = "2.105.12";
10
10
 
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -5215,8 +5215,6 @@
5215
5215
  areaPoint(x00$2, y00$2);
5216
5216
  }
5217
5217
 
5218
- var pathArea = areaStream;
5219
-
5220
5218
  var x0$2 = Infinity,
5221
5219
  y0$2 = x0$2,
5222
5220
  x1 = -x0$2,
@@ -5242,8 +5240,6 @@
5242
5240
  if (y > y1) y1 = y;
5243
5241
  }
5244
5242
 
5245
- var boundsStream$1 = boundsStream;
5246
-
5247
5243
  // TODO Enforce positive area for exterior, negative area for interior?
5248
5244
 
5249
5245
  var X0 = 0,
@@ -5341,8 +5337,6 @@
5341
5337
  centroidPoint(x0$1 = x, y0$1 = y);
5342
5338
  }
5343
5339
 
5344
- var pathCentroid = centroidStream;
5345
-
5346
5340
  function PathContext(context) {
5347
5341
  this._context = context;
5348
5342
  }
@@ -5426,8 +5420,6 @@
5426
5420
  x0 = x, y0 = y;
5427
5421
  }
5428
5422
 
5429
- var pathMeasure = lengthStream;
5430
-
5431
5423
  function PathString() {
5432
5424
  this._string = [];
5433
5425
  }
@@ -5502,23 +5494,23 @@
5502
5494
  }
5503
5495
 
5504
5496
  path.area = function(object) {
5505
- geoStream(object, projectionStream(pathArea));
5506
- return pathArea.result();
5497
+ geoStream(object, projectionStream(areaStream));
5498
+ return areaStream.result();
5507
5499
  };
5508
5500
 
5509
5501
  path.measure = function(object) {
5510
- geoStream(object, projectionStream(pathMeasure));
5511
- return pathMeasure.result();
5502
+ geoStream(object, projectionStream(lengthStream));
5503
+ return lengthStream.result();
5512
5504
  };
5513
5505
 
5514
5506
  path.bounds = function(object) {
5515
- geoStream(object, projectionStream(boundsStream$1));
5516
- return boundsStream$1.result();
5507
+ geoStream(object, projectionStream(boundsStream));
5508
+ return boundsStream.result();
5517
5509
  };
5518
5510
 
5519
5511
  path.centroid = function(object) {
5520
- geoStream(object, projectionStream(pathCentroid));
5521
- return pathCentroid.result();
5512
+ geoStream(object, projectionStream(centroidStream));
5513
+ return centroidStream.result();
5522
5514
  };
5523
5515
 
5524
5516
  path.projection = function(_) {
@@ -11128,6 +11120,7 @@
11128
11120
  };
11129
11121
 
11130
11122
  // Word cloud layout by Jason Davies, https://www.jasondavies.com/wordcloud/
11123
+ // Algorithm due to Jonathan Feinberg, http://static.mrfeinberg.com/bv_ch03.pdf
11131
11124
  var cloudRadians = Math.PI / 180;
11132
11125
  var cw = 1 << 11 >> 5;
11133
11126
  var ch = 1 << 11;
@@ -11710,7 +11703,5 @@
11710
11703
  exports.WordCloud = WordCloud;
11711
11704
  exports.XYAxis = XYAxis;
11712
11705
 
11713
- Object.defineProperty(exports, '__esModule', { value: true });
11714
-
11715
11706
  }));
11716
11707
  //# sourceMappingURL=index.js.map