@hpcc-js/chart 2.74.0 → 2.77.0

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 CHANGED
@@ -3,8 +3,8 @@ import { select, scaleTime, timeParse, timeFormat, scaleLog, format, scalePow, s
3
3
  import { normalizeRadians, degreesToRadians } from '@hpcc-js/util';
4
4
 
5
5
  var PKG_NAME = "@hpcc-js/chart";
6
- var PKG_VERSION = "2.74.0";
7
- var BUILD_VERSION = "2.99.0";
6
+ var PKG_VERSION = "2.77.0";
7
+ var BUILD_VERSION = "2.102.11";
8
8
 
9
9
  /*! *****************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
@@ -55,13 +55,13 @@ function __spreadArray(to, from, pack) {
55
55
  ar[i] = from[i];
56
56
  }
57
57
  }
58
- return to.concat(ar || from);
58
+ return to.concat(ar || Array.prototype.slice.call(from));
59
59
  }
60
60
 
61
- var pi = Math.PI,
62
- tau = 2 * pi,
63
- epsilon = 1e-6,
64
- tauEpsilon = tau - epsilon;
61
+ var pi$3 = Math.PI,
62
+ tau$3 = 2 * pi$3,
63
+ epsilon$3 = 1e-6,
64
+ tauEpsilon = tau$3 - epsilon$3;
65
65
 
66
66
  function Path() {
67
67
  this._x0 = this._y0 = // start of current subpath
@@ -112,12 +112,12 @@ Path.prototype = path.prototype = {
112
112
  }
113
113
 
114
114
  // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.
115
- else if (!(l01_2 > epsilon));
115
+ else if (!(l01_2 > epsilon$3));
116
116
 
117
117
  // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?
118
118
  // Equivalently, is (x1,y1) coincident with (x2,y2)?
119
119
  // Or, is the radius zero? Line to (x1,y1).
120
- else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {
120
+ else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon$3) || !r) {
121
121
  this._ += "L" + (this._x1 = x1) + "," + (this._y1 = y1);
122
122
  }
123
123
 
@@ -129,12 +129,12 @@ Path.prototype = path.prototype = {
129
129
  l20_2 = x20 * x20 + y20 * y20,
130
130
  l21 = Math.sqrt(l21_2),
131
131
  l01 = Math.sqrt(l01_2),
132
- l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
132
+ l = r * Math.tan((pi$3 - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
133
133
  t01 = l / l01,
134
134
  t21 = l / l21;
135
135
 
136
136
  // If the start tangent is not coincident with (x0,y0), line to.
137
- if (Math.abs(t01 - 1) > epsilon) {
137
+ if (Math.abs(t01 - 1) > epsilon$3) {
138
138
  this._ += "L" + (x1 + t01 * x01) + "," + (y1 + t01 * y01);
139
139
  }
140
140
 
@@ -159,7 +159,7 @@ Path.prototype = path.prototype = {
159
159
  }
160
160
 
161
161
  // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).
162
- else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {
162
+ else if (Math.abs(this._x1 - x0) > epsilon$3 || Math.abs(this._y1 - y0) > epsilon$3) {
163
163
  this._ += "L" + x0 + "," + y0;
164
164
  }
165
165
 
@@ -167,7 +167,7 @@ Path.prototype = path.prototype = {
167
167
  if (!r) return;
168
168
 
169
169
  // Does the angle go the wrong way? Flip the direction.
170
- if (da < 0) da = da % tau + tau;
170
+ if (da < 0) da = da % tau$3 + tau$3;
171
171
 
172
172
  // Is this a complete circle? Draw two arcs to complete the circle.
173
173
  if (da > tauEpsilon) {
@@ -175,8 +175,8 @@ Path.prototype = path.prototype = {
175
175
  }
176
176
 
177
177
  // Is this arc non-empty? Draw an arc!
178
- else if (da > epsilon) {
179
- this._ += "A" + r + "," + r + ",0," + (+(da >= pi)) + "," + cw + "," + (this._x1 = x + r * Math.cos(a1)) + "," + (this._y1 = y + r * Math.sin(a1));
178
+ else if (da > epsilon$3) {
179
+ this._ += "A" + r + "," + r + ",0," + (+(da >= pi$3)) + "," + cw + "," + (this._x1 = x + r * Math.cos(a1)) + "," + (this._y1 = y + r * Math.sin(a1));
180
180
  }
181
181
  },
182
182
  rect: function(x, y, w, h) {
@@ -187,68 +187,68 @@ Path.prototype = path.prototype = {
187
187
  }
188
188
  };
189
189
 
190
- function constant(x) {
190
+ function constant$3(x) {
191
191
  return function constant() {
192
192
  return x;
193
193
  };
194
194
  }
195
195
 
196
- var abs = Math.abs;
196
+ var abs$1 = Math.abs;
197
197
  var atan2 = Math.atan2;
198
198
  var cos = Math.cos;
199
199
  var max = Math.max;
200
200
  var min = Math.min;
201
201
  var sin = Math.sin;
202
- var sqrt = Math.sqrt;
202
+ var sqrt$1 = Math.sqrt;
203
203
 
204
- var epsilon$1 = 1e-12;
205
- var pi$1 = Math.PI;
206
- var halfPi = pi$1 / 2;
207
- var tau$1 = 2 * pi$1;
204
+ var epsilon$2 = 1e-12;
205
+ var pi$2 = Math.PI;
206
+ var halfPi$1 = pi$2 / 2;
207
+ var tau$2 = 2 * pi$2;
208
208
 
209
209
  function acos(x) {
210
- return x > 1 ? 0 : x < -1 ? pi$1 : Math.acos(x);
210
+ return x > 1 ? 0 : x < -1 ? pi$2 : Math.acos(x);
211
211
  }
212
212
 
213
- function asin(x) {
214
- return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);
213
+ function asin$1(x) {
214
+ return x >= 1 ? halfPi$1 : x <= -1 ? -halfPi$1 : Math.asin(x);
215
215
  }
216
216
 
217
- function arcInnerRadius(d) {
217
+ function arcInnerRadius$1(d) {
218
218
  return d.innerRadius;
219
219
  }
220
220
 
221
- function arcOuterRadius(d) {
221
+ function arcOuterRadius$1(d) {
222
222
  return d.outerRadius;
223
223
  }
224
224
 
225
- function arcStartAngle(d) {
225
+ function arcStartAngle$1(d) {
226
226
  return d.startAngle;
227
227
  }
228
228
 
229
- function arcEndAngle(d) {
229
+ function arcEndAngle$1(d) {
230
230
  return d.endAngle;
231
231
  }
232
232
 
233
- function arcPadAngle(d) {
233
+ function arcPadAngle$1(d) {
234
234
  return d && d.padAngle; // Note: optional!
235
235
  }
236
236
 
237
- function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
237
+ function intersect$1(x0, y0, x1, y1, x2, y2, x3, y3) {
238
238
  var x10 = x1 - x0, y10 = y1 - y0,
239
239
  x32 = x3 - x2, y32 = y3 - y2,
240
240
  t = y32 * x10 - x32 * y10;
241
- if (t * t < epsilon$1) return;
241
+ if (t * t < epsilon$2) return;
242
242
  t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;
243
243
  return [x0 + t * x10, y0 + t * y10];
244
244
  }
245
245
 
246
246
  // Compute perpendicular offset line of length rc.
247
247
  // http://mathworld.wolfram.com/Circle-LineIntersection.html
248
- function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
248
+ function cornerTangents$1(x0, y0, x1, y1, r1, rc, cw) {
249
249
  var x01 = x0 - x1,
250
250
  y01 = y0 - y1,
251
- lo = (cw ? rc : -rc) / sqrt(x01 * x01 + y01 * y01),
251
+ lo = (cw ? rc : -rc) / sqrt$1(x01 * x01 + y01 * y01),
252
252
  ox = lo * y01,
253
253
  oy = -lo * x01,
254
254
  x11 = x0 + ox,
@@ -262,7 +262,7 @@ function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
262
262
  d2 = dx * dx + dy * dy,
263
263
  r = r1 - rc,
264
264
  D = x11 * y10 - x10 * y11,
265
- d = (dy < 0 ? -1 : 1) * sqrt(max(0, r * r * d2 - D * D)),
265
+ d = (dy < 0 ? -1 : 1) * sqrt$1(max(0, r * r * d2 - D * D)),
266
266
  cx0 = (D * dy - dx * d) / d2,
267
267
  cy0 = (-D * dx - dy * d) / d2,
268
268
  cx1 = (D * dy + dx * d) / d2,
@@ -287,13 +287,13 @@ function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
287
287
  }
288
288
 
289
289
  function d3Arc() {
290
- var innerRadius = arcInnerRadius,
291
- outerRadius = arcOuterRadius,
292
- cornerRadius = constant(0),
290
+ var innerRadius = arcInnerRadius$1,
291
+ outerRadius = arcOuterRadius$1,
292
+ cornerRadius = constant$3(0),
293
293
  padRadius = null,
294
- startAngle = arcStartAngle,
295
- endAngle = arcEndAngle,
296
- padAngle = arcPadAngle,
294
+ startAngle = arcStartAngle$1,
295
+ endAngle = arcEndAngle$1,
296
+ padAngle = arcPadAngle$1,
297
297
  context = null;
298
298
 
299
299
  function arc() {
@@ -301,9 +301,9 @@ function d3Arc() {
301
301
  r,
302
302
  r0 = +innerRadius.apply(this, arguments),
303
303
  r1 = +outerRadius.apply(this, arguments),
304
- a0 = startAngle.apply(this, arguments) - halfPi,
305
- a1 = endAngle.apply(this, arguments) - halfPi,
306
- da = abs(a1 - a0),
304
+ a0 = startAngle.apply(this, arguments) - halfPi$1,
305
+ a1 = endAngle.apply(this, arguments) - halfPi$1,
306
+ da = abs$1(a1 - a0),
307
307
  cw = a1 > a0;
308
308
 
309
309
  if (!context) context = buffer = path();
@@ -312,13 +312,13 @@ function d3Arc() {
312
312
  if (r1 < r0) r = r1, r1 = r0, r0 = r;
313
313
 
314
314
  // Is it a point?
315
- if (!(r1 > epsilon$1)) context.moveTo(0, 0);
315
+ if (!(r1 > epsilon$2)) context.moveTo(0, 0);
316
316
 
317
317
  // Or is it a circle or annulus?
318
- else if (da > tau$1 - epsilon$1) {
318
+ else if (da > tau$2 - epsilon$2) {
319
319
  context.moveTo(r1 * cos(a0), r1 * sin(a0));
320
320
  context.arc(0, 0, r1, a0, a1, !cw);
321
- if (r0 > epsilon$1) {
321
+ if (r0 > epsilon$2) {
322
322
  context.moveTo(r0 * cos(a1), r0 * sin(a1));
323
323
  context.arc(0, 0, r0, a1, a0, cw);
324
324
  }
@@ -333,20 +333,20 @@ function d3Arc() {
333
333
  da0 = da,
334
334
  da1 = da,
335
335
  ap = padAngle.apply(this, arguments) / 2,
336
- rp = (ap > epsilon$1) && (padRadius ? +padRadius.apply(this, arguments) : sqrt(r0 * r0 + r1 * r1)),
337
- rc = min(abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),
336
+ rp = (ap > epsilon$2) && (padRadius ? +padRadius.apply(this, arguments) : sqrt$1(r0 * r0 + r1 * r1)),
337
+ rc = min(abs$1(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),
338
338
  rc0 = rc,
339
339
  rc1 = rc,
340
340
  t0,
341
341
  t1;
342
342
 
343
343
  // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.
344
- if (rp > epsilon$1) {
345
- var p0 = asin(rp / r0 * sin(ap)),
346
- p1 = asin(rp / r1 * sin(ap));
347
- if ((da0 -= p0 * 2) > epsilon$1) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;
344
+ if (rp > epsilon$2) {
345
+ var p0 = asin$1(rp / r0 * sin(ap)),
346
+ p1 = asin$1(rp / r1 * sin(ap));
347
+ if ((da0 -= p0 * 2) > epsilon$2) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;
348
348
  else da0 = 0, a00 = a10 = (a0 + a1) / 2;
349
- if ((da1 -= p1 * 2) > epsilon$1) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;
349
+ if ((da1 -= p1 * 2) > epsilon$2) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;
350
350
  else da1 = 0, a01 = a11 = (a0 + a1) / 2;
351
351
  }
352
352
 
@@ -356,7 +356,7 @@ function d3Arc() {
356
356
  y10 = r0 * sin(a10);
357
357
 
358
358
  // Apply rounded corners?
359
- if (rc > epsilon$1) {
359
+ if (rc > epsilon$2) {
360
360
  var x11 = r1 * cos(a11),
361
361
  y11 = r1 * sin(a11),
362
362
  x00 = r0 * cos(a00),
@@ -364,25 +364,25 @@ function d3Arc() {
364
364
  oc;
365
365
 
366
366
  // Restrict the corner radius according to the sector angle.
367
- if (da < pi$1 && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {
367
+ if (da < pi$2 && (oc = intersect$1(x01, y01, x00, y00, x11, y11, x10, y10))) {
368
368
  var ax = x01 - oc[0],
369
369
  ay = y01 - oc[1],
370
370
  bx = x11 - oc[0],
371
371
  by = y11 - oc[1],
372
- kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt(ax * ax + ay * ay) * sqrt(bx * bx + by * by))) / 2),
373
- lc = sqrt(oc[0] * oc[0] + oc[1] * oc[1]);
372
+ kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt$1(ax * ax + ay * ay) * sqrt$1(bx * bx + by * by))) / 2),
373
+ lc = sqrt$1(oc[0] * oc[0] + oc[1] * oc[1]);
374
374
  rc0 = min(rc, (r0 - lc) / (kc - 1));
375
375
  rc1 = min(rc, (r1 - lc) / (kc + 1));
376
376
  }
377
377
  }
378
378
 
379
379
  // Is the sector collapsed to a line?
380
- if (!(da1 > epsilon$1)) context.moveTo(x01, y01);
380
+ if (!(da1 > epsilon$2)) context.moveTo(x01, y01);
381
381
 
382
382
  // Does the sector’s outer ring have rounded corners?
383
- else if (rc1 > epsilon$1) {
384
- t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);
385
- t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);
383
+ else if (rc1 > epsilon$2) {
384
+ t0 = cornerTangents$1(x00, y00, x01, y01, r1, rc1, cw);
385
+ t1 = cornerTangents$1(x11, y11, x10, y10, r1, rc1, cw);
386
386
 
387
387
  context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);
388
388
 
@@ -402,12 +402,12 @@ function d3Arc() {
402
402
 
403
403
  // Is there no inner ring, and it’s a circular sector?
404
404
  // Or perhaps it’s an annular sector collapsed due to padding?
405
- if (!(r0 > epsilon$1) || !(da0 > epsilon$1)) context.lineTo(x10, y10);
405
+ if (!(r0 > epsilon$2) || !(da0 > epsilon$2)) context.lineTo(x10, y10);
406
406
 
407
407
  // Does the sector’s inner ring (or point) have rounded corners?
408
- else if (rc0 > epsilon$1) {
409
- t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);
410
- t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);
408
+ else if (rc0 > epsilon$2) {
409
+ t0 = cornerTangents$1(x10, y10, x11, y11, r0, -rc0, cw);
410
+ t1 = cornerTangents$1(x01, y01, x00, y00, r0, -rc0, cw);
411
411
 
412
412
  context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);
413
413
 
@@ -433,36 +433,36 @@ function d3Arc() {
433
433
 
434
434
  arc.centroid = function() {
435
435
  var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,
436
- a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi$1 / 2;
436
+ a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi$2 / 2;
437
437
  return [cos(a) * r, sin(a) * r];
438
438
  };
439
439
 
440
440
  arc.innerRadius = function(_) {
441
- return arguments.length ? (innerRadius = typeof _ === "function" ? _ : constant(+_), arc) : innerRadius;
441
+ return arguments.length ? (innerRadius = typeof _ === "function" ? _ : constant$3(+_), arc) : innerRadius;
442
442
  };
443
443
 
444
444
  arc.outerRadius = function(_) {
445
- return arguments.length ? (outerRadius = typeof _ === "function" ? _ : constant(+_), arc) : outerRadius;
445
+ return arguments.length ? (outerRadius = typeof _ === "function" ? _ : constant$3(+_), arc) : outerRadius;
446
446
  };
447
447
 
448
448
  arc.cornerRadius = function(_) {
449
- return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : constant(+_), arc) : cornerRadius;
449
+ return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : constant$3(+_), arc) : cornerRadius;
450
450
  };
451
451
 
452
452
  arc.padRadius = function(_) {
453
- return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : constant(+_), arc) : padRadius;
453
+ return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : constant$3(+_), arc) : padRadius;
454
454
  };
455
455
 
456
456
  arc.startAngle = function(_) {
457
- return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant(+_), arc) : startAngle;
457
+ return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant$3(+_), arc) : startAngle;
458
458
  };
459
459
 
460
460
  arc.endAngle = function(_) {
461
- return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant(+_), arc) : endAngle;
461
+ return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant$3(+_), arc) : endAngle;
462
462
  };
463
463
 
464
464
  arc.padAngle = function(_) {
465
- return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant(+_), arc) : padAngle;
465
+ return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant$3(+_), arc) : padAngle;
466
466
  };
467
467
 
468
468
  arc.context = function(_) {
@@ -472,11 +472,11 @@ function d3Arc() {
472
472
  return arc;
473
473
  }
474
474
 
475
- function Linear(context) {
475
+ function Linear$1(context) {
476
476
  this._context = context;
477
477
  }
478
478
 
479
- Linear.prototype = {
479
+ Linear$1.prototype = {
480
480
  areaStart: function() {
481
481
  this._line = 0;
482
482
  },
@@ -501,21 +501,21 @@ Linear.prototype = {
501
501
  };
502
502
 
503
503
  function d3CurveLinear(context) {
504
- return new Linear(context);
504
+ return new Linear$1(context);
505
505
  }
506
506
 
507
- function x(p) {
507
+ function x$1(p) {
508
508
  return p[0];
509
509
  }
510
510
 
511
- function y(p) {
511
+ function y$1(p) {
512
512
  return p[1];
513
513
  }
514
514
 
515
515
  function d3Line() {
516
- var x$1 = x,
517
- y$1 = y,
518
- defined = constant(true),
516
+ var x = x$1,
517
+ y = y$1,
518
+ defined = constant$3(true),
519
519
  context = null,
520
520
  curve = d3CurveLinear,
521
521
  output = null;
@@ -534,22 +534,22 @@ function d3Line() {
534
534
  if (defined0 = !defined0) output.lineStart();
535
535
  else output.lineEnd();
536
536
  }
537
- if (defined0) output.point(+x$1(d, i, data), +y$1(d, i, data));
537
+ if (defined0) output.point(+x(d, i, data), +y(d, i, data));
538
538
  }
539
539
 
540
540
  if (buffer) return output = null, buffer + "" || null;
541
541
  }
542
542
 
543
543
  line.x = function(_) {
544
- return arguments.length ? (x$1 = typeof _ === "function" ? _ : constant(+_), line) : x$1;
544
+ return arguments.length ? (x = typeof _ === "function" ? _ : constant$3(+_), line) : x;
545
545
  };
546
546
 
547
547
  line.y = function(_) {
548
- return arguments.length ? (y$1 = typeof _ === "function" ? _ : constant(+_), line) : y$1;
548
+ return arguments.length ? (y = typeof _ === "function" ? _ : constant$3(+_), line) : y;
549
549
  };
550
550
 
551
551
  line.defined = function(_) {
552
- return arguments.length ? (defined = typeof _ === "function" ? _ : constant(!!_), line) : defined;
552
+ return arguments.length ? (defined = typeof _ === "function" ? _ : constant$3(!!_), line) : defined;
553
553
  };
554
554
 
555
555
  line.curve = function(_) {
@@ -564,11 +564,11 @@ function d3Line() {
564
564
  }
565
565
 
566
566
  function d3Area() {
567
- var x0 = x,
567
+ var x0 = x$1,
568
568
  x1 = null,
569
- y0 = constant(0),
570
- y1 = y,
571
- defined = constant(true),
569
+ y0 = constant$3(0),
570
+ y1 = y$1,
571
+ defined = constant$3(true),
572
572
  context = null,
573
573
  curve = d3CurveLinear,
574
574
  output = null;
@@ -616,27 +616,27 @@ function d3Area() {
616
616
  }
617
617
 
618
618
  area.x = function(_) {
619
- return arguments.length ? (x0 = typeof _ === "function" ? _ : constant(+_), x1 = null, area) : x0;
619
+ return arguments.length ? (x0 = typeof _ === "function" ? _ : constant$3(+_), x1 = null, area) : x0;
620
620
  };
621
621
 
622
622
  area.x0 = function(_) {
623
- return arguments.length ? (x0 = typeof _ === "function" ? _ : constant(+_), area) : x0;
623
+ return arguments.length ? (x0 = typeof _ === "function" ? _ : constant$3(+_), area) : x0;
624
624
  };
625
625
 
626
626
  area.x1 = function(_) {
627
- return arguments.length ? (x1 = _ == null ? null : typeof _ === "function" ? _ : constant(+_), area) : x1;
627
+ return arguments.length ? (x1 = _ == null ? null : typeof _ === "function" ? _ : constant$3(+_), area) : x1;
628
628
  };
629
629
 
630
630
  area.y = function(_) {
631
- return arguments.length ? (y0 = typeof _ === "function" ? _ : constant(+_), y1 = null, area) : y0;
631
+ return arguments.length ? (y0 = typeof _ === "function" ? _ : constant$3(+_), y1 = null, area) : y0;
632
632
  };
633
633
 
634
634
  area.y0 = function(_) {
635
- return arguments.length ? (y0 = typeof _ === "function" ? _ : constant(+_), area) : y0;
635
+ return arguments.length ? (y0 = typeof _ === "function" ? _ : constant$3(+_), area) : y0;
636
636
  };
637
637
 
638
638
  area.y1 = function(_) {
639
- return arguments.length ? (y1 = _ == null ? null : typeof _ === "function" ? _ : constant(+_), area) : y1;
639
+ return arguments.length ? (y1 = _ == null ? null : typeof _ === "function" ? _ : constant$3(+_), area) : y1;
640
640
  };
641
641
 
642
642
  area.lineX0 =
@@ -653,7 +653,7 @@ function d3Area() {
653
653
  };
654
654
 
655
655
  area.defined = function(_) {
656
- return arguments.length ? (defined = typeof _ === "function" ? _ : constant(!!_), area) : defined;
656
+ return arguments.length ? (defined = typeof _ === "function" ? _ : constant$3(!!_), area) : defined;
657
657
  };
658
658
 
659
659
  area.curve = function(_) {
@@ -671,17 +671,17 @@ function descending(a, b) {
671
671
  return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
672
672
  }
673
673
 
674
- function identity(d) {
674
+ function identity$2(d) {
675
675
  return d;
676
676
  }
677
677
 
678
678
  function d3Pie() {
679
- var value = identity,
679
+ var value = identity$2,
680
680
  sortValues = descending,
681
681
  sort = null,
682
- startAngle = constant(0),
683
- endAngle = constant(tau$1),
684
- padAngle = constant(0);
682
+ startAngle = constant$3(0),
683
+ endAngle = constant$3(tau$2),
684
+ padAngle = constant$3(0);
685
685
 
686
686
  function pie(data) {
687
687
  var i,
@@ -692,7 +692,7 @@ function d3Pie() {
692
692
  index = new Array(n),
693
693
  arcs = new Array(n),
694
694
  a0 = +startAngle.apply(this, arguments),
695
- da = Math.min(tau$1, Math.max(-tau$1, endAngle.apply(this, arguments) - a0)),
695
+ da = Math.min(tau$2, Math.max(-tau$2, endAngle.apply(this, arguments) - a0)),
696
696
  a1,
697
697
  p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),
698
698
  pa = p * (da < 0 ? -1 : 1),
@@ -724,7 +724,7 @@ function d3Pie() {
724
724
  }
725
725
 
726
726
  pie.value = function(_) {
727
- return arguments.length ? (value = typeof _ === "function" ? _ : constant(+_), pie) : value;
727
+ return arguments.length ? (value = typeof _ === "function" ? _ : constant$3(+_), pie) : value;
728
728
  };
729
729
 
730
730
  pie.sortValues = function(_) {
@@ -736,21 +736,21 @@ function d3Pie() {
736
736
  };
737
737
 
738
738
  pie.startAngle = function(_) {
739
- return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant(+_), pie) : startAngle;
739
+ return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant$3(+_), pie) : startAngle;
740
740
  };
741
741
 
742
742
  pie.endAngle = function(_) {
743
- return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant(+_), pie) : endAngle;
743
+ return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant$3(+_), pie) : endAngle;
744
744
  };
745
745
 
746
746
  pie.padAngle = function(_) {
747
- return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant(+_), pie) : padAngle;
747
+ return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant$3(+_), pie) : padAngle;
748
748
  };
749
749
 
750
750
  return pie;
751
751
  }
752
752
 
753
- function point(that, x, y) {
753
+ function point$6(that, x, y) {
754
754
  that._context.bezierCurveTo(
755
755
  (2 * that._x0 + that._x1) / 3,
756
756
  (2 * that._y0 + that._y1) / 3,
@@ -779,7 +779,7 @@ Basis.prototype = {
779
779
  },
780
780
  lineEnd: function() {
781
781
  switch (this._point) {
782
- case 3: point(this, this._x1, this._y1); // proceed
782
+ case 3: point$6(this, this._x1, this._y1); // proceed
783
783
  case 2: this._context.lineTo(this._x1, this._y1); break;
784
784
  }
785
785
  if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
@@ -791,7 +791,7 @@ Basis.prototype = {
791
791
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
792
792
  case 1: this._point = 2; break;
793
793
  case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed
794
- default: point(this, x, y); break;
794
+ default: point$6(this, x, y); break;
795
795
  }
796
796
  this._x0 = this._x1, this._x1 = x;
797
797
  this._y0 = this._y1, this._y1 = y;
@@ -857,7 +857,7 @@ var d3CurveBundle = (function custom(beta) {
857
857
  return bundle;
858
858
  })(0.85);
859
859
 
860
- function point$1(that, x, y) {
860
+ function point$5(that, x, y) {
861
861
  that._context.bezierCurveTo(
862
862
  that._x1 + that._k * (that._x2 - that._x0),
863
863
  that._y1 + that._k * (that._y2 - that._y0),
@@ -868,12 +868,12 @@ function point$1(that, x, y) {
868
868
  );
869
869
  }
870
870
 
871
- function Cardinal(context, tension) {
871
+ function Cardinal$1(context, tension) {
872
872
  this._context = context;
873
873
  this._k = (1 - tension) / 6;
874
874
  }
875
875
 
876
- Cardinal.prototype = {
876
+ Cardinal$1.prototype = {
877
877
  areaStart: function() {
878
878
  this._line = 0;
879
879
  },
@@ -888,7 +888,7 @@ Cardinal.prototype = {
888
888
  lineEnd: function() {
889
889
  switch (this._point) {
890
890
  case 2: this._context.lineTo(this._x2, this._y2); break;
891
- case 3: point$1(this, this._x1, this._y1); break;
891
+ case 3: point$5(this, this._x1, this._y1); break;
892
892
  }
893
893
  if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
894
894
  this._line = 1 - this._line;
@@ -899,7 +899,7 @@ Cardinal.prototype = {
899
899
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
900
900
  case 1: this._point = 2; this._x1 = x, this._y1 = y; break;
901
901
  case 2: this._point = 3; // proceed
902
- default: point$1(this, x, y); break;
902
+ default: point$5(this, x, y); break;
903
903
  }
904
904
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
905
905
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
@@ -909,7 +909,7 @@ Cardinal.prototype = {
909
909
  var d3CurveCardinal = (function custom(tension) {
910
910
 
911
911
  function cardinal(context) {
912
- return new Cardinal(context, tension);
912
+ return new Cardinal$1(context, tension);
913
913
  }
914
914
 
915
915
  cardinal.tension = function(tension) {
@@ -919,20 +919,20 @@ var d3CurveCardinal = (function custom(tension) {
919
919
  return cardinal;
920
920
  })(0);
921
921
 
922
- function point$2(that, x, y) {
922
+ function point$4(that, x, y) {
923
923
  var x1 = that._x1,
924
924
  y1 = that._y1,
925
925
  x2 = that._x2,
926
926
  y2 = that._y2;
927
927
 
928
- if (that._l01_a > epsilon$1) {
928
+ if (that._l01_a > epsilon$2) {
929
929
  var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
930
930
  n = 3 * that._l01_a * (that._l01_a + that._l12_a);
931
931
  x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
932
932
  y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
933
933
  }
934
934
 
935
- if (that._l23_a > epsilon$1) {
935
+ if (that._l23_a > epsilon$2) {
936
936
  var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
937
937
  m = 3 * that._l23_a * (that._l23_a + that._l12_a);
938
938
  x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
@@ -942,12 +942,12 @@ function point$2(that, x, y) {
942
942
  that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
943
943
  }
944
944
 
945
- function CatmullRom(context, alpha) {
945
+ function CatmullRom$1(context, alpha) {
946
946
  this._context = context;
947
947
  this._alpha = alpha;
948
948
  }
949
949
 
950
- CatmullRom.prototype = {
950
+ CatmullRom$1.prototype = {
951
951
  areaStart: function() {
952
952
  this._line = 0;
953
953
  },
@@ -982,7 +982,7 @@ CatmullRom.prototype = {
982
982
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
983
983
  case 1: this._point = 2; break;
984
984
  case 2: this._point = 3; // proceed
985
- default: point$2(this, x, y); break;
985
+ default: point$4(this, x, y); break;
986
986
  }
987
987
 
988
988
  this._l01_a = this._l12_a, this._l12_a = this._l23_a;
@@ -995,7 +995,7 @@ CatmullRom.prototype = {
995
995
  var d3curveCatmullRom = (function custom(alpha) {
996
996
 
997
997
  function catmullRom(context) {
998
- return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);
998
+ return alpha ? new CatmullRom$1(context, alpha) : new Cardinal$1(context, 0);
999
999
  }
1000
1000
 
1001
1001
  catmullRom.alpha = function(alpha) {
@@ -1005,7 +1005,7 @@ var d3curveCatmullRom = (function custom(alpha) {
1005
1005
  return catmullRom;
1006
1006
  })(0.5);
1007
1007
 
1008
- function sign(x) {
1008
+ function sign$1(x) {
1009
1009
  return x < 0 ? -1 : 1;
1010
1010
  }
1011
1011
 
@@ -1013,17 +1013,17 @@ function sign(x) {
1013
1013
  // the following paper: Steffen, M. 1990. A Simple Method for Monotonic
1014
1014
  // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
1015
1015
  // NOV(II), P. 443, 1990.
1016
- function slope3(that, x2, y2) {
1016
+ function slope3$1(that, x2, y2) {
1017
1017
  var h0 = that._x1 - that._x0,
1018
1018
  h1 = x2 - that._x1,
1019
1019
  s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
1020
1020
  s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
1021
1021
  p = (s0 * h1 + s1 * h0) / (h0 + h1);
1022
- return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
1022
+ return (sign$1(s0) + sign$1(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
1023
1023
  }
1024
1024
 
1025
1025
  // Calculate a one-sided slope.
1026
- function slope2(that, t) {
1026
+ function slope2$1(that, t) {
1027
1027
  var h = that._x1 - that._x0;
1028
1028
  return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
1029
1029
  }
@@ -1040,11 +1040,11 @@ function point$3(that, t0, t1) {
1040
1040
  that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
1041
1041
  }
1042
1042
 
1043
- function MonotoneX(context) {
1043
+ function MonotoneX$1(context) {
1044
1044
  this._context = context;
1045
1045
  }
1046
1046
 
1047
- MonotoneX.prototype = {
1047
+ MonotoneX$1.prototype = {
1048
1048
  areaStart: function() {
1049
1049
  this._line = 0;
1050
1050
  },
@@ -1060,7 +1060,7 @@ MonotoneX.prototype = {
1060
1060
  lineEnd: function() {
1061
1061
  switch (this._point) {
1062
1062
  case 2: this._context.lineTo(this._x1, this._y1); break;
1063
- case 3: point$3(this, this._t0, slope2(this, this._t0)); break;
1063
+ case 3: point$3(this, this._t0, slope2$1(this, this._t0)); break;
1064
1064
  }
1065
1065
  if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
1066
1066
  this._line = 1 - this._line;
@@ -1073,8 +1073,8 @@ MonotoneX.prototype = {
1073
1073
  switch (this._point) {
1074
1074
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
1075
1075
  case 1: this._point = 2; break;
1076
- case 2: this._point = 3; point$3(this, slope2(this, t1 = slope3(this, x, y)), t1); break;
1077
- default: point$3(this, this._t0, t1 = slope3(this, x, y)); break;
1076
+ case 2: this._point = 3; point$3(this, slope2$1(this, t1 = slope3$1(this, x, y)), t1); break;
1077
+ default: point$3(this, this._t0, t1 = slope3$1(this, x, y)); break;
1078
1078
  }
1079
1079
 
1080
1080
  this._x0 = this._x1, this._x1 = x;
@@ -1083,27 +1083,12 @@ MonotoneX.prototype = {
1083
1083
  }
1084
1084
  };
1085
1085
 
1086
- function MonotoneY(context) {
1087
- this._context = new ReflectContext(context);
1088
- }
1089
-
1090
- (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {
1091
- MonotoneX.prototype.point.call(this, y, x);
1092
- };
1093
-
1094
- function ReflectContext(context) {
1095
- this._context = context;
1096
- }
1097
-
1098
- ReflectContext.prototype = {
1099
- moveTo: function(x, y) { this._context.moveTo(y, x); },
1100
- closePath: function() { this._context.closePath(); },
1101
- lineTo: function(x, y) { this._context.lineTo(y, x); },
1102
- bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }
1086
+ (Object.create(MonotoneX$1.prototype)).point = function(x, y) {
1087
+ MonotoneX$1.prototype.point.call(this, y, x);
1103
1088
  };
1104
1089
 
1105
1090
  function monotoneX(context) {
1106
- return new MonotoneX(context);
1091
+ return new MonotoneX$1(context);
1107
1092
  }
1108
1093
 
1109
1094
  function Natural(context) {
@@ -1172,12 +1157,12 @@ function d3CurveNatural(context) {
1172
1157
  return new Natural(context);
1173
1158
  }
1174
1159
 
1175
- function Step(context, t) {
1160
+ function Step$1(context, t) {
1176
1161
  this._context = context;
1177
1162
  this._t = t;
1178
1163
  }
1179
1164
 
1180
- Step.prototype = {
1165
+ Step$1.prototype = {
1181
1166
  areaStart: function() {
1182
1167
  this._line = 0;
1183
1168
  },
@@ -1215,18 +1200,18 @@ Step.prototype = {
1215
1200
  };
1216
1201
 
1217
1202
  function d3CurveStep(context) {
1218
- return new Step(context, 0.5);
1203
+ return new Step$1(context, 0.5);
1219
1204
  }
1220
1205
 
1221
1206
  function stepBefore(context) {
1222
- return new Step(context, 0);
1207
+ return new Step$1(context, 0);
1223
1208
  }
1224
1209
 
1225
1210
  function stepAfter(context) {
1226
- return new Step(context, 1);
1211
+ return new Step$1(context, 1);
1227
1212
  }
1228
1213
 
1229
- var slice = Array.prototype.slice;
1214
+ var slice$2 = Array.prototype.slice;
1230
1215
 
1231
1216
  function identity$1(x) {
1232
1217
  return x;
@@ -1236,7 +1221,7 @@ var top = 1,
1236
1221
  right = 2,
1237
1222
  bottom = 3,
1238
1223
  left = 4,
1239
- epsilon$2 = 1e-6;
1224
+ epsilon$1 = 1e-6;
1240
1225
 
1241
1226
  function translateX(x) {
1242
1227
  return "translate(" + (x + 0.5) + ",0)";
@@ -1313,11 +1298,11 @@ function axis(orient, scale) {
1313
1298
  text = text.transition(context);
1314
1299
 
1315
1300
  tickExit = tickExit.transition(context)
1316
- .attr("opacity", epsilon$2)
1301
+ .attr("opacity", epsilon$1)
1317
1302
  .attr("transform", function(d) { return isFinite(d = position(d)) ? transform(d) : this.getAttribute("transform"); });
1318
1303
 
1319
1304
  tickEnter
1320
- .attr("opacity", epsilon$2)
1305
+ .attr("opacity", epsilon$1)
1321
1306
  .attr("transform", function(d) { var p = this.parentNode.__axis; return transform(p && isFinite(p = p(d)) ? p : position(d)); });
1322
1307
  }
1323
1308
 
@@ -1354,15 +1339,15 @@ function axis(orient, scale) {
1354
1339
  };
1355
1340
 
1356
1341
  axis.ticks = function() {
1357
- return tickArguments = slice.call(arguments), axis;
1342
+ return tickArguments = slice$2.call(arguments), axis;
1358
1343
  };
1359
1344
 
1360
1345
  axis.tickArguments = function(_) {
1361
- return arguments.length ? (tickArguments = _ == null ? [] : slice.call(_), axis) : tickArguments.slice();
1346
+ return arguments.length ? (tickArguments = _ == null ? [] : slice$2.call(_), axis) : tickArguments.slice();
1362
1347
  };
1363
1348
 
1364
1349
  axis.tickValues = function(_) {
1365
- return arguments.length ? (tickValues = _ == null ? null : slice.call(_), axis) : tickValues && tickValues.slice();
1350
+ return arguments.length ? (tickValues = _ == null ? null : slice$2.call(_), axis) : tickValues && tickValues.slice();
1366
1351
  };
1367
1352
 
1368
1353
  axis.tickFormat = function(_) {
@@ -1431,8 +1416,8 @@ function styleInject(css, ref) {
1431
1416
  }
1432
1417
  }
1433
1418
 
1434
- var css_248z = ".chart_Axis{fill:#000}.chart_Axis,.chart_Axis .axis .tick>text{font:10px sans-serif}.chart_Axis .axis .tick line,.chart_Axis .axis path.domain{fill:none;stroke:#000}.chart_Axis .guide path.domain{fill:none;stroke:none}.chart_Axis .guide .tick line{fill:none;stroke:#d3d3d3;opacity:.7}.chart_Axis .guide .tick.guide-0 line{stroke:#000;stroke-width:1;stroke-dasharray:3 5}.chart_Axis line,.chart_Axis path{shape-rendering:crispEdges}";
1435
- styleInject(css_248z);
1419
+ var css_248z$c = ".chart_Axis{fill:#000}.chart_Axis,.chart_Axis .axis .tick>text{font:10px sans-serif}.chart_Axis .axis .tick line,.chart_Axis .axis path.domain{fill:none;stroke:#000}.chart_Axis .guide path.domain{fill:none;stroke:none}.chart_Axis .guide .tick line{fill:none;stroke:#d3d3d3;opacity:.7}.chart_Axis .guide .tick.guide-0 line{stroke:#000;stroke-width:1;stroke-dasharray:3 5}.chart_Axis line,.chart_Axis path{shape-rendering:crispEdges}";
1420
+ styleInject(css_248z$c);
1436
1421
 
1437
1422
  var Axis = /** @class */ (function (_super) {
1438
1423
  __extends(Axis, _super);
@@ -2031,8 +2016,8 @@ Axis.prototype.publish("ordinalPaddingInner", 0.1, "number", "Determines the rat
2031
2016
  Axis.prototype.publish("ordinalPaddingOuter", 0.1, "number", "Determines the ratio of the range that is reserved for blank space before the first band and after the last band (0->1)", null, { disable: function (w) { return w.type() !== "ordinal"; } });
2032
2017
  Axis.prototype.publish("ordinalMappings", null, "object", "Alternative label mappings (icons)", null, { optional: true });
2033
2018
 
2034
- var css_248z$1 = ".chart_XYAxis .axis{fill:#000}.chart_XYAxis .axis,.chart_XYAxis .tick>text{font:10px sans-serif}.chart_XYAxis .focus .chart_Axis.value .tick{visibility:hidden}.chart_XYAxis .axis line,.chart_XYAxis .axis path{fill:none;stroke:#000;shape-rendering:crispEdges}.chart_XYAxis .region{opacity:.33}.chart_XYAxis .brush rect.background{z-index:-999}.chart_XYAxis .brush .selection{stroke:#4682b4;stroke-opacity:1;stroke-width:1px;fill:#4682b4;fill-opacity:.125;shape-rendering:crispEdges}.chart_XYAxis .brush path.handle--custom{fill:#eee;stroke:#666}";
2035
- styleInject(css_248z$1);
2019
+ var css_248z$b = ".chart_XYAxis .axis{fill:#000}.chart_XYAxis .axis,.chart_XYAxis .tick>text{font:10px sans-serif}.chart_XYAxis .focus .chart_Axis.value .tick{visibility:hidden}.chart_XYAxis .axis line,.chart_XYAxis .axis path{fill:none;stroke:#000;shape-rendering:crispEdges}.chart_XYAxis .region{opacity:.33}.chart_XYAxis .brush rect.background{z-index:-999}.chart_XYAxis .brush .selection{stroke:#4682b4;stroke-opacity:1;stroke-width:1px;fill:#4682b4;fill-opacity:.125;shape-rendering:crispEdges}.chart_XYAxis .brush path.handle--custom{fill:#eee;stroke:#666}";
2020
+ styleInject(css_248z$b);
2036
2021
 
2037
2022
  var XYAxis = /** @class */ (function (_super) {
2038
2023
  __extends(XYAxis, _super);
@@ -2479,7 +2464,6 @@ var XYAxis = /** @class */ (function (_super) {
2479
2464
  var currSel = brushSelection(this.focusChart.svgBrush.node());
2480
2465
  if (currSel) {
2481
2466
  if (this.focusChart.xAxisType() !== "ordinal") {
2482
- console.log(JSON.stringify([this.focusChart.xAxis.invert(currSel[0]), this.focusChart.xAxis.invert(currSel[1])]));
2483
2467
  this.xAxis.domain([this.focusChart.xAxis.invert(currSel[0]), this.focusChart.xAxis.invert(currSel[1])]);
2484
2468
  }
2485
2469
  else {
@@ -2497,7 +2481,7 @@ var XYAxis = /** @class */ (function (_super) {
2497
2481
  if (!retVal.length) {
2498
2482
  return masterColumns;
2499
2483
  }
2500
- return __spreadArray([masterColumns[0]], retVal);
2484
+ return __spreadArray([masterColumns[0]], retVal, true);
2501
2485
  };
2502
2486
  XYAxis.prototype.layerColumnIndices = function (host) {
2503
2487
  var masterColumns = host.columns();
@@ -2560,7 +2544,7 @@ var XYAxis = /** @class */ (function (_super) {
2560
2544
  select(this)
2561
2545
  .classed("selected", selected)
2562
2546
  .classed("deselected", !selected)
2563
- .attr("filter", context._selection.svgGlowID() && selected ? "url(#" + context._selection.svgGlowID() + ")" : null);
2547
+ .attr("filter", context._selection.svgGlowID() && selected ? "url(#".concat(context._selection.svgGlowID(), ")") : null);
2564
2548
  });
2565
2549
  var selRows = _selected.map(function (d) {
2566
2550
  return _this.rowToObj(d);
@@ -2575,7 +2559,7 @@ var XYAxis = /** @class */ (function (_super) {
2575
2559
  };
2576
2560
  // Events ---
2577
2561
  XYAxis.prototype.click = function (row, column, selected) {
2578
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
2562
+ // console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
2579
2563
  };
2580
2564
  return XYAxis;
2581
2565
  }(SVGWidget));
@@ -2625,8 +2609,8 @@ XYAxis.prototype.publishProxy("yAxisHidden", "valueAxis", "hidden");
2625
2609
  XYAxis.prototype.publish("regions", [], "array", "Regions");
2626
2610
  XYAxis.prototype.publish("layers", [], "widgetArray", "Layers", null, { render: false });
2627
2611
 
2628
- var css_248z$2 = ".chart_Scatter .area,.chart_Scatter .line,.chart_Scatter .pointShape{pointer-events:none}.chart_Scatter .point .pointSelection{fill:none;stroke:none;pointer-events:all}.chart_Scatter .point .pointSelection.selected{fill:none;stroke:red}";
2629
- styleInject(css_248z$2);
2612
+ var css_248z$a = ".chart_Scatter .area,.chart_Scatter .line,.chart_Scatter .pointShape{pointer-events:none}.chart_Scatter .point .pointSelection{fill:none;stroke:none;pointer-events:all}.chart_Scatter .point .pointSelection.selected{fill:none;stroke:red}";
2613
+ styleInject(css_248z$a);
2630
2614
 
2631
2615
  var Scatter = /** @class */ (function (_super) {
2632
2616
  __extends(Scatter, _super);
@@ -2935,8 +2919,8 @@ var Area = /** @class */ (function (_super) {
2935
2919
  }(Scatter));
2936
2920
  Area.prototype._class += " chart_Area";
2937
2921
 
2938
- var css_248z$3 = ".chart_Column .columnRect{fill:#4682b4;cursor:pointer}.chart_Column .data.axis path{display:none}.chart_Column .columnRect{stroke:transparent;border-width:1.5px}.chart_Column .columnRect.selected{stroke:red}";
2939
- styleInject(css_248z$3);
2922
+ var css_248z$9 = ".chart_Column .columnRect{fill:#4682b4;cursor:pointer}.chart_Column .data.axis path{display:none}.chart_Column .columnRect{stroke:transparent;border-width:1.5px}.chart_Column .columnRect.selected{stroke:red}";
2923
+ styleInject(css_248z$9);
2940
2924
 
2941
2925
  var Column = /** @class */ (function (_super) {
2942
2926
  __extends(Column, _super);
@@ -3164,7 +3148,7 @@ var Column = /** @class */ (function (_super) {
3164
3148
  _texts
3165
3149
  .attr("x", domainPos + (domainLength / 2))
3166
3150
  .attr("y", y + textHeightOffset)
3167
- .attr("transform", "rotate(-90, " + (domainPos + (domainLength / 2)) + ", " + y + ")");
3151
+ .attr("transform", "rotate(-90, ".concat(domainPos + (domainLength / 2), ", ").concat(y, ")"));
3168
3152
  }
3169
3153
  else { // Bar
3170
3154
  _texts
@@ -3187,7 +3171,7 @@ var Column = /** @class */ (function (_super) {
3187
3171
  return "";
3188
3172
  });
3189
3173
  }
3190
- var dataText = element.selectAll(".dataText").data(context.showValue() ? ["" + upperValue] : []);
3174
+ var dataText = element.selectAll(".dataText").data(context.showValue() ? ["".concat(upperValue)] : []);
3191
3175
  var dataTextEnter = dataText.enter().append("g")
3192
3176
  .attr("class", "dataText")
3193
3177
  .each(function (d) {
@@ -3328,7 +3312,7 @@ var Column = /** @class */ (function (_super) {
3328
3312
  .anchor(valueAnchor)
3329
3313
  .fontFamily(valueFontFamily)
3330
3314
  .fontSize(valueFontSize)
3331
- .text("" + valueText)
3315
+ .text("".concat(valueText))
3332
3316
  .colorFill(textColor)
3333
3317
  .visible(context.showValue())
3334
3318
  .render();
@@ -3592,7 +3576,7 @@ function node_links() {
3592
3576
  }
3593
3577
 
3594
3578
  function hierarchy(data, children) {
3595
- var root = new Node(data),
3579
+ var root = new Node$1(data),
3596
3580
  valued = +data.value && (root.value = data.value),
3597
3581
  node,
3598
3582
  nodes = [root],
@@ -3608,7 +3592,7 @@ function hierarchy(data, children) {
3608
3592
  if ((childs = children(node.data)) && (n = childs.length)) {
3609
3593
  node.children = new Array(n);
3610
3594
  for (i = n - 1; i >= 0; --i) {
3611
- nodes.push(child = node.children[i] = new Node(childs[i]));
3595
+ nodes.push(child = node.children[i] = new Node$1(childs[i]));
3612
3596
  child.parent = node;
3613
3597
  child.depth = node.depth + 1;
3614
3598
  }
@@ -3636,15 +3620,15 @@ function computeHeight(node) {
3636
3620
  while ((node = node.parent) && (node.height < ++height));
3637
3621
  }
3638
3622
 
3639
- function Node(data) {
3623
+ function Node$1(data) {
3640
3624
  this.data = data;
3641
3625
  this.depth =
3642
3626
  this.height = 0;
3643
3627
  this.parent = null;
3644
3628
  }
3645
3629
 
3646
- Node.prototype = hierarchy.prototype = {
3647
- constructor: Node,
3630
+ Node$1.prototype = hierarchy.prototype = {
3631
+ constructor: Node$1,
3648
3632
  count: node_count,
3649
3633
  each: node_each,
3650
3634
  eachAfter: node_eachAfter,
@@ -3831,7 +3815,7 @@ function score(node) {
3831
3815
  return dx * dx + dy * dy;
3832
3816
  }
3833
3817
 
3834
- function Node$1(circle) {
3818
+ function Node(circle) {
3835
3819
  this._ = circle;
3836
3820
  this.next = null;
3837
3821
  this.previous = null;
@@ -3854,14 +3838,14 @@ function packEnclose(circles) {
3854
3838
  place(b, a, c = circles[2]);
3855
3839
 
3856
3840
  // Initialize the front-chain using the first three circles a, b and c.
3857
- a = new Node$1(a), b = new Node$1(b), c = new Node$1(c);
3841
+ a = new Node(a), b = new Node(b), c = new Node(c);
3858
3842
  a.next = c.previous = b;
3859
3843
  b.next = a.previous = c;
3860
3844
  c.next = b.previous = a;
3861
3845
 
3862
3846
  // Attempt to place each remaining circle…
3863
3847
  pack: for (i = 3; i < n; ++i) {
3864
- place(a._, b._, c = circles[i]), c = new Node$1(c);
3848
+ place(a._, b._, c = circles[i]), c = new Node(c);
3865
3849
 
3866
3850
  // Find the closest intersecting circle on the front-chain, if any.
3867
3851
  // “Closeness” is determined by linear distance along the front-chain.
@@ -3918,7 +3902,7 @@ function constantZero() {
3918
3902
  return 0;
3919
3903
  }
3920
3904
 
3921
- function constant$1(x) {
3905
+ function constant$2(x) {
3922
3906
  return function() {
3923
3907
  return x;
3924
3908
  };
@@ -3958,7 +3942,7 @@ function d3Pack() {
3958
3942
  };
3959
3943
 
3960
3944
  pack.padding = function(x) {
3961
- return arguments.length ? (padding = typeof x === "function" ? x : constant$1(+x), pack) : padding;
3945
+ return arguments.length ? (padding = typeof x === "function" ? x : constant$2(+x), pack) : padding;
3962
3946
  };
3963
3947
 
3964
3948
  return pack;
@@ -4000,8 +3984,8 @@ function translateChild(k) {
4000
3984
  };
4001
3985
  }
4002
3986
 
4003
- var css_248z$4 = ".chart_Bubble circle{cursor:pointer}.chart_Bubble .selected circle{stroke:red;stroke-width:1.5px}.chart_Bubble .common_FAChar{fill:#fff;pointer-events:none}.chart_Bubble .common_Text{pointer-events:none}";
4004
- styleInject(css_248z$4);
3987
+ var css_248z$8 = ".chart_Bubble circle{cursor:pointer}.chart_Bubble .selected circle{stroke:red;stroke-width:1.5px}.chart_Bubble .common_FAChar{fill:#fff;pointer-events:none}.chart_Bubble .common_Text{pointer-events:none}";
3988
+ styleInject(css_248z$8);
4005
3989
 
4006
3990
  var Bubble = /** @class */ (function (_super) {
4007
3991
  __extends(Bubble, _super);
@@ -4182,184 +4166,184 @@ function timerFlush() {
4182
4166
  }
4183
4167
  }
4184
4168
 
4185
- function d3Bullet () {
4186
- var orient = "left",
4187
- reverse = false,
4188
- vertical = false,
4189
- ranges = bulvarRanges,
4190
- markers = bulvarMarkers,
4191
- measures = bulvarMeasures,
4192
- width = 380,
4193
- height = 30,
4194
- xAxis = axisLeft();
4195
-
4196
- // For each small multiple…
4197
- function bulvar(g) {
4198
- g.each(function (d, i) {
4199
- var rangez = ranges.call(this, d, i).slice().sort(descending$1),
4200
- markerz = markers.call(this, d, i).slice().sort(descending$1),
4201
- measurez = measures.call(this, d, i).slice().sort(descending$1),
4202
- g2 = select(this),
4203
- extentX,
4204
- extentY;
4205
-
4206
- var wrap = g2.select("g.wrap");
4207
- if (wrap.empty()) wrap = g2.append("g").attr("class", "wrap");
4208
-
4209
- if (vertical) {
4210
- extentX = height, extentY = width;
4211
- wrap.attr("transform", "rotate(90)translate(0," + -width + ")");
4212
- } else {
4213
- extentX = width, extentY = height;
4214
- wrap.attr("transform", null);
4215
- }
4216
-
4217
- // Compute the new x-scale.
4218
- var x1 = scaleLinear()
4219
- .domain([0, Math.max(rangez[0], markerz[0], measurez[0])])
4220
- .range(reverse ? [extentX, 0] : [0, extentX]);
4221
-
4222
- // Retrieve the old x-scale, if this is an update.
4223
- var x0 = this.__chart__ || scaleLinear()
4224
- .domain([0, Infinity])
4225
- .range(x1.range());
4226
-
4227
- // Stash the new scale.
4228
- this.__chart__ = x1;
4229
-
4230
- // Derive width-scales from the x-scales.
4231
- var w0 = bulvarWidth(x0),
4232
- w1 = bulvarWidth(x1);
4233
-
4234
- // Update the range rects.
4235
- var range = wrap.selectAll("rect.range")
4236
- .data(rangez);
4237
-
4238
- range.enter().append("rect")
4239
- .attr("class", function (_d, i2) { return "range s" + i2; })
4240
- .attr("width", w0)
4241
- .attr("height", extentY)
4242
- .attr("x", reverse ? x0 : 0)
4243
- .merge(range)
4244
- .transition(range)
4245
- .attr("x", reverse ? x1 : 0)
4246
- .attr("width", w1)
4247
- .attr("height", extentY);
4248
-
4249
- // Update the measure rects.
4250
- var measure = wrap.selectAll("rect.measure")
4251
- .data(measurez);
4252
-
4253
- measure.enter().append("rect")
4254
- .attr("class", function (_d, i2) { return "measure s" + i2; })
4255
- .attr("width", w0)
4256
- .attr("height", extentY / 3)
4257
- .attr("x", reverse ? x0 : 0)
4258
- .attr("y", extentY / 3)
4259
- .merge(measure)
4260
- .transition(measure)
4261
- .attr("width", w1)
4262
- .attr("height", extentY / 3)
4263
- .attr("x", reverse ? x1 : 0)
4264
- .attr("y", extentY / 3);
4265
-
4266
- // Update the marker lines.
4267
- var marker = wrap.selectAll("line.marker")
4268
- .data(markerz);
4269
-
4270
- marker.enter().append("line")
4271
- .attr("class", "marker")
4272
- .attr("x1", x0)
4273
- .attr("x2", x0)
4274
- .attr("y1", extentY / 6)
4275
- .attr("y2", extentY * 5 / 6)
4276
- .merge(marker)
4277
- .transition(marker)
4278
- .attr("x1", x1)
4279
- .attr("x2", x1)
4280
- .attr("y1", extentY / 6)
4281
- .attr("y2", extentY * 5 / 6);
4282
-
4283
- var axis = g2.selectAll("g.axis").data([0]);
4284
- axis.enter().append("g").attr("class", "axis");
4285
- axis.attr("transform", vertical ? null : "translate(0," + extentY + ")")
4286
- .call(xAxis.scale(x1));
4287
- });
4288
- timerFlush();
4289
- }
4290
-
4291
- // left, right, top, bottom
4292
- bulvar.orient = function (_) {
4293
- if (!arguments.length) return orient;
4294
- orient = _ + "";
4295
- reverse = orient === "right" || orient === "bottom";
4296
- xAxis.orient((vertical = orient === "top" || orient === "bottom") ? "left" : "bottom");
4297
- return bulvar;
4298
- };
4299
-
4300
- // ranges (bad, satisfactory, good)
4301
- bulvar.ranges = function (_) {
4302
- if (!arguments.length) return ranges;
4303
- ranges = _;
4304
- return bulvar;
4305
- };
4306
-
4307
- // markers (previous, goal)
4308
- bulvar.markers = function (_) {
4309
- if (!arguments.length) return markers;
4310
- markers = _;
4311
- return bulvar;
4312
- };
4313
-
4314
- // measures (actual, forecast)
4315
- bulvar.measures = function (_) {
4316
- if (!arguments.length) return measures;
4317
- measures = _;
4318
- return bulvar;
4319
- };
4320
-
4321
- bulvar.width = function (_) {
4322
- if (!arguments.length) return width;
4323
- width = +_;
4324
- return bulvar;
4325
- };
4326
-
4327
- bulvar.height = function (_) {
4328
- if (!arguments.length) return height;
4329
- height = +_;
4330
- return bulvar;
4331
- };
4332
-
4333
- bulvar.tickFormat = function (_) {
4334
- if (!arguments.length) return xAxis.tickFormat();
4335
- xAxis.tickFormat(_);
4336
- return bulvar;
4337
- };
4338
-
4339
- return bulvar;
4340
- }
4341
-
4342
- function bulvarRanges(d) {
4343
- return d.ranges;
4344
- }
4345
-
4346
- function bulvarMarkers(d) {
4347
- return d.markers;
4348
- }
4349
-
4350
- function bulvarMeasures(d) {
4351
- return d.measures;
4352
- }
4353
-
4354
- function bulvarWidth(x) {
4355
- var x0 = x(0);
4356
- return function (d) {
4357
- return Math.abs(x(d) - x0);
4358
- };
4169
+ function d3Bullet () {
4170
+ var orient = "left",
4171
+ reverse = false,
4172
+ vertical = false,
4173
+ ranges = bulvarRanges,
4174
+ markers = bulvarMarkers,
4175
+ measures = bulvarMeasures,
4176
+ width = 380,
4177
+ height = 30,
4178
+ xAxis = axisLeft();
4179
+
4180
+ // For each small multiple…
4181
+ function bulvar(g) {
4182
+ g.each(function (d, i) {
4183
+ var rangez = ranges.call(this, d, i).slice().sort(descending$1),
4184
+ markerz = markers.call(this, d, i).slice().sort(descending$1),
4185
+ measurez = measures.call(this, d, i).slice().sort(descending$1),
4186
+ g2 = select(this),
4187
+ extentX,
4188
+ extentY;
4189
+
4190
+ var wrap = g2.select("g.wrap");
4191
+ if (wrap.empty()) wrap = g2.append("g").attr("class", "wrap");
4192
+
4193
+ if (vertical) {
4194
+ extentX = height, extentY = width;
4195
+ wrap.attr("transform", "rotate(90)translate(0," + -width + ")");
4196
+ } else {
4197
+ extentX = width, extentY = height;
4198
+ wrap.attr("transform", null);
4199
+ }
4200
+
4201
+ // Compute the new x-scale.
4202
+ var x1 = scaleLinear()
4203
+ .domain([0, Math.max(rangez[0], markerz[0], measurez[0])])
4204
+ .range(reverse ? [extentX, 0] : [0, extentX]);
4205
+
4206
+ // Retrieve the old x-scale, if this is an update.
4207
+ var x0 = this.__chart__ || scaleLinear()
4208
+ .domain([0, Infinity])
4209
+ .range(x1.range());
4210
+
4211
+ // Stash the new scale.
4212
+ this.__chart__ = x1;
4213
+
4214
+ // Derive width-scales from the x-scales.
4215
+ var w0 = bulvarWidth(x0),
4216
+ w1 = bulvarWidth(x1);
4217
+
4218
+ // Update the range rects.
4219
+ var range = wrap.selectAll("rect.range")
4220
+ .data(rangez);
4221
+
4222
+ range.enter().append("rect")
4223
+ .attr("class", function (_d, i2) { return "range s" + i2; })
4224
+ .attr("width", w0)
4225
+ .attr("height", extentY)
4226
+ .attr("x", reverse ? x0 : 0)
4227
+ .merge(range)
4228
+ .transition(range)
4229
+ .attr("x", reverse ? x1 : 0)
4230
+ .attr("width", w1)
4231
+ .attr("height", extentY);
4232
+
4233
+ // Update the measure rects.
4234
+ var measure = wrap.selectAll("rect.measure")
4235
+ .data(measurez);
4236
+
4237
+ measure.enter().append("rect")
4238
+ .attr("class", function (_d, i2) { return "measure s" + i2; })
4239
+ .attr("width", w0)
4240
+ .attr("height", extentY / 3)
4241
+ .attr("x", reverse ? x0 : 0)
4242
+ .attr("y", extentY / 3)
4243
+ .merge(measure)
4244
+ .transition(measure)
4245
+ .attr("width", w1)
4246
+ .attr("height", extentY / 3)
4247
+ .attr("x", reverse ? x1 : 0)
4248
+ .attr("y", extentY / 3);
4249
+
4250
+ // Update the marker lines.
4251
+ var marker = wrap.selectAll("line.marker")
4252
+ .data(markerz);
4253
+
4254
+ marker.enter().append("line")
4255
+ .attr("class", "marker")
4256
+ .attr("x1", x0)
4257
+ .attr("x2", x0)
4258
+ .attr("y1", extentY / 6)
4259
+ .attr("y2", extentY * 5 / 6)
4260
+ .merge(marker)
4261
+ .transition(marker)
4262
+ .attr("x1", x1)
4263
+ .attr("x2", x1)
4264
+ .attr("y1", extentY / 6)
4265
+ .attr("y2", extentY * 5 / 6);
4266
+
4267
+ var axis = g2.selectAll("g.axis").data([0]);
4268
+ axis.enter().append("g").attr("class", "axis");
4269
+ axis.attr("transform", vertical ? null : "translate(0," + extentY + ")")
4270
+ .call(xAxis.scale(x1));
4271
+ });
4272
+ timerFlush();
4273
+ }
4274
+
4275
+ // left, right, top, bottom
4276
+ bulvar.orient = function (_) {
4277
+ if (!arguments.length) return orient;
4278
+ orient = _ + "";
4279
+ reverse = orient === "right" || orient === "bottom";
4280
+ xAxis.orient((vertical = orient === "top" || orient === "bottom") ? "left" : "bottom"); // eslint-disable-line
4281
+ return bulvar;
4282
+ };
4283
+
4284
+ // ranges (bad, satisfactory, good)
4285
+ bulvar.ranges = function (_) {
4286
+ if (!arguments.length) return ranges;
4287
+ ranges = _;
4288
+ return bulvar;
4289
+ };
4290
+
4291
+ // markers (previous, goal)
4292
+ bulvar.markers = function (_) {
4293
+ if (!arguments.length) return markers;
4294
+ markers = _;
4295
+ return bulvar;
4296
+ };
4297
+
4298
+ // measures (actual, forecast)
4299
+ bulvar.measures = function (_) {
4300
+ if (!arguments.length) return measures;
4301
+ measures = _;
4302
+ return bulvar;
4303
+ };
4304
+
4305
+ bulvar.width = function (_) {
4306
+ if (!arguments.length) return width;
4307
+ width = +_;
4308
+ return bulvar;
4309
+ };
4310
+
4311
+ bulvar.height = function (_) {
4312
+ if (!arguments.length) return height;
4313
+ height = +_;
4314
+ return bulvar;
4315
+ };
4316
+
4317
+ bulvar.tickFormat = function (_) {
4318
+ if (!arguments.length) return xAxis.tickFormat();
4319
+ xAxis.tickFormat(_);
4320
+ return bulvar;
4321
+ };
4322
+
4323
+ return bulvar;
4324
+ }
4325
+
4326
+ function bulvarRanges(d) {
4327
+ return d.ranges;
4328
+ }
4329
+
4330
+ function bulvarMarkers(d) {
4331
+ return d.markers;
4332
+ }
4333
+
4334
+ function bulvarMeasures(d) {
4335
+ return d.measures;
4336
+ }
4337
+
4338
+ function bulvarWidth(x) {
4339
+ var x0 = x(0);
4340
+ return function (d) {
4341
+ return Math.abs(x(d) - x0);
4342
+ };
4359
4343
  }
4360
4344
 
4361
- var css_248z$5 = ".chart_Bullet .domain{opacity:0}.chart_Bullet .bullet{border:1px solid transparent;font:10px sans-serif}.chart_Bullet .bullet.selected{border-color:red}.chart_Bullet .bullet.over{border-color:orange}.chart_Bullet .bullet.selected.over{border-color:red}.chart_Bullet .bullet .marker{stroke:#000;stroke-width:2px}.chart_Bullet .bullet .tick line{stroke:#666;stroke-width:.5px}.chart_Bullet .bullet .range.s0{fill:#eee}.chart_Bullet .bullet .range.s1{fill:#ddd}.chart_Bullet .bullet .range.s2{fill:#ccc}.chart_Bullet .bullet .measure.s0{fill:#b0c4de}.chart_Bullet .bullet .measure.s1{fill:#4682b4}.chart_Bullet .bullet .title{font-size:14px;font-weight:700}.chart_Bullet .bullet .subtitle{fill:#999}";
4362
- styleInject(css_248z$5);
4345
+ var css_248z$7 = ".chart_Bullet .domain{opacity:0}.chart_Bullet .bullet{border:1px solid transparent;font:10px sans-serif}.chart_Bullet .bullet.selected{border-color:red}.chart_Bullet .bullet.over{border-color:orange}.chart_Bullet .bullet.selected.over{border-color:red}.chart_Bullet .bullet .marker{stroke:#000;stroke-width:2px}.chart_Bullet .bullet .tick line{stroke:#666;stroke-width:.5px}.chart_Bullet .bullet .range.s0{fill:#eee}.chart_Bullet .bullet .range.s1{fill:#ddd}.chart_Bullet .bullet .range.s2{fill:#ccc}.chart_Bullet .bullet .measure.s0{fill:#b0c4de}.chart_Bullet .bullet .measure.s1{fill:#4682b4}.chart_Bullet .bullet .title{font-size:14px;font-weight:700}.chart_Bullet .bullet .subtitle{fill:#999}";
4346
+ styleInject(css_248z$7);
4363
4347
 
4364
4348
  var Bullet = /** @class */ (function (_super) {
4365
4349
  __extends(Bullet, _super);
@@ -4457,13 +4441,13 @@ var Bullet = /** @class */ (function (_super) {
4457
4441
  svgUpdate
4458
4442
  .attr("width", width)
4459
4443
  .attr("height", height + margin.top + margin.bottom)
4460
- .style("margin-left", margin.left + "px");
4444
+ .style("margin-left", "".concat(margin.left, "px"));
4461
4445
  svgUpdate.select(".bulletBar")
4462
4446
  .attr("transform", "translate(" + (titleWidth + 6) + "," + margin.top + ")")
4463
4447
  .call(chart);
4464
4448
  svg.exit().remove();
4465
4449
  if (Object.keys(this._hiddenColumns).length > 0) {
4466
- element.selectAll("." + Object.keys(this._hiddenColumns).join(",."))
4450
+ element.selectAll(".".concat(Object.keys(this._hiddenColumns).join(",.")))
4467
4451
  .style("display", "none");
4468
4452
  }
4469
4453
  };
@@ -4472,10 +4456,10 @@ var Bullet = /** @class */ (function (_super) {
4472
4456
  };
4473
4457
  // Events ---
4474
4458
  Bullet.prototype.click = function (row, column, selected) {
4475
- console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
4459
+ // console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
4476
4460
  };
4477
4461
  Bullet.prototype.dblclick = function (row, column, selected) {
4478
- console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
4462
+ // console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
4479
4463
  };
4480
4464
  __decorate([
4481
4465
  publish(null, "set", "Title Column", function () { return this.columns(); }, { optional: true }),
@@ -4503,7 +4487,7 @@ Bullet.prototype._class += " chart_Bullet";
4503
4487
 
4504
4488
  var array = Array.prototype;
4505
4489
 
4506
- var slice$2 = array.slice;
4490
+ var slice = array.slice;
4507
4491
 
4508
4492
  function ascending(a, b) {
4509
4493
  return a - b;
@@ -4515,7 +4499,7 @@ function area(ring) {
4515
4499
  return area;
4516
4500
  }
4517
4501
 
4518
- function constant$2(x) {
4502
+ function constant$1(x) {
4519
4503
  return function() {
4520
4504
  return x;
4521
4505
  };
@@ -4549,7 +4533,7 @@ function within(p, q, r) {
4549
4533
  return p <= q && q <= r || r <= q && q <= p;
4550
4534
  }
4551
4535
 
4552
- function noop() {}
4536
+ function noop$1() {}
4553
4537
 
4554
4538
  var cases = [
4555
4539
  [],
@@ -4737,11 +4721,11 @@ function contours() {
4737
4721
  };
4738
4722
 
4739
4723
  contours.thresholds = function(_) {
4740
- return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? constant$2(slice$2.call(_)) : constant$2(_), contours) : threshold;
4724
+ return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? constant$1(slice.call(_)) : constant$1(_), contours) : threshold;
4741
4725
  };
4742
4726
 
4743
4727
  contours.smooth = function(_) {
4744
- return arguments.length ? (smooth = _ ? smoothLinear : noop, contours) : smooth === smoothLinear;
4728
+ return arguments.length ? (smooth = _ ? smoothLinear : noop$1, contours) : smooth === smoothLinear;
4745
4729
  };
4746
4730
 
4747
4731
  return contours;
@@ -4814,7 +4798,7 @@ function d3ContourDensity() {
4814
4798
  o = r * 3, // grid offset, to pad for blur
4815
4799
  n = (dx + o * 2) >> k, // grid width
4816
4800
  m = (dy + o * 2) >> k, // grid height
4817
- threshold = constant$2(20);
4801
+ threshold = constant$1(20);
4818
4802
 
4819
4803
  function density(data) {
4820
4804
  var values0 = new Float32Array(n * m),
@@ -4882,15 +4866,15 @@ function d3ContourDensity() {
4882
4866
  }
4883
4867
 
4884
4868
  density.x = function(_) {
4885
- return arguments.length ? (x = typeof _ === "function" ? _ : constant$2(+_), density) : x;
4869
+ return arguments.length ? (x = typeof _ === "function" ? _ : constant$1(+_), density) : x;
4886
4870
  };
4887
4871
 
4888
4872
  density.y = function(_) {
4889
- return arguments.length ? (y = typeof _ === "function" ? _ : constant$2(+_), density) : y;
4873
+ return arguments.length ? (y = typeof _ === "function" ? _ : constant$1(+_), density) : y;
4890
4874
  };
4891
4875
 
4892
4876
  density.weight = function(_) {
4893
- return arguments.length ? (weight = typeof _ === "function" ? _ : constant$2(+_), density) : weight;
4877
+ return arguments.length ? (weight = typeof _ === "function" ? _ : constant$1(+_), density) : weight;
4894
4878
  };
4895
4879
 
4896
4880
  density.size = function(_) {
@@ -4907,7 +4891,7 @@ function d3ContourDensity() {
4907
4891
  };
4908
4892
 
4909
4893
  density.thresholds = function(_) {
4910
- return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? constant$2(slice$2.call(_)) : constant$2(_), density) : threshold;
4894
+ return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? constant$1(slice.call(_)) : constant$1(_), density) : threshold;
4911
4895
  };
4912
4896
 
4913
4897
  density.bandwidth = function(_) {
@@ -4960,13 +4944,13 @@ function add(adder, a, b) {
4960
4944
  adder.t = (a - av) + (b - bv);
4961
4945
  }
4962
4946
 
4963
- var pi$2 = Math.PI;
4964
- var tau$2 = pi$2 * 2;
4947
+ var pi$1 = Math.PI;
4948
+ var tau$1 = pi$1 * 2;
4965
4949
 
4966
- var abs$1 = Math.abs;
4967
- var sqrt$1 = Math.sqrt;
4950
+ var abs = Math.abs;
4951
+ var sqrt = Math.sqrt;
4968
4952
 
4969
- function noop$1() {}
4953
+ function noop() {}
4970
4954
 
4971
4955
  function streamGeometry(geometry, stream) {
4972
4956
  if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {
@@ -5038,28 +5022,28 @@ function geoStream(object, stream) {
5038
5022
  }
5039
5023
  }
5040
5024
 
5041
- function identity$2(x) {
5025
+ function identity(x) {
5042
5026
  return x;
5043
5027
  }
5044
5028
 
5045
5029
  var areaSum = adder(),
5046
5030
  areaRingSum = adder(),
5047
- x00,
5048
- y00,
5049
- x0,
5050
- y0;
5031
+ x00$2,
5032
+ y00$2,
5033
+ x0$3,
5034
+ y0$3;
5051
5035
 
5052
5036
  var areaStream = {
5053
- point: noop$1,
5054
- lineStart: noop$1,
5055
- lineEnd: noop$1,
5037
+ point: noop,
5038
+ lineStart: noop,
5039
+ lineEnd: noop,
5056
5040
  polygonStart: function() {
5057
5041
  areaStream.lineStart = areaRingStart;
5058
5042
  areaStream.lineEnd = areaRingEnd;
5059
5043
  },
5060
5044
  polygonEnd: function() {
5061
- areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop$1;
5062
- areaSum.add(abs$1(areaRingSum));
5045
+ areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop;
5046
+ areaSum.add(abs(areaRingSum));
5063
5047
  areaRingSum.reset();
5064
5048
  },
5065
5049
  result: function() {
@@ -5075,43 +5059,47 @@ function areaRingStart() {
5075
5059
 
5076
5060
  function areaPointFirst(x, y) {
5077
5061
  areaStream.point = areaPoint;
5078
- x00 = x0 = x, y00 = y0 = y;
5062
+ x00$2 = x0$3 = x, y00$2 = y0$3 = y;
5079
5063
  }
5080
5064
 
5081
5065
  function areaPoint(x, y) {
5082
- areaRingSum.add(y0 * x - x0 * y);
5083
- x0 = x, y0 = y;
5066
+ areaRingSum.add(y0$3 * x - x0$3 * y);
5067
+ x0$3 = x, y0$3 = y;
5084
5068
  }
5085
5069
 
5086
5070
  function areaRingEnd() {
5087
- areaPoint(x00, y00);
5071
+ areaPoint(x00$2, y00$2);
5088
5072
  }
5089
5073
 
5090
- var x0$1 = Infinity,
5091
- y0$1 = x0$1,
5092
- x1 = -x0$1,
5074
+ var pathArea = areaStream;
5075
+
5076
+ var x0$2 = Infinity,
5077
+ y0$2 = x0$2,
5078
+ x1 = -x0$2,
5093
5079
  y1 = x1;
5094
5080
 
5095
5081
  var boundsStream = {
5096
5082
  point: boundsPoint,
5097
- lineStart: noop$1,
5098
- lineEnd: noop$1,
5099
- polygonStart: noop$1,
5100
- polygonEnd: noop$1,
5083
+ lineStart: noop,
5084
+ lineEnd: noop,
5085
+ polygonStart: noop,
5086
+ polygonEnd: noop,
5101
5087
  result: function() {
5102
- var bounds = [[x0$1, y0$1], [x1, y1]];
5103
- x1 = y1 = -(y0$1 = x0$1 = Infinity);
5088
+ var bounds = [[x0$2, y0$2], [x1, y1]];
5089
+ x1 = y1 = -(y0$2 = x0$2 = Infinity);
5104
5090
  return bounds;
5105
5091
  }
5106
5092
  };
5107
5093
 
5108
5094
  function boundsPoint(x, y) {
5109
- if (x < x0$1) x0$1 = x;
5095
+ if (x < x0$2) x0$2 = x;
5110
5096
  if (x > x1) x1 = x;
5111
- if (y < y0$1) y0$1 = y;
5097
+ if (y < y0$2) y0$2 = y;
5112
5098
  if (y > y1) y1 = y;
5113
5099
  }
5114
5100
 
5101
+ var boundsStream$1 = boundsStream;
5102
+
5115
5103
  // TODO Enforce positive area for exterior, negative area for interior?
5116
5104
 
5117
5105
  var X0 = 0,
@@ -5125,8 +5113,8 @@ var X0 = 0,
5125
5113
  Z2 = 0,
5126
5114
  x00$1,
5127
5115
  y00$1,
5128
- x0$2,
5129
- y0$2;
5116
+ x0$1,
5117
+ y0$1;
5130
5118
 
5131
5119
  var centroidStream = {
5132
5120
  point: centroidPoint,
@@ -5165,15 +5153,15 @@ function centroidLineStart() {
5165
5153
 
5166
5154
  function centroidPointFirstLine(x, y) {
5167
5155
  centroidStream.point = centroidPointLine;
5168
- centroidPoint(x0$2 = x, y0$2 = y);
5156
+ centroidPoint(x0$1 = x, y0$1 = y);
5169
5157
  }
5170
5158
 
5171
5159
  function centroidPointLine(x, y) {
5172
- var dx = x - x0$2, dy = y - y0$2, z = sqrt$1(dx * dx + dy * dy);
5173
- X1 += z * (x0$2 + x) / 2;
5174
- Y1 += z * (y0$2 + y) / 2;
5160
+ var dx = x - x0$1, dy = y - y0$1, z = sqrt(dx * dx + dy * dy);
5161
+ X1 += z * (x0$1 + x) / 2;
5162
+ Y1 += z * (y0$1 + y) / 2;
5175
5163
  Z1 += z;
5176
- centroidPoint(x0$2 = x, y0$2 = y);
5164
+ centroidPoint(x0$1 = x, y0$1 = y);
5177
5165
  }
5178
5166
 
5179
5167
  function centroidLineEnd() {
@@ -5190,25 +5178,27 @@ function centroidRingEnd() {
5190
5178
 
5191
5179
  function centroidPointFirstRing(x, y) {
5192
5180
  centroidStream.point = centroidPointRing;
5193
- centroidPoint(x00$1 = x0$2 = x, y00$1 = y0$2 = y);
5181
+ centroidPoint(x00$1 = x0$1 = x, y00$1 = y0$1 = y);
5194
5182
  }
5195
5183
 
5196
5184
  function centroidPointRing(x, y) {
5197
- var dx = x - x0$2,
5198
- dy = y - y0$2,
5199
- z = sqrt$1(dx * dx + dy * dy);
5185
+ var dx = x - x0$1,
5186
+ dy = y - y0$1,
5187
+ z = sqrt(dx * dx + dy * dy);
5200
5188
 
5201
- X1 += z * (x0$2 + x) / 2;
5202
- Y1 += z * (y0$2 + y) / 2;
5189
+ X1 += z * (x0$1 + x) / 2;
5190
+ Y1 += z * (y0$1 + y) / 2;
5203
5191
  Z1 += z;
5204
5192
 
5205
- z = y0$2 * x - x0$2 * y;
5206
- X2 += z * (x0$2 + x);
5207
- Y2 += z * (y0$2 + y);
5193
+ z = y0$1 * x - x0$1 * y;
5194
+ X2 += z * (x0$1 + x);
5195
+ Y2 += z * (y0$1 + y);
5208
5196
  Z2 += z * 3;
5209
- centroidPoint(x0$2 = x, y0$2 = y);
5197
+ centroidPoint(x0$1 = x, y0$1 = y);
5210
5198
  }
5211
5199
 
5200
+ var pathCentroid = centroidStream;
5201
+
5212
5202
  function PathContext(context) {
5213
5203
  this._context = context;
5214
5204
  }
@@ -5244,29 +5234,29 @@ PathContext.prototype = {
5244
5234
  }
5245
5235
  default: {
5246
5236
  this._context.moveTo(x + this._radius, y);
5247
- this._context.arc(x, y, this._radius, 0, tau$2);
5237
+ this._context.arc(x, y, this._radius, 0, tau$1);
5248
5238
  break;
5249
5239
  }
5250
5240
  }
5251
5241
  },
5252
- result: noop$1
5242
+ result: noop
5253
5243
  };
5254
5244
 
5255
5245
  var lengthSum = adder(),
5256
5246
  lengthRing,
5257
- x00$2,
5258
- y00$2,
5259
- x0$3,
5260
- y0$3;
5247
+ x00,
5248
+ y00,
5249
+ x0,
5250
+ y0;
5261
5251
 
5262
5252
  var lengthStream = {
5263
- point: noop$1,
5253
+ point: noop,
5264
5254
  lineStart: function() {
5265
5255
  lengthStream.point = lengthPointFirst;
5266
5256
  },
5267
5257
  lineEnd: function() {
5268
- if (lengthRing) lengthPoint(x00$2, y00$2);
5269
- lengthStream.point = noop$1;
5258
+ if (lengthRing) lengthPoint(x00, y00);
5259
+ lengthStream.point = noop;
5270
5260
  },
5271
5261
  polygonStart: function() {
5272
5262
  lengthRing = true;
@@ -5283,15 +5273,17 @@ var lengthStream = {
5283
5273
 
5284
5274
  function lengthPointFirst(x, y) {
5285
5275
  lengthStream.point = lengthPoint;
5286
- x00$2 = x0$3 = x, y00$2 = y0$3 = y;
5276
+ x00 = x0 = x, y00 = y0 = y;
5287
5277
  }
5288
5278
 
5289
5279
  function lengthPoint(x, y) {
5290
- x0$3 -= x, y0$3 -= y;
5291
- lengthSum.add(sqrt$1(x0$3 * x0$3 + y0$3 * y0$3));
5292
- x0$3 = x, y0$3 = y;
5280
+ x0 -= x, y0 -= y;
5281
+ lengthSum.add(sqrt(x0 * x0 + y0 * y0));
5282
+ x0 = x, y0 = y;
5293
5283
  }
5294
5284
 
5285
+ var pathMeasure = lengthStream;
5286
+
5295
5287
  function PathString() {
5296
5288
  this._string = [];
5297
5289
  }
@@ -5366,27 +5358,27 @@ function geoPath(projection, context) {
5366
5358
  }
5367
5359
 
5368
5360
  path.area = function(object) {
5369
- geoStream(object, projectionStream(areaStream));
5370
- return areaStream.result();
5361
+ geoStream(object, projectionStream(pathArea));
5362
+ return pathArea.result();
5371
5363
  };
5372
5364
 
5373
5365
  path.measure = function(object) {
5374
- geoStream(object, projectionStream(lengthStream));
5375
- return lengthStream.result();
5366
+ geoStream(object, projectionStream(pathMeasure));
5367
+ return pathMeasure.result();
5376
5368
  };
5377
5369
 
5378
5370
  path.bounds = function(object) {
5379
- geoStream(object, projectionStream(boundsStream));
5380
- return boundsStream.result();
5371
+ geoStream(object, projectionStream(boundsStream$1));
5372
+ return boundsStream$1.result();
5381
5373
  };
5382
5374
 
5383
5375
  path.centroid = function(object) {
5384
- geoStream(object, projectionStream(centroidStream));
5385
- return centroidStream.result();
5376
+ geoStream(object, projectionStream(pathCentroid));
5377
+ return pathCentroid.result();
5386
5378
  };
5387
5379
 
5388
5380
  path.projection = function(_) {
5389
- return arguments.length ? (projectionStream = _ == null ? (projection = null, identity$2) : (projection = _).stream, path) : projection;
5381
+ return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;
5390
5382
  };
5391
5383
 
5392
5384
  path.context = function(_) {
@@ -5487,42 +5479,42 @@ var Gantt = /** @class */ (function (_super) {
5487
5479
  }(Bar));
5488
5480
  Gantt.prototype._class += " chart_Gantt";
5489
5481
 
5490
- function constant$3(x) {
5482
+ function constant(x) {
5491
5483
  return function constant() {
5492
5484
  return x;
5493
5485
  };
5494
5486
  }
5495
5487
 
5496
- var epsilon$3 = 1e-12;
5497
- var pi$3 = Math.PI;
5498
- var halfPi$1 = pi$3 / 2;
5499
- var tau$3 = 2 * pi$3;
5488
+ var epsilon = 1e-12;
5489
+ var pi = Math.PI;
5490
+ var halfPi = pi / 2;
5491
+ var tau = 2 * pi;
5500
5492
 
5501
- function arcInnerRadius$1(d) {
5493
+ function arcInnerRadius(d) {
5502
5494
  return d.innerRadius;
5503
5495
  }
5504
5496
 
5505
- function arcOuterRadius$1(d) {
5497
+ function arcOuterRadius(d) {
5506
5498
  return d.outerRadius;
5507
5499
  }
5508
5500
 
5509
- function arcStartAngle$1(d) {
5501
+ function arcStartAngle(d) {
5510
5502
  return d.startAngle;
5511
5503
  }
5512
5504
 
5513
- function arcEndAngle$1(d) {
5505
+ function arcEndAngle(d) {
5514
5506
  return d.endAngle;
5515
5507
  }
5516
5508
 
5517
- function arcPadAngle$1(d) {
5509
+ function arcPadAngle(d) {
5518
5510
  return d && d.padAngle; // Note: optional!
5519
5511
  }
5520
5512
 
5521
- function asin$1(x) {
5522
- return x >= 1 ? halfPi$1 : x <= -1 ? -halfPi$1 : Math.asin(x);
5513
+ function asin(x) {
5514
+ return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);
5523
5515
  }
5524
5516
 
5525
- function intersect$1(x0, y0, x1, y1, x2, y2, x3, y3) {
5517
+ function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
5526
5518
  var x10 = x1 - x0, y10 = y1 - y0,
5527
5519
  x32 = x3 - x2, y32 = y3 - y2,
5528
5520
  t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / (y32 * x10 - x32 * y10);
@@ -5531,7 +5523,7 @@ function intersect$1(x0, y0, x1, y1, x2, y2, x3, y3) {
5531
5523
 
5532
5524
  // Compute perpendicular offset line of length rc.
5533
5525
  // http://mathworld.wolfram.com/Circle-LineIntersection.html
5534
- function cornerTangents$1(x0, y0, x1, y1, r1, rc, cw) {
5526
+ function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
5535
5527
  var x01 = x0 - x1,
5536
5528
  y01 = y0 - y1,
5537
5529
  lo = (cw ? rc : -rc) / Math.sqrt(x01 * x01 + y01 * y01),
@@ -5573,13 +5565,13 @@ function cornerTangents$1(x0, y0, x1, y1, r1, rc, cw) {
5573
5565
  }
5574
5566
 
5575
5567
  function arc() {
5576
- var innerRadius = arcInnerRadius$1,
5577
- outerRadius = arcOuterRadius$1,
5578
- cornerRadius = constant$3(0),
5568
+ var innerRadius = arcInnerRadius,
5569
+ outerRadius = arcOuterRadius,
5570
+ cornerRadius = constant(0),
5579
5571
  padRadius = null,
5580
- startAngle = arcStartAngle$1,
5581
- endAngle = arcEndAngle$1,
5582
- padAngle = arcPadAngle$1,
5572
+ startAngle = arcStartAngle,
5573
+ endAngle = arcEndAngle,
5574
+ padAngle = arcPadAngle,
5583
5575
  context = null;
5584
5576
 
5585
5577
  function arc() {
@@ -5587,8 +5579,8 @@ function arc() {
5587
5579
  r,
5588
5580
  r0 = +innerRadius.apply(this, arguments),
5589
5581
  r1 = +outerRadius.apply(this, arguments),
5590
- a0 = startAngle.apply(this, arguments) - halfPi$1,
5591
- a1 = endAngle.apply(this, arguments) - halfPi$1,
5582
+ a0 = startAngle.apply(this, arguments) - halfPi,
5583
+ a1 = endAngle.apply(this, arguments) - halfPi,
5592
5584
  da = Math.abs(a1 - a0),
5593
5585
  cw = a1 > a0;
5594
5586
 
@@ -5598,13 +5590,13 @@ function arc() {
5598
5590
  if (r1 < r0) r = r1, r1 = r0, r0 = r;
5599
5591
 
5600
5592
  // Is it a point?
5601
- if (!(r1 > epsilon$3)) context.moveTo(0, 0);
5593
+ if (!(r1 > epsilon)) context.moveTo(0, 0);
5602
5594
 
5603
5595
  // Or is it a circle or annulus?
5604
- else if (da > tau$3 - epsilon$3) {
5596
+ else if (da > tau - epsilon) {
5605
5597
  context.moveTo(r1 * Math.cos(a0), r1 * Math.sin(a0));
5606
5598
  context.arc(0, 0, r1, a0, a1, !cw);
5607
- if (r0 > epsilon$3) {
5599
+ if (r0 > epsilon) {
5608
5600
  context.moveTo(r0 * Math.cos(a1), r0 * Math.sin(a1));
5609
5601
  context.arc(0, 0, r0, a1, a0, cw);
5610
5602
  }
@@ -5619,7 +5611,7 @@ function arc() {
5619
5611
  da0 = da,
5620
5612
  da1 = da,
5621
5613
  ap = padAngle.apply(this, arguments) / 2,
5622
- rp = (ap > epsilon$3) && (padRadius ? +padRadius.apply(this, arguments) : Math.sqrt(r0 * r0 + r1 * r1)),
5614
+ rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : Math.sqrt(r0 * r0 + r1 * r1)),
5623
5615
  rc = Math.min(Math.abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),
5624
5616
  rc0 = rc,
5625
5617
  rc1 = rc,
@@ -5627,12 +5619,12 @@ function arc() {
5627
5619
  t1;
5628
5620
 
5629
5621
  // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.
5630
- if (rp > epsilon$3) {
5631
- var p0 = asin$1(rp / r0 * Math.sin(ap)),
5632
- p1 = asin$1(rp / r1 * Math.sin(ap));
5633
- if ((da0 -= p0 * 2) > epsilon$3) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;
5622
+ if (rp > epsilon) {
5623
+ var p0 = asin(rp / r0 * Math.sin(ap)),
5624
+ p1 = asin(rp / r1 * Math.sin(ap));
5625
+ if ((da0 -= p0 * 2) > epsilon) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;
5634
5626
  else da0 = 0, a00 = a10 = (a0 + a1) / 2;
5635
- if ((da1 -= p1 * 2) > epsilon$3) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;
5627
+ if ((da1 -= p1 * 2) > epsilon) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;
5636
5628
  else da1 = 0, a01 = a11 = (a0 + a1) / 2;
5637
5629
  }
5638
5630
 
@@ -5642,15 +5634,15 @@ function arc() {
5642
5634
  y10 = r0 * Math.sin(a10);
5643
5635
 
5644
5636
  // Apply rounded corners?
5645
- if (rc > epsilon$3) {
5637
+ if (rc > epsilon) {
5646
5638
  var x11 = r1 * Math.cos(a11),
5647
5639
  y11 = r1 * Math.sin(a11),
5648
5640
  x00 = r0 * Math.cos(a00),
5649
5641
  y00 = r0 * Math.sin(a00);
5650
5642
 
5651
5643
  // Restrict the corner radius according to the sector angle.
5652
- if (da < pi$3) {
5653
- var oc = da0 > epsilon$3 ? intersect$1(x01, y01, x00, y00, x11, y11, x10, y10) : [x10, y10],
5644
+ if (da < pi) {
5645
+ var oc = da0 > epsilon ? intersect(x01, y01, x00, y00, x11, y11, x10, y10) : [x10, y10],
5654
5646
  ax = x01 - oc[0],
5655
5647
  ay = y01 - oc[1],
5656
5648
  bx = x11 - oc[0],
@@ -5663,12 +5655,12 @@ function arc() {
5663
5655
  }
5664
5656
 
5665
5657
  // Is the sector collapsed to a line?
5666
- if (!(da1 > epsilon$3)) context.moveTo(x01, y01);
5658
+ if (!(da1 > epsilon)) context.moveTo(x01, y01);
5667
5659
 
5668
5660
  // Does the sector’s outer ring have rounded corners?
5669
- else if (rc1 > epsilon$3) {
5670
- t0 = cornerTangents$1(x00, y00, x01, y01, r1, rc1, cw);
5671
- t1 = cornerTangents$1(x11, y11, x10, y10, r1, rc1, cw);
5661
+ else if (rc1 > epsilon) {
5662
+ t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);
5663
+ t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);
5672
5664
 
5673
5665
  context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);
5674
5666
 
@@ -5688,12 +5680,12 @@ function arc() {
5688
5680
 
5689
5681
  // Is there no inner ring, and it’s a circular sector?
5690
5682
  // Or perhaps it’s an annular sector collapsed due to padding?
5691
- if (!(r0 > epsilon$3) || !(da0 > epsilon$3)) context.lineTo(x10, y10);
5683
+ if (!(r0 > epsilon) || !(da0 > epsilon)) context.lineTo(x10, y10);
5692
5684
 
5693
5685
  // Does the sector’s inner ring (or point) have rounded corners?
5694
- else if (rc0 > epsilon$3) {
5695
- t0 = cornerTangents$1(x10, y10, x11, y11, r0, -rc0, cw);
5696
- t1 = cornerTangents$1(x01, y01, x00, y00, r0, -rc0, cw);
5686
+ else if (rc0 > epsilon) {
5687
+ t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);
5688
+ t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);
5697
5689
 
5698
5690
  context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);
5699
5691
 
@@ -5719,36 +5711,36 @@ function arc() {
5719
5711
 
5720
5712
  arc.centroid = function() {
5721
5713
  var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,
5722
- a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi$3 / 2;
5714
+ a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;
5723
5715
  return [Math.cos(a) * r, Math.sin(a) * r];
5724
5716
  };
5725
5717
 
5726
5718
  arc.innerRadius = function(_) {
5727
- return arguments.length ? (innerRadius = typeof _ === "function" ? _ : constant$3(+_), arc) : innerRadius;
5719
+ return arguments.length ? (innerRadius = typeof _ === "function" ? _ : constant(+_), arc) : innerRadius;
5728
5720
  };
5729
5721
 
5730
5722
  arc.outerRadius = function(_) {
5731
- return arguments.length ? (outerRadius = typeof _ === "function" ? _ : constant$3(+_), arc) : outerRadius;
5723
+ return arguments.length ? (outerRadius = typeof _ === "function" ? _ : constant(+_), arc) : outerRadius;
5732
5724
  };
5733
5725
 
5734
5726
  arc.cornerRadius = function(_) {
5735
- return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : constant$3(+_), arc) : cornerRadius;
5727
+ return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : constant(+_), arc) : cornerRadius;
5736
5728
  };
5737
5729
 
5738
5730
  arc.padRadius = function(_) {
5739
- return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : constant$3(+_), arc) : padRadius;
5731
+ return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : constant(+_), arc) : padRadius;
5740
5732
  };
5741
5733
 
5742
5734
  arc.startAngle = function(_) {
5743
- return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant$3(+_), arc) : startAngle;
5735
+ return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant(+_), arc) : startAngle;
5744
5736
  };
5745
5737
 
5746
5738
  arc.endAngle = function(_) {
5747
- return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant$3(+_), arc) : endAngle;
5739
+ return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant(+_), arc) : endAngle;
5748
5740
  };
5749
5741
 
5750
5742
  arc.padAngle = function(_) {
5751
- return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant$3(+_), arc) : padAngle;
5743
+ return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant(+_), arc) : padAngle;
5752
5744
  };
5753
5745
 
5754
5746
  arc.context = function(_) {
@@ -5758,11 +5750,11 @@ function arc() {
5758
5750
  return arc;
5759
5751
  }
5760
5752
 
5761
- function Linear$1(context) {
5753
+ function Linear(context) {
5762
5754
  this._context = context;
5763
5755
  }
5764
5756
 
5765
- Linear$1.prototype = {
5757
+ Linear.prototype = {
5766
5758
  areaStart: function() {
5767
5759
  this._line = 0;
5768
5760
  },
@@ -5787,21 +5779,21 @@ Linear$1.prototype = {
5787
5779
  };
5788
5780
 
5789
5781
  function curveLinear(context) {
5790
- return new Linear$1(context);
5782
+ return new Linear(context);
5791
5783
  }
5792
5784
 
5793
- function x$1(p) {
5785
+ function x(p) {
5794
5786
  return p[0];
5795
5787
  }
5796
5788
 
5797
- function y$1(p) {
5789
+ function y(p) {
5798
5790
  return p[1];
5799
5791
  }
5800
5792
 
5801
5793
  function line() {
5802
- var x = x$1,
5803
- y = y$1,
5804
- defined = constant$3(true),
5794
+ var x$1 = x,
5795
+ y$1 = y,
5796
+ defined = constant(true),
5805
5797
  context = null,
5806
5798
  curve = curveLinear,
5807
5799
  output = null;
@@ -5820,22 +5812,22 @@ function line() {
5820
5812
  if (defined0 = !defined0) output.lineStart();
5821
5813
  else output.lineEnd();
5822
5814
  }
5823
- if (defined0) output.point(+x(d, i, data), +y(d, i, data));
5815
+ if (defined0) output.point(+x$1(d, i, data), +y$1(d, i, data));
5824
5816
  }
5825
5817
 
5826
5818
  if (buffer) return output = null, buffer + "" || null;
5827
5819
  }
5828
5820
 
5829
5821
  line.x = function(_) {
5830
- return arguments.length ? (x = typeof _ === "function" ? _ : constant$3(+_), line) : x;
5822
+ return arguments.length ? (x$1 = typeof _ === "function" ? _ : constant(+_), line) : x$1;
5831
5823
  };
5832
5824
 
5833
5825
  line.y = function(_) {
5834
- return arguments.length ? (y = typeof _ === "function" ? _ : constant$3(+_), line) : y;
5826
+ return arguments.length ? (y$1 = typeof _ === "function" ? _ : constant(+_), line) : y$1;
5835
5827
  };
5836
5828
 
5837
5829
  line.defined = function(_) {
5838
- return arguments.length ? (defined = typeof _ === "function" ? _ : constant$3(!!_), line) : defined;
5830
+ return arguments.length ? (defined = typeof _ === "function" ? _ : constant(!!_), line) : defined;
5839
5831
  };
5840
5832
 
5841
5833
  line.curve = function(_) {
@@ -5849,7 +5841,7 @@ function line() {
5849
5841
  return line;
5850
5842
  }
5851
5843
 
5852
- function point$4(that, x, y) {
5844
+ function point$2(that, x, y) {
5853
5845
  that._context.bezierCurveTo(
5854
5846
  that._x1 + that._k * (that._x2 - that._x0),
5855
5847
  that._y1 + that._k * (that._y2 - that._y0),
@@ -5860,12 +5852,12 @@ function point$4(that, x, y) {
5860
5852
  );
5861
5853
  }
5862
5854
 
5863
- function Cardinal$1(context, tension) {
5855
+ function Cardinal(context, tension) {
5864
5856
  this._context = context;
5865
5857
  this._k = (1 - tension) / 6;
5866
5858
  }
5867
5859
 
5868
- Cardinal$1.prototype = {
5860
+ Cardinal.prototype = {
5869
5861
  areaStart: function() {
5870
5862
  this._line = 0;
5871
5863
  },
@@ -5880,7 +5872,7 @@ Cardinal$1.prototype = {
5880
5872
  lineEnd: function() {
5881
5873
  switch (this._point) {
5882
5874
  case 2: this._context.lineTo(this._x2, this._y2); break;
5883
- case 3: point$4(this, this._x1, this._y1); break;
5875
+ case 3: point$2(this, this._x1, this._y1); break;
5884
5876
  }
5885
5877
  if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
5886
5878
  this._line = 1 - this._line;
@@ -5891,27 +5883,27 @@ Cardinal$1.prototype = {
5891
5883
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
5892
5884
  case 1: this._point = 2; this._x1 = x, this._y1 = y; break;
5893
5885
  case 2: this._point = 3; // proceed
5894
- default: point$4(this, x, y); break;
5886
+ default: point$2(this, x, y); break;
5895
5887
  }
5896
5888
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
5897
5889
  this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
5898
5890
  }
5899
5891
  };
5900
5892
 
5901
- function point$5(that, x, y) {
5893
+ function point$1(that, x, y) {
5902
5894
  var x1 = that._x1,
5903
5895
  y1 = that._y1,
5904
5896
  x2 = that._x2,
5905
5897
  y2 = that._y2;
5906
5898
 
5907
- if (that._l01_a > epsilon$3) {
5899
+ if (that._l01_a > epsilon) {
5908
5900
  var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
5909
5901
  n = 3 * that._l01_a * (that._l01_a + that._l12_a);
5910
5902
  x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
5911
5903
  y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
5912
5904
  }
5913
5905
 
5914
- if (that._l23_a > epsilon$3) {
5906
+ if (that._l23_a > epsilon) {
5915
5907
  var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
5916
5908
  m = 3 * that._l23_a * (that._l23_a + that._l12_a);
5917
5909
  x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
@@ -5921,12 +5913,12 @@ function point$5(that, x, y) {
5921
5913
  that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
5922
5914
  }
5923
5915
 
5924
- function CatmullRom$1(context, alpha) {
5916
+ function CatmullRom(context, alpha) {
5925
5917
  this._context = context;
5926
5918
  this._alpha = alpha;
5927
5919
  }
5928
5920
 
5929
- CatmullRom$1.prototype = {
5921
+ CatmullRom.prototype = {
5930
5922
  areaStart: function() {
5931
5923
  this._line = 0;
5932
5924
  },
@@ -5961,7 +5953,7 @@ CatmullRom$1.prototype = {
5961
5953
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
5962
5954
  case 1: this._point = 2; break;
5963
5955
  case 2: this._point = 3; // proceed
5964
- default: point$5(this, x, y); break;
5956
+ default: point$1(this, x, y); break;
5965
5957
  }
5966
5958
 
5967
5959
  this._l01_a = this._l12_a, this._l12_a = this._l23_a;
@@ -5974,7 +5966,7 @@ CatmullRom$1.prototype = {
5974
5966
  var curveCatmullRom = (function custom(alpha) {
5975
5967
 
5976
5968
  function catmullRom(context) {
5977
- return alpha ? new CatmullRom$1(context, alpha) : new Cardinal$1(context, 0);
5969
+ return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);
5978
5970
  }
5979
5971
 
5980
5972
  catmullRom.alpha = function(alpha) {
@@ -5984,7 +5976,7 @@ var curveCatmullRom = (function custom(alpha) {
5984
5976
  return catmullRom;
5985
5977
  })(0.5);
5986
5978
 
5987
- function sign$1(x) {
5979
+ function sign(x) {
5988
5980
  return x < 0 ? -1 : 1;
5989
5981
  }
5990
5982
 
@@ -5992,17 +5984,17 @@ function sign$1(x) {
5992
5984
  // the following paper: Steffen, M. 1990. A Simple Method for Monotonic
5993
5985
  // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
5994
5986
  // NOV(II), P. 443, 1990.
5995
- function slope3$1(that, x2, y2) {
5987
+ function slope3(that, x2, y2) {
5996
5988
  var h0 = that._x1 - that._x0,
5997
5989
  h1 = x2 - that._x1,
5998
5990
  s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
5999
5991
  s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
6000
5992
  p = (s0 * h1 + s1 * h0) / (h0 + h1);
6001
- return (sign$1(s0) + sign$1(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
5993
+ return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
6002
5994
  }
6003
5995
 
6004
5996
  // Calculate a one-sided slope.
6005
- function slope2$1(that, t) {
5997
+ function slope2(that, t) {
6006
5998
  var h = that._x1 - that._x0;
6007
5999
  return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
6008
6000
  }
@@ -6010,7 +6002,7 @@ function slope2$1(that, t) {
6010
6002
  // According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations
6011
6003
  // "you can express cubic Hermite interpolation in terms of cubic Bézier curves
6012
6004
  // with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1".
6013
- function point$6(that, t0, t1) {
6005
+ function point(that, t0, t1) {
6014
6006
  var x0 = that._x0,
6015
6007
  y0 = that._y0,
6016
6008
  x1 = that._x1,
@@ -6019,11 +6011,11 @@ function point$6(that, t0, t1) {
6019
6011
  that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
6020
6012
  }
6021
6013
 
6022
- function MonotoneX$1(context) {
6014
+ function MonotoneX(context) {
6023
6015
  this._context = context;
6024
6016
  }
6025
6017
 
6026
- MonotoneX$1.prototype = {
6018
+ MonotoneX.prototype = {
6027
6019
  areaStart: function() {
6028
6020
  this._line = 0;
6029
6021
  },
@@ -6039,7 +6031,7 @@ MonotoneX$1.prototype = {
6039
6031
  lineEnd: function() {
6040
6032
  switch (this._point) {
6041
6033
  case 2: this._context.lineTo(this._x1, this._y1); break;
6042
- case 3: point$6(this, this._t0, slope2$1(this, this._t0)); break;
6034
+ case 3: point(this, this._t0, slope2(this, this._t0)); break;
6043
6035
  }
6044
6036
  if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
6045
6037
  this._line = 1 - this._line;
@@ -6052,8 +6044,8 @@ MonotoneX$1.prototype = {
6052
6044
  switch (this._point) {
6053
6045
  case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
6054
6046
  case 1: this._point = 2; break;
6055
- case 2: this._point = 3; point$6(this, slope2$1(this, t1 = slope3$1(this, x, y)), t1); break;
6056
- default: point$6(this, this._t0, t1 = slope3$1(this, x, y)); break;
6047
+ case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;
6048
+ default: point(this, this._t0, t1 = slope3(this, x, y)); break;
6057
6049
  }
6058
6050
 
6059
6051
  this._x0 = this._x1, this._x1 = x;
@@ -6062,23 +6054,8 @@ MonotoneX$1.prototype = {
6062
6054
  }
6063
6055
  };
6064
6056
 
6065
- function MonotoneY$1(context) {
6066
- this._context = new ReflectContext$1(context);
6067
- }
6068
-
6069
- (MonotoneY$1.prototype = Object.create(MonotoneX$1.prototype)).point = function(x, y) {
6070
- MonotoneX$1.prototype.point.call(this, y, x);
6071
- };
6072
-
6073
- function ReflectContext$1(context) {
6074
- this._context = context;
6075
- }
6076
-
6077
- ReflectContext$1.prototype = {
6078
- moveTo: function(x, y) { this._context.moveTo(y, x); },
6079
- closePath: function() { this._context.closePath(); },
6080
- lineTo: function(x, y) { this._context.lineTo(y, x); },
6081
- bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }
6057
+ (Object.create(MonotoneX.prototype)).point = function(x, y) {
6058
+ MonotoneX.prototype.point.call(this, y, x);
6082
6059
  };
6083
6060
 
6084
6061
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
@@ -7832,7 +7809,7 @@ var d3NoteText = function (_Type) {
7832
7809
  return d3NoteText;
7833
7810
  }(Type);
7834
7811
 
7835
- var d3Label = customType(d3NoteText, {
7812
+ customType(d3NoteText, {
7836
7813
  className: "label",
7837
7814
  note: { align: "middle" }
7838
7815
  });
@@ -7847,25 +7824,25 @@ var d3CalloutElbow = customType(d3Callout, {
7847
7824
  connector: { type: "elbow" }
7848
7825
  });
7849
7826
 
7850
- var d3CalloutCurve = customType(d3Callout, {
7827
+ customType(d3Callout, {
7851
7828
  className: "callout curve",
7852
7829
  connector: { type: "curve" }
7853
7830
  });
7854
7831
 
7855
- var d3Badge = customType(Type, {
7832
+ customType(Type, {
7856
7833
  className: "badge",
7857
7834
  subject: { type: "badge" },
7858
7835
  disable: ["connector", "note"]
7859
7836
  });
7860
7837
 
7861
- var d3CalloutCircle = customType(d3NoteText, {
7838
+ customType(d3NoteText, {
7862
7839
  className: "callout circle",
7863
7840
  subject: { type: "circle" },
7864
7841
  note: { lineType: "horizontal" },
7865
7842
  connector: { type: "elbow" }
7866
7843
  });
7867
7844
 
7868
- var d3CalloutRect = customType(d3NoteText, {
7845
+ customType(d3NoteText, {
7869
7846
  className: "callout rect",
7870
7847
  subject: { type: "rect" },
7871
7848
  note: { lineType: "horizontal" },
@@ -7908,7 +7885,7 @@ var ThresholdMap = function (_d3Callout) {
7908
7885
  return ThresholdMap;
7909
7886
  }(d3Callout);
7910
7887
 
7911
- var d3XYThreshold = customType(ThresholdMap, {
7888
+ customType(ThresholdMap, {
7912
7889
  className: "callout xythreshold",
7913
7890
  subject: { type: "threshold" }
7914
7891
  });
@@ -8224,7 +8201,7 @@ function indicatorTranslate(angle, radius, inner) {
8224
8201
  if (inner === void 0) { inner = false; }
8225
8202
  var point = pointOnArc(angle, radius);
8226
8203
  var rotation = angle * 180 / Math.PI + (inner === true ? 180 : 0);
8227
- return "translate(" + point.x + ", " + point.y + ") rotate(" + rotation + ")";
8204
+ return "translate(".concat(point.x, ", ").concat(point.y, ") rotate(").concat(rotation, ")");
8228
8205
  }
8229
8206
  function indicatorTween(newAngle, radius, inner) {
8230
8207
  if (inner === void 0) { inner = false; }
@@ -8325,7 +8302,7 @@ var Gauge = /** @class */ (function (_super) {
8325
8302
  var size = this.calcSize(textElement, w, h);
8326
8303
  var x2 = x + w / 2 - size.width / 2 * size.scale;
8327
8304
  var y2 = y + h / 2 - size.height / 2 * size.scale;
8328
- textElement.attr("transform", "translate(" + x2 + ", " + y2 + ") scale(" + size.scale + ")");
8305
+ textElement.attr("transform", "translate(".concat(x2, ", ").concat(y2, ") scale(").concat(size.scale, ")"));
8329
8306
  };
8330
8307
  Gauge.prototype.calcWidth = function () {
8331
8308
  return Math.min(this.width(), this.height(), this.maxDiameter());
@@ -8502,7 +8479,7 @@ Gauge.prototype.publish("colorDomain", [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.
8502
8479
  Gauge.prototype.publish("emptyColor", "lightgrey", "html-color", "Color of the empty portion of the gauge");
8503
8480
  Gauge.prototype.publish("tickColor", "black", "html-color", "Color of the tick");
8504
8481
 
8505
- var css_248z$6 = ".chart_Pie>g>text,.chart_Pie path{cursor:pointer}.chart_Pie .arc path{stroke:#fff;stroke-width:.75px}.chart_Pie .arc.selected path{stroke:red;stroke-width:1.5px}.chart_Pie polyline{opacity:.3;stroke:#000;stroke-width:2px;fill:none}";
8482
+ var css_248z$6 = ".chart_Pie path,.chart_Pie>g>text{cursor:pointer}.chart_Pie .arc path{stroke:#fff;stroke-width:.75px}.chart_Pie .arc.selected path{stroke:red;stroke-width:1.5px}.chart_Pie polyline{stroke:#000;stroke-width:2px;fill:none;opacity:.3}";
8506
8483
  styleInject(css_248z$6);
8507
8484
 
8508
8485
  var Pie = /** @class */ (function (_super) {
@@ -8572,7 +8549,7 @@ var Pie = /** @class */ (function (_super) {
8572
8549
  }
8573
8550
  }
8574
8551
  if (this.showSeriesValue()) {
8575
- label += " : " + this._seriesValueFormatter(d.data[1]);
8552
+ label += " : ".concat(this._seriesValueFormatter(d.data[1]));
8576
8553
  }
8577
8554
  if (this.showSeriesPercentage()) {
8578
8555
  var sum = this._totalValue;
@@ -8581,10 +8558,30 @@ var Pie = /** @class */ (function (_super) {
8581
8558
  sum = dm.sum;
8582
8559
  }
8583
8560
  var perc = (d.data[1] / sum) * 100;
8584
- label += " : " + this._seriesPercentageFormatter(perc) + "%";
8561
+ label += " : ".concat(this._seriesPercentageFormatter(perc), "%");
8585
8562
  }
8586
8563
  return label;
8587
8564
  };
8565
+ Pie.prototype.selection = function (_) {
8566
+ var _a;
8567
+ if (!arguments.length) {
8568
+ try {
8569
+ return (_a = this._selection.selection2()[0]) === null || _a === void 0 ? void 0 : _a.data;
8570
+ }
8571
+ catch (e) {
8572
+ return undefined;
8573
+ }
8574
+ }
8575
+ // Stringify to enable a deep equal
8576
+ var strRow = JSON.stringify(_);
8577
+ this._selection.selection2(function (d) { return strRow === JSON.stringify(d.data); });
8578
+ };
8579
+ Pie.prototype.selectByLabel = function (_) {
8580
+ var row = this.data().filter(function (row) { return row[0] === _; })[0];
8581
+ if (row) {
8582
+ this.selection(row);
8583
+ }
8584
+ };
8588
8585
  Pie.prototype.enter = function (_domNode, element) {
8589
8586
  _super.prototype.enter.call(this, _domNode, element);
8590
8587
  this._selection.widgetElement(element);
@@ -8631,7 +8628,7 @@ var Pie = /** @class */ (function (_super) {
8631
8628
  .padRadius(outerRadius)
8632
8629
  .outerRadius(outerRadius);
8633
8630
  this._quadIdxArr = [[], [], [], []];
8634
- var data = __spreadArray([], this.data()).sort(function (a, b) {
8631
+ var data = __spreadArray([], this.data(), true).sort(function (a, b) {
8635
8632
  return a[1] - b[1] > 0 ? -1 : 1;
8636
8633
  });
8637
8634
  var arc = this._slices.selectAll(".arc").data(this.d3Pie(data), function (d) { return d.data[0]; });
@@ -8725,7 +8722,7 @@ var Pie = /** @class */ (function (_super) {
8725
8722
  .attr("points", function (d, i) {
8726
8723
  var pos = context.d3LabelArc.centroid(d);
8727
8724
  var pos1 = context.d3Arc.centroid(d);
8728
- var pos2 = __spreadArray([], pos);
8725
+ var pos2 = __spreadArray([], pos, true);
8729
8726
  pos[0] = labelRadius * (context.isLeftSide(midAngle(d)) ? 1 : -1);
8730
8727
  pos[1] = context._labelPositions[i].top;
8731
8728
  return [pos1, pos2, pos];
@@ -8914,7 +8911,7 @@ var Heat = /** @class */ (function (_super) {
8914
8911
  Heat.prototype.layerEnter = function (host, element, duration) {
8915
8912
  if (duration === void 0) { duration = 250; }
8916
8913
  _super.prototype.layerEnter.call(this, host, element, duration);
8917
- this._domForeignObject = this.svg.insert("foreignObject", "#" + (this.id() + "_clippath"));
8914
+ this._domForeignObject = this.svg.insert("foreignObject", "#".concat(this.id() + "_clippath"));
8918
8915
  this._domCanvas = this._domForeignObject.append("xhtml:body")
8919
8916
  .style("margin", "0px")
8920
8917
  .style("padding", "0px")
@@ -9208,8 +9205,8 @@ function d3HexBin() {
9208
9205
  return hexbin.radius(1);
9209
9206
  }
9210
9207
 
9211
- var css_248z$7 = ".chart_HexBin .hexagon{fill:none;stroke:#000;stroke-width:.5px}.chart_HexBin .hexagon.selected{stroke:red}";
9212
- styleInject(css_248z$7);
9208
+ var css_248z$5 = ".chart_HexBin .hexagon{fill:none;stroke:#000;stroke-width:.5px}.chart_HexBin .hexagon.selected{stroke:red}";
9209
+ styleInject(css_248z$5);
9213
9210
 
9214
9211
  var HexBin = /** @class */ (function (_super) {
9215
9212
  __extends(HexBin, _super);
@@ -9222,8 +9219,8 @@ var HexBin = /** @class */ (function (_super) {
9222
9219
  var seriesExtent = extent(d, function (d) { return d.label; });
9223
9220
  var labelExtent = extent(d, function (d) { return d.value; });
9224
9221
  return _this.tooltipFormat({
9225
- series: seriesExtent[0] === seriesExtent[1] ? seriesExtent[0] : seriesExtent[0] + " -> " + seriesExtent[1],
9226
- label: labelExtent[0] === labelExtent[1] ? labelExtent[0] : labelExtent[0] + " -> " + labelExtent[1],
9222
+ series: seriesExtent[0] === seriesExtent[1] ? seriesExtent[0] : "".concat(seriesExtent[0], " -> ").concat(seriesExtent[1]),
9223
+ label: labelExtent[0] === labelExtent[1] ? labelExtent[0] : "".concat(labelExtent[0], " -> ").concat(labelExtent[1]),
9227
9224
  value: d.length
9228
9225
  });
9229
9226
  });
@@ -9296,10 +9293,10 @@ var HexBin = /** @class */ (function (_super) {
9296
9293
  };
9297
9294
  // Events ---
9298
9295
  HexBin.prototype.click = function (row, column, selected) {
9299
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
9296
+ // console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
9300
9297
  };
9301
9298
  HexBin.prototype.dblclick = function (row, column, selected) {
9302
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
9299
+ // console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
9303
9300
  };
9304
9301
  HexBin.__inputs = [{
9305
9302
  id: "x",
@@ -9317,8 +9314,8 @@ HexBin.prototype.publish("paletteID", "Blues", "set", "Color palette for this wi
9317
9314
  HexBin.prototype.publish("useClonedPalette", false, "boolean", "Enable or disable using a cloned palette", null, { tags: ["Intermediate", "Shared"] });
9318
9315
  HexBin.prototype.publish("binSize", 20, "number", "Bin radius", null, { range: { min: 1, max: 300, step: 1 } });
9319
9316
 
9320
- var css_248z$8 = ".chart_Line .dataLine{fill:none;stroke:#4682b4;stroke-width:1.5px}";
9321
- styleInject(css_248z$8);
9317
+ var css_248z$4 = ".chart_Line .dataLine{fill:none;stroke:#4682b4;stroke-width:1.5px}";
9318
+ styleInject(css_248z$4);
9322
9319
 
9323
9320
  var Line = /** @class */ (function (_super) {
9324
9321
  __extends(Line, _super);
@@ -9455,7 +9452,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9455
9452
  }
9456
9453
  this._g
9457
9454
  .style("shape-rendering", "crispEdges")
9458
- .attr("transform", "translate(" + transX + "," + transY + ")rotate(" + rotate + ")scale(" + s + ")");
9455
+ .attr("transform", "translate(".concat(transX, ",").concat(transY, ")rotate(").concat(rotate, ")scale(").concat(s, ")"));
9459
9456
  this._leftLine
9460
9457
  .attr("fill", lineColor)
9461
9458
  .attr("height", candleWidth)
@@ -9510,7 +9507,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9510
9507
  .attr("fill", this.textColor())
9511
9508
  .attr("x", 0)
9512
9509
  .attr("y", 0)
9513
- .attr("transform", "translate(" + q0x + ", " + (dataTop - padding) + ")rotate(" + upperTextRotation + ")scale(" + textScale + ")")
9510
+ .attr("transform", "translate(".concat(q0x, ", ").concat(dataTop - padding, ")rotate(").concat(upperTextRotation, ")scale(").concat(textScale, ")"))
9514
9511
  .attr("font-size", labelFontSize)
9515
9512
  .attr("text-anchor", labelAnchor)
9516
9513
  .attr("alignment-baseline", "hanging")
@@ -9522,7 +9519,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9522
9519
  .attr("fill", this.textColor())
9523
9520
  .attr("x", 0)
9524
9521
  .attr("y", 0)
9525
- .attr("transform", "translate(" + q1x + ", " + (dataTop - padding) + ")rotate(" + upperTextRotation + ")scale(" + textScale + ")")
9522
+ .attr("transform", "translate(".concat(q1x, ", ").concat(dataTop - padding, ")rotate(").concat(upperTextRotation, ")scale(").concat(textScale, ")"))
9526
9523
  .attr("font-size", labelFontSize)
9527
9524
  .attr("text-anchor", labelAnchor)
9528
9525
  .attr("alignment-baseline", "middle")
@@ -9534,7 +9531,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9534
9531
  .attr("fill", this.textColor())
9535
9532
  .attr("x", 0)
9536
9533
  .attr("y", 0)
9537
- .attr("transform", "translate(" + q2x + ", " + (dataTop - padding) + ")rotate(" + upperTextRotation + ")scale(" + textScale + ")")
9534
+ .attr("transform", "translate(".concat(q2x, ", ").concat(dataTop - padding, ")rotate(").concat(upperTextRotation, ")scale(").concat(textScale, ")"))
9538
9535
  .attr("font-size", labelFontSize)
9539
9536
  .attr("text-anchor", labelAnchor)
9540
9537
  .attr("alignment-baseline", "middle")
@@ -9546,7 +9543,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9546
9543
  .attr("fill", this.textColor())
9547
9544
  .attr("x", 0)
9548
9545
  .attr("y", 0)
9549
- .attr("transform", "translate(" + q3x + ", " + (dataTop - padding) + ")rotate(" + upperTextRotation + ")scale(" + textScale + ")")
9546
+ .attr("transform", "translate(".concat(q3x, ", ").concat(dataTop - padding, ")rotate(").concat(upperTextRotation, ")scale(").concat(textScale, ")"))
9550
9547
  .attr("font-size", labelFontSize)
9551
9548
  .attr("text-anchor", labelAnchor)
9552
9549
  .attr("alignment-baseline", "middle")
@@ -9558,7 +9555,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9558
9555
  .attr("fill", this.textColor())
9559
9556
  .attr("x", 0)
9560
9557
  .attr("y", 0)
9561
- .attr("transform", "translate(" + (q4x + lineWidth) + ", " + (dataTop - padding) + ")rotate(" + upperTextRotation + ")scale(" + textScale + ")")
9558
+ .attr("transform", "translate(".concat(q4x + lineWidth, ", ").concat(dataTop - padding, ")rotate(").concat(upperTextRotation, ")scale(").concat(textScale, ")"))
9562
9559
  .attr("font-size", labelFontSize)
9563
9560
  .attr("text-anchor", labelAnchor)
9564
9561
  .attr("alignment-baseline", "baseline")
@@ -9570,7 +9567,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9570
9567
  .attr("fill", this.textColor())
9571
9568
  .attr("x", 0)
9572
9569
  .attr("y", 0)
9573
- .attr("transform", "translate(" + q0x + ", " + (dataBottom + padding) + ")rotate(" + lowerTextRotation + ")scale(" + textScale + ")")
9570
+ .attr("transform", "translate(".concat(q0x, ", ").concat(dataBottom + padding, ")rotate(").concat(lowerTextRotation, ")scale(").concat(textScale, ")"))
9574
9571
  .attr("font-size", valueFontSize)
9575
9572
  .attr("text-anchor", valueAnchor)
9576
9573
  .attr("alignment-baseline", "hanging")
@@ -9582,7 +9579,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9582
9579
  .attr("fill", this.textColor())
9583
9580
  .attr("x", 0)
9584
9581
  .attr("y", 0)
9585
- .attr("transform", "translate(" + q1x + ", " + (dataBottom + padding) + ")rotate(" + lowerTextRotation + ")scale(" + textScale + ")")
9582
+ .attr("transform", "translate(".concat(q1x, ", ").concat(dataBottom + padding, ")rotate(").concat(lowerTextRotation, ")scale(").concat(textScale, ")"))
9586
9583
  .attr("font-size", valueFontSize)
9587
9584
  .attr("text-anchor", valueAnchor)
9588
9585
  .attr("alignment-baseline", "middle")
@@ -9594,7 +9591,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9594
9591
  .attr("fill", this.textColor())
9595
9592
  .attr("x", 0)
9596
9593
  .attr("y", 0)
9597
- .attr("transform", "translate(" + q2x + ", " + (dataBottom + padding) + ")rotate(" + lowerTextRotation + ")scale(" + textScale + ")")
9594
+ .attr("transform", "translate(".concat(q2x, ", ").concat(dataBottom + padding, ")rotate(").concat(lowerTextRotation, ")scale(").concat(textScale, ")"))
9598
9595
  .attr("font-size", valueFontSize)
9599
9596
  .attr("text-anchor", valueAnchor)
9600
9597
  .attr("alignment-baseline", "middle")
@@ -9606,7 +9603,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9606
9603
  .attr("fill", this.textColor())
9607
9604
  .attr("x", 0)
9608
9605
  .attr("y", 0)
9609
- .attr("transform", "translate(" + q3x + ", " + (dataBottom + padding) + ")rotate(" + lowerTextRotation + ")scale(" + textScale + ")")
9606
+ .attr("transform", "translate(".concat(q3x, ", ").concat(dataBottom + padding, ")rotate(").concat(lowerTextRotation, ")scale(").concat(textScale, ")"))
9610
9607
  .attr("font-size", valueFontSize)
9611
9608
  .attr("text-anchor", valueAnchor)
9612
9609
  .attr("alignment-baseline", "middle")
@@ -9618,7 +9615,7 @@ var QuartileCandlestick = /** @class */ (function (_super) {
9618
9615
  .attr("fill", this.textColor())
9619
9616
  .attr("x", 0)
9620
9617
  .attr("y", 0)
9621
- .attr("transform", "translate(" + (q4x + lineWidth) + ", " + (dataBottom + padding) + ")rotate(" + lowerTextRotation + ")scale(" + textScale + ")")
9618
+ .attr("transform", "translate(".concat(q4x + lineWidth, ", ").concat(dataBottom + padding, ")rotate(").concat(lowerTextRotation, ")scale(").concat(textScale, ")"))
9622
9619
  .attr("font-size", valueFontSize)
9623
9620
  .attr("text-anchor", valueAnchor)
9624
9621
  .attr("alignment-baseline", "baseline")
@@ -9643,8 +9640,8 @@ QuartileCandlestick.prototype.publish("innerRectColor", "white", "html-color", "
9643
9640
  QuartileCandlestick.prototype.publish("upperTextRotation", -60, "number", "Rotation of label text (degrees)");
9644
9641
  QuartileCandlestick.prototype.publish("lowerTextRotation", -60, "number", "Rotation of value text (degrees)");
9645
9642
 
9646
- var css_248z$9 = ".chart_Radar .area,.chart_Radar .pointShape{pointer-events:none}.chart_Radar .point .pointSelection{fill:none;stroke:none;pointer-events:all}.chart_Radar .point .pointSelection.selected{fill:none;stroke:red}";
9647
- styleInject(css_248z$9);
9643
+ var css_248z$3 = ".chart_Radar .area,.chart_Radar .pointShape{pointer-events:none}.chart_Radar .point .pointSelection{fill:none;stroke:none;pointer-events:all}.chart_Radar .point .pointSelection.selected{fill:none;stroke:red}";
9644
+ styleInject(css_248z$3);
9648
9645
 
9649
9646
  var Radar = /** @class */ (function (_super) {
9650
9647
  __extends(Radar, _super);
@@ -9727,7 +9724,7 @@ var Radar = /** @class */ (function (_super) {
9727
9724
  var max_label_h = this.fontSize();
9728
9725
  var max_label_w = 0;
9729
9726
  flatData.filter(function (n) { return n.colIdx === 1; }).forEach(function (n) {
9730
- var isize = _super.prototype.textSize.call(_this, n.label, "" + _this.fontFamily(), _this.fontSize());
9727
+ var isize = _super.prototype.textSize.call(_this, n.label, "".concat(_this.fontFamily()), _this.fontSize());
9731
9728
  if (max_label_w < isize.width)
9732
9729
  max_label_w = isize.width;
9733
9730
  });
@@ -9919,8 +9916,8 @@ Radar.prototype.publish("fontFamily", "", "string", "fontFamily");
9919
9916
  Radar.prototype.publish("fontSize", 16, "number", "fontSize");
9920
9917
  Radar.prototype.publish("labelPaddingRatio", 0.9, "number", "labelPaddingRatio");
9921
9918
 
9922
- var css_248z$a = ".chart_RadialBar path.arc{opacity:.9;transition:opacity .5s}.chart_RadialBar path.arc.selected{stroke:red}.chart_RadialBar path.arc:hover{opacity:.7}.chart_RadialBar .axis circle,.chart_RadialBar .axis line{stroke:#ccc;stroke-width:1px}.chart_RadialBar .axis circle{fill:none}.chart_RadialBar .r.axis text{text-anchor:end}";
9923
- styleInject(css_248z$a);
9919
+ var css_248z$2 = ".chart_RadialBar path.arc{opacity:.9;transition:opacity .5s}.chart_RadialBar path.arc.selected{stroke:red}.chart_RadialBar path.arc:hover{opacity:.7}.chart_RadialBar .axis circle,.chart_RadialBar .axis line{stroke:#ccc;stroke-width:1px}.chart_RadialBar .axis circle{fill:none}.chart_RadialBar .r.axis text{text-anchor:end}";
9920
+ styleInject(css_248z$2);
9924
9921
 
9925
9922
  var RadialBar = /** @class */ (function (_super) {
9926
9923
  __extends(RadialBar, _super);
@@ -9954,7 +9951,7 @@ var RadialBar = /** @class */ (function (_super) {
9954
9951
  var _this = this;
9955
9952
  _super.prototype.update.call(this, domNode, element);
9956
9953
  var context = this;
9957
- var maxValue = Math.max.apply(Math, __spreadArray([this.valueDomainHigh_exists() ? this.valueDomainHigh() : 0], this.data().map(function (d) { return d[1]; })));
9954
+ var maxValue = Math.max.apply(Math, __spreadArray([this.valueDomainHigh_exists() ? this.valueDomainHigh() : 0], this.data().map(function (d) { return d[1]; }), false));
9958
9955
  this._valueScale
9959
9956
  .domain([0, maxValue])
9960
9957
  .range([0, this.radians(this.valueMaxAngle())]);
@@ -10268,7 +10265,7 @@ StatChart.prototype.publish("tickFormat", ".2e", "string", "X-Axis Tick Format")
10268
10265
  StatChart.prototype.publish("candleHeight", 20, "number", "Height of candle widget (pixels)");
10269
10266
  StatChart.prototype.publish("domainPadding", 10, "number", "Domain value padding");
10270
10267
 
10271
- var Step$1 = /** @class */ (function (_super) {
10268
+ var Step = /** @class */ (function (_super) {
10272
10269
  __extends(Step, _super);
10273
10270
  function Step() {
10274
10271
  var _this = _super.call(this) || this;
@@ -10278,10 +10275,10 @@ var Step$1 = /** @class */ (function (_super) {
10278
10275
  }
10279
10276
  return Step;
10280
10277
  }(Scatter));
10281
- Step$1.prototype._class += " chart_Step";
10278
+ Step.prototype._class += " chart_Step";
10282
10279
 
10283
- var css_248z$b = ".chart_Summary{width:225px;height:150px;font-size:14px}.chart_Summary .content h2{font-weight:700;font-size:3em;margin-left:10px;margin-top:10px;margin-bottom:10px}.chart_Summary .bgIcon:before{position:absolute;font-family:FontAwesome;font-size:5.5em;opacity:.4;top:.5em;right:15px}.chart_Summary .bgIcon{position:relative}.chart_Summary .content{float:left;width:100%;height:100%;background-color:#efd752}.chart_Summary .content div{margin-top:-1.1em;font-size:1.1em;opacity:.8}.chart_Summary .content .text{padding-left:10px}.chart_Summary .content .more{position:absolute;bottom:0;width:100%;height:3em;line-height:3em}.chart_Summary .content .more i{padding-left:10px;padding-right:.5em}";
10284
- styleInject(css_248z$b);
10280
+ var css_248z$1 = ".chart_Summary{font-size:14px;height:150px;width:225px}.chart_Summary .content h2{font-size:3em;font-weight:700;margin-bottom:10px;margin-left:10px;margin-top:10px}.chart_Summary .bgIcon:before{font-family:FontAwesome;font-size:5.5em;opacity:.4;position:absolute;right:15px;top:.5em}.chart_Summary .bgIcon{position:relative}.chart_Summary .content{background-color:#efd752;float:left;height:100%;width:100%}.chart_Summary .content div{font-size:1.1em;margin-top:-1.1em;opacity:.8}.chart_Summary .content .text{padding-left:10px}.chart_Summary .content .more{bottom:0;height:3em;line-height:3em;position:absolute;width:100%}.chart_Summary .content .more i{padding-left:10px;padding-right:.5em}";
10281
+ styleInject(css_248z$1);
10285
10282
 
10286
10283
  var TEXT = "text";
10287
10284
  var HTML = "html";
@@ -10459,9 +10456,9 @@ Summary.prototype.publish("fixedSize", true, "boolean", "Fix Size to Min Width/H
10459
10456
  Summary.prototype.publish("minWidth", 225, "number", "Minimum Width");
10460
10457
  Summary.prototype.publish("minHeight", 150, "number", "Minimum Height");
10461
10458
  Summary.prototype.publish("playInterval", null, "number", "Play Interval", null, { optional: true });
10462
- var playInterval = Summary.prototype.playInterval;
10459
+ var playInterval$1 = Summary.prototype.playInterval;
10463
10460
  Summary.prototype.playInterval = function (_) {
10464
- var retVal = playInterval.apply(this, arguments);
10461
+ var retVal = playInterval$1.apply(this, arguments);
10465
10462
  if (arguments.length) {
10466
10463
  if (this._playIntervalHandle) {
10467
10464
  clearInterval(this._playIntervalHandle);
@@ -10533,13 +10530,13 @@ var SummaryC = /** @class */ (function (_super) {
10533
10530
  drawText(label, mainFontSize + p, subFontSize, context.labelAnchor());
10534
10531
  function drawText(text, y, fontSize, anchorMode) {
10535
10532
  ctx.textBaseline = "top";
10536
- ctx.font = fontSize + "px " + fontFamily;
10533
+ ctx.font = "".concat(fontSize, "px ").concat(fontFamily);
10537
10534
  ctx.fillStyle = fontColor;
10538
10535
  var measurement = ctx.measureText(text);
10539
10536
  if (measurement.width > (size.width - (p * 2))) {
10540
10537
  var fontSizeMult = (size.width - (p * 2)) / measurement.width;
10541
10538
  fontSize = fontSize * fontSizeMult;
10542
- ctx.font = fontSize + "px " + fontFamily;
10539
+ ctx.font = "".concat(fontSize, "px ").concat(fontFamily);
10543
10540
  measurement = ctx.measureText(text);
10544
10541
  }
10545
10542
  var x = getTextOffsetX(measurement.width, anchorMode);
@@ -10550,12 +10547,12 @@ var SummaryC = /** @class */ (function (_super) {
10550
10547
  if (typeof text === "undefined")
10551
10548
  return;
10552
10549
  ctx.textBaseline = context.iconBaseline();
10553
- ctx.font = fontSize + "px FontAwesome";
10550
+ ctx.font = "".concat(fontSize, "px FontAwesome");
10554
10551
  ctx.fillStyle = fontColor;
10555
10552
  var measurement = ctx.measureText(text);
10556
10553
  if (measurement.width > (size.width - (p * 2))) {
10557
10554
  var fontSizeMult = (size.width - (p * 2)) / measurement.width;
10558
- ctx.font = fontSize * fontSizeMult + "px FontAwesome";
10555
+ ctx.font = "".concat(fontSize * fontSizeMult, "px FontAwesome");
10559
10556
  measurement = ctx.measureText(text);
10560
10557
  }
10561
10558
  var x = getTextOffsetX(measurement.width, anchorMode);
@@ -10610,9 +10607,9 @@ SummaryC.prototype.publish("labelOpacity", 0.9, "number", "Opacity of label text
10610
10607
  SummaryC.prototype.publish("iconOpacity", 0.3, "number", "Opacity of icon text (0..1)");
10611
10608
  SummaryC.prototype.publish("paddingSizeRatio", 0.1, "number", "Ratio of the smallest dimension for edge padding (0..1)");
10612
10609
  SummaryC.prototype.publish("iconSizeRatio", 0.9, "number", "Ratio of the height for icon size (0..1)");
10613
- var playInterval$1 = SummaryC.prototype.playInterval;
10610
+ var playInterval = SummaryC.prototype.playInterval;
10614
10611
  SummaryC.prototype.playInterval = function (_) {
10615
- var retVal = playInterval$1.apply(this, arguments);
10612
+ var retVal = playInterval.apply(this, arguments);
10616
10613
  if (arguments.length) {
10617
10614
  if (this._playIntervalHandle) {
10618
10615
  clearInterval(this._playIntervalHandle);
@@ -11009,8 +11006,8 @@ var spirals = {
11009
11006
  rectangular: rectangularSpiral
11010
11007
  };
11011
11008
 
11012
- var css_248z$c = ".other_Wordcloud text{cursor:pointer}";
11013
- styleInject(css_248z$c);
11009
+ var css_248z = ".other_Wordcloud text{cursor:pointer}";
11010
+ styleInject(css_248z);
11014
11011
 
11015
11012
  var WordCloud = /** @class */ (function (_super) {
11016
11013
  __extends(WordCloud, _super);
@@ -11183,5 +11180,5 @@ WordCloud.prototype.publish("offsetX", 0, "number", "X offset", null, { tags: ["
11183
11180
  WordCloud.prototype.publish("offsetY", 0, "number", "Y offset", null, { tags: ["Advanced"] });
11184
11181
  WordCloud.prototype.publish("zoom", 1, "number", "Zoom", null, { tags: ["Advanced"] });
11185
11182
 
11186
- export { Area, Axis, BUILD_VERSION, Bar, Bubble, BubbleXY, Bullet, Column, Contour, Gantt, Gauge, HalfPie, Heat, HexBin, Line, PKG_NAME, PKG_VERSION, Pie, QuarterPie, QuartileCandlestick, Radar, RadialBar, Scatter, StatChart, Step$1 as Step, Summary, SummaryC, WordCloud, XYAxis };
11183
+ export { Area, Axis, BUILD_VERSION, Bar, Bubble, BubbleXY, Bullet, Column, Contour, Gantt, Gauge, HalfPie, Heat, HexBin, Line, PKG_NAME, PKG_VERSION, Pie, QuarterPie, QuartileCandlestick, Radar, RadialBar, Scatter, StatChart, Step, Summary, SummaryC, WordCloud, XYAxis };
11187
11184
  //# sourceMappingURL=index.es6.js.map