billboard.js 3.6.1 → 3.6.3

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.
Files changed (38) hide show
  1. package/README.md +13 -77
  2. package/dist/billboard.css +1 -1
  3. package/dist/billboard.js +30 -24
  4. package/dist/billboard.min.css +1 -1
  5. package/dist/billboard.min.js +2 -2
  6. package/dist/billboard.pkgd.js +172 -102
  7. package/dist/billboard.pkgd.min.js +2 -2
  8. package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  9. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  10. package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
  13. package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
  14. package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
  15. package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
  16. package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
  17. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  18. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +144 -80
  19. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +145 -81
  20. package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +146 -82
  21. package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +146 -82
  22. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +146 -82
  23. package/dist/theme/datalab.css +1 -1
  24. package/dist/theme/datalab.min.css +1 -1
  25. package/dist/theme/graph.css +1 -1
  26. package/dist/theme/graph.min.css +1 -1
  27. package/dist/theme/insight.css +1 -1
  28. package/dist/theme/insight.min.css +1 -1
  29. package/dist-esm/billboard.js +33 -21
  30. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  31. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
  32. package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
  33. package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
  34. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
  35. package/package.json +1 -1
  36. package/src/ChartInternal/Axis/AxisRendererHelper.ts +4 -2
  37. package/src/ChartInternal/interactions/eventrect.ts +22 -13
  38. package/src/ChartInternal/interactions/interaction.ts +6 -7
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -268,9 +268,10 @@ __webpack_require__(485);
268
268
  __webpack_require__(488);
269
269
  __webpack_require__(489);
270
270
  __webpack_require__(490);
271
- __webpack_require__(494);
272
- __webpack_require__(499);
271
+ __webpack_require__(491);
272
+ __webpack_require__(495);
273
273
  __webpack_require__(500);
274
+ __webpack_require__(501);
274
275
 
275
276
  /* unused reexport */ __webpack_require__(82);
276
277
 
@@ -815,8 +816,8 @@ var FunctionPrototype = Function.prototype;
815
816
  var call = FunctionPrototype.call;
816
817
  var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
817
818
 
818
- module.exports = function (fn) {
819
- return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
819
+ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
820
+ return function () {
820
821
  return call.apply(fn, arguments);
821
822
  };
822
823
  };
@@ -1167,10 +1168,10 @@ var store = __webpack_require__(38);
1167
1168
  (module.exports = function (key, value) {
1168
1169
  return store[key] || (store[key] = value !== undefined ? value : {});
1169
1170
  })('versions', []).push({
1170
- version: '3.25.5',
1171
+ version: '3.26.0',
1171
1172
  mode: IS_PURE ? 'pure' : 'global',
1172
1173
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
1173
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
1174
+ license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE',
1174
1175
  source: 'https://github.com/zloirock/core-js'
1175
1176
  });
1176
1177
 
@@ -14993,6 +14994,54 @@ $({ global: true, enumerable: true, dontCallGetSet: true }, {
14993
14994
  /* 489 */
14994
14995
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
14995
14996
 
14997
+ "use strict";
14998
+
14999
+ var $ = __webpack_require__(3);
15000
+ var global = __webpack_require__(4);
15001
+ var defineBuiltInAccessor = __webpack_require__(306);
15002
+ var DESCRIPTORS = __webpack_require__(6);
15003
+
15004
+ var $TypeError = TypeError;
15005
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
15006
+ var defineProperty = Object.defineProperty;
15007
+ var INCORRECT_VALUE = global.self !== global;
15008
+
15009
+ // `self` getter
15010
+ // https://html.spec.whatwg.org/multipage/window-object.html#dom-self
15011
+ try {
15012
+ if (DESCRIPTORS) {
15013
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
15014
+ var descriptor = Object.getOwnPropertyDescriptor(global, 'self');
15015
+ // some engines have `self`, but with incorrect descriptor
15016
+ // https://github.com/denoland/deno/issues/15765
15017
+ if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {
15018
+ defineBuiltInAccessor(global, 'self', {
15019
+ get: function self() {
15020
+ return global;
15021
+ },
15022
+ set: function self(value) {
15023
+ if (this !== global) throw $TypeError('Illegal invocation');
15024
+ defineProperty(global, 'self', {
15025
+ value: value,
15026
+ writable: true,
15027
+ configurable: true,
15028
+ enumerable: true
15029
+ });
15030
+ },
15031
+ configurable: true,
15032
+ enumerable: true
15033
+ });
15034
+ }
15035
+ } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {
15036
+ self: global
15037
+ });
15038
+ } catch (error) { /* empty */ }
15039
+
15040
+
15041
+ /***/ }),
15042
+ /* 490 */
15043
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15044
+
14996
15045
  var IS_PURE = __webpack_require__(37);
14997
15046
  var $ = __webpack_require__(3);
14998
15047
  var global = __webpack_require__(4);
@@ -15504,21 +15553,21 @@ $({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLA
15504
15553
 
15505
15554
 
15506
15555
  /***/ }),
15507
- /* 490 */
15556
+ /* 491 */
15508
15557
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15509
15558
 
15510
15559
  // TODO: Remove this module from `core-js@4` since it's split to modules listed below
15511
- __webpack_require__(491);
15512
- __webpack_require__(493);
15560
+ __webpack_require__(492);
15561
+ __webpack_require__(494);
15513
15562
 
15514
15563
 
15515
15564
  /***/ }),
15516
- /* 491 */
15565
+ /* 492 */
15517
15566
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15518
15567
 
15519
15568
  var $ = __webpack_require__(3);
15520
15569
  var global = __webpack_require__(4);
15521
- var setInterval = (__webpack_require__(492).setInterval);
15570
+ var setInterval = (__webpack_require__(493).setInterval);
15522
15571
 
15523
15572
  // ie9- setInterval additional parameters fix
15524
15573
  // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
@@ -15528,7 +15577,7 @@ $({ global: true, bind: true, forced: global.setInterval !== setInterval }, {
15528
15577
 
15529
15578
 
15530
15579
  /***/ }),
15531
- /* 492 */
15580
+ /* 493 */
15532
15581
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
15533
15582
 
15534
15583
  var global = __webpack_require__(4);
@@ -15565,12 +15614,12 @@ module.exports = {
15565
15614
 
15566
15615
 
15567
15616
  /***/ }),
15568
- /* 493 */
15617
+ /* 494 */
15569
15618
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15570
15619
 
15571
15620
  var $ = __webpack_require__(3);
15572
15621
  var global = __webpack_require__(4);
15573
- var setTimeout = (__webpack_require__(492).setTimeout);
15622
+ var setTimeout = (__webpack_require__(493).setTimeout);
15574
15623
 
15575
15624
  // ie9- setTimeout additional parameters fix
15576
15625
  // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
@@ -15580,15 +15629,15 @@ $({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {
15580
15629
 
15581
15630
 
15582
15631
  /***/ }),
15583
- /* 494 */
15632
+ /* 495 */
15584
15633
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15585
15634
 
15586
15635
  // TODO: Remove this module from `core-js@4` since it's replaced to module below
15587
- __webpack_require__(495);
15636
+ __webpack_require__(496);
15588
15637
 
15589
15638
 
15590
15639
  /***/ }),
15591
- /* 495 */
15640
+ /* 496 */
15592
15641
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15593
15642
 
15594
15643
  "use strict";
@@ -15597,7 +15646,7 @@ __webpack_require__(495);
15597
15646
  __webpack_require__(379);
15598
15647
  var $ = __webpack_require__(3);
15599
15648
  var DESCRIPTORS = __webpack_require__(6);
15600
- var USE_NATIVE_URL = __webpack_require__(496);
15649
+ var USE_NATIVE_URL = __webpack_require__(497);
15601
15650
  var global = __webpack_require__(4);
15602
15651
  var bind = __webpack_require__(86);
15603
15652
  var uncurryThis = __webpack_require__(14);
@@ -15609,11 +15658,11 @@ var assign = __webpack_require__(280);
15609
15658
  var arrayFrom = __webpack_require__(159);
15610
15659
  var arraySlice = __webpack_require__(78);
15611
15660
  var codeAt = (__webpack_require__(373).codeAt);
15612
- var toASCII = __webpack_require__(497);
15661
+ var toASCII = __webpack_require__(498);
15613
15662
  var $toString = __webpack_require__(70);
15614
15663
  var setToStringTag = __webpack_require__(84);
15615
15664
  var validateArgumentsLength = __webpack_require__(317);
15616
- var URLSearchParamsModule = __webpack_require__(498);
15665
+ var URLSearchParamsModule = __webpack_require__(499);
15617
15666
  var InternalStateModule = __webpack_require__(53);
15618
15667
 
15619
15668
  var setInternalState = InternalStateModule.set;
@@ -16637,7 +16686,7 @@ $({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS
16637
16686
 
16638
16687
 
16639
16688
  /***/ }),
16640
- /* 496 */
16689
+ /* 497 */
16641
16690
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16642
16691
 
16643
16692
  var fails = __webpack_require__(7);
@@ -16677,7 +16726,7 @@ module.exports = !fails(function () {
16677
16726
 
16678
16727
 
16679
16728
  /***/ }),
16680
- /* 497 */
16729
+ /* 498 */
16681
16730
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16682
16731
 
16683
16732
  "use strict";
@@ -16865,7 +16914,7 @@ module.exports = function (input) {
16865
16914
 
16866
16915
 
16867
16916
  /***/ }),
16868
- /* 498 */
16917
+ /* 499 */
16869
16918
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16870
16919
 
16871
16920
  "use strict";
@@ -16877,7 +16926,7 @@ var global = __webpack_require__(4);
16877
16926
  var call = __webpack_require__(8);
16878
16927
  var uncurryThis = __webpack_require__(14);
16879
16928
  var DESCRIPTORS = __webpack_require__(6);
16880
- var USE_NATIVE_URL = __webpack_require__(496);
16929
+ var USE_NATIVE_URL = __webpack_require__(497);
16881
16930
  var defineBuiltIn = __webpack_require__(49);
16882
16931
  var defineBuiltIns = __webpack_require__(198);
16883
16932
  var setToStringTag = __webpack_require__(84);
@@ -17264,7 +17313,7 @@ module.exports = {
17264
17313
 
17265
17314
 
17266
17315
  /***/ }),
17267
- /* 499 */
17316
+ /* 500 */
17268
17317
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
17269
17318
 
17270
17319
  "use strict";
@@ -17282,21 +17331,21 @@ $({ target: 'URL', proto: true, enumerable: true }, {
17282
17331
 
17283
17332
 
17284
17333
  /***/ }),
17285
- /* 500 */
17334
+ /* 501 */
17286
17335
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
17287
17336
 
17288
17337
  // TODO: Remove this module from `core-js@4` since it's replaced to module below
17289
- __webpack_require__(498);
17338
+ __webpack_require__(499);
17290
17339
 
17291
17340
 
17292
17341
  /***/ }),
17293
- /* 501 */,
17294
- /* 502 */
17342
+ /* 502 */,
17343
+ /* 503 */
17295
17344
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
17296
17345
 
17297
17346
  // TODO(Babel 8): Remove this file.
17298
17347
 
17299
- var runtime = __webpack_require__(503)();
17348
+ var runtime = __webpack_require__(504)();
17300
17349
  module.exports = runtime;
17301
17350
 
17302
17351
  // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
@@ -17312,10 +17361,10 @@ try {
17312
17361
 
17313
17362
 
17314
17363
  /***/ }),
17315
- /* 503 */
17364
+ /* 504 */
17316
17365
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
17317
17366
 
17318
- var _typeof = (__webpack_require__(504)["default"]);
17367
+ var _typeof = (__webpack_require__(505)["default"]);
17319
17368
  function _regeneratorRuntime() {
17320
17369
  "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
17321
17370
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
@@ -17324,6 +17373,9 @@ function _regeneratorRuntime() {
17324
17373
  var exports = {},
17325
17374
  Op = Object.prototype,
17326
17375
  hasOwn = Op.hasOwnProperty,
17376
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
17377
+ obj[key] = desc.value;
17378
+ },
17327
17379
  $Symbol = "function" == typeof Symbol ? Symbol : {},
17328
17380
  iteratorSymbol = $Symbol.iterator || "@@iterator",
17329
17381
  asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
@@ -17347,40 +17399,9 @@ function _regeneratorRuntime() {
17347
17399
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
17348
17400
  generator = Object.create(protoGenerator.prototype),
17349
17401
  context = new Context(tryLocsList || []);
17350
- return generator._invoke = function (innerFn, self, context) {
17351
- var state = "suspendedStart";
17352
- return function (method, arg) {
17353
- if ("executing" === state) throw new Error("Generator is already running");
17354
- if ("completed" === state) {
17355
- if ("throw" === method) throw arg;
17356
- return doneResult();
17357
- }
17358
- for (context.method = method, context.arg = arg;;) {
17359
- var delegate = context.delegate;
17360
- if (delegate) {
17361
- var delegateResult = maybeInvokeDelegate(delegate, context);
17362
- if (delegateResult) {
17363
- if (delegateResult === ContinueSentinel) continue;
17364
- return delegateResult;
17365
- }
17366
- }
17367
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
17368
- if ("suspendedStart" === state) throw state = "completed", context.arg;
17369
- context.dispatchException(context.arg);
17370
- } else "return" === context.method && context.abrupt("return", context.arg);
17371
- state = "executing";
17372
- var record = tryCatch(innerFn, self, context);
17373
- if ("normal" === record.type) {
17374
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
17375
- return {
17376
- value: record.arg,
17377
- done: context.done
17378
- };
17379
- }
17380
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
17381
- }
17382
- };
17383
- }(innerFn, self, context), generator;
17402
+ return defineProperty(generator, "_invoke", {
17403
+ value: makeInvokeMethod(innerFn, self, context)
17404
+ }), generator;
17384
17405
  }
17385
17406
  function tryCatch(fn, obj, arg) {
17386
17407
  try {
@@ -17434,13 +17455,49 @@ function _regeneratorRuntime() {
17434
17455
  reject(record.arg);
17435
17456
  }
17436
17457
  var previousPromise;
17437
- this._invoke = function (method, arg) {
17438
- function callInvokeWithMethodAndArg() {
17439
- return new PromiseImpl(function (resolve, reject) {
17440
- invoke(method, arg, resolve, reject);
17441
- });
17458
+ defineProperty(this, "_invoke", {
17459
+ value: function value(method, arg) {
17460
+ function callInvokeWithMethodAndArg() {
17461
+ return new PromiseImpl(function (resolve, reject) {
17462
+ invoke(method, arg, resolve, reject);
17463
+ });
17464
+ }
17465
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
17466
+ }
17467
+ });
17468
+ }
17469
+ function makeInvokeMethod(innerFn, self, context) {
17470
+ var state = "suspendedStart";
17471
+ return function (method, arg) {
17472
+ if ("executing" === state) throw new Error("Generator is already running");
17473
+ if ("completed" === state) {
17474
+ if ("throw" === method) throw arg;
17475
+ return doneResult();
17476
+ }
17477
+ for (context.method = method, context.arg = arg;;) {
17478
+ var delegate = context.delegate;
17479
+ if (delegate) {
17480
+ var delegateResult = maybeInvokeDelegate(delegate, context);
17481
+ if (delegateResult) {
17482
+ if (delegateResult === ContinueSentinel) continue;
17483
+ return delegateResult;
17484
+ }
17485
+ }
17486
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
17487
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
17488
+ context.dispatchException(context.arg);
17489
+ } else "return" === context.method && context.abrupt("return", context.arg);
17490
+ state = "executing";
17491
+ var record = tryCatch(innerFn, self, context);
17492
+ if ("normal" === record.type) {
17493
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
17494
+ return {
17495
+ value: record.arg,
17496
+ done: context.done
17497
+ };
17498
+ }
17499
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
17442
17500
  }
17443
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
17444
17501
  };
17445
17502
  }
17446
17503
  function maybeInvokeDelegate(delegate, context) {
@@ -17498,7 +17555,13 @@ function _regeneratorRuntime() {
17498
17555
  done: !0
17499
17556
  };
17500
17557
  }
17501
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
17558
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
17559
+ value: GeneratorFunctionPrototype,
17560
+ configurable: !0
17561
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
17562
+ value: GeneratorFunction,
17563
+ configurable: !0
17564
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
17502
17565
  var ctor = "function" == typeof genFun && genFun.constructor;
17503
17566
  return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
17504
17567
  }, exports.mark = function (genFun) {
@@ -17519,8 +17582,9 @@ function _regeneratorRuntime() {
17519
17582
  return this;
17520
17583
  }), define(Gp, "toString", function () {
17521
17584
  return "[object Generator]";
17522
- }), exports.keys = function (object) {
17523
- var keys = [];
17585
+ }), exports.keys = function (val) {
17586
+ var object = Object(val),
17587
+ keys = [];
17524
17588
  for (var key in object) {
17525
17589
  keys.push(key);
17526
17590
  }
@@ -17617,7 +17681,7 @@ function _regeneratorRuntime() {
17617
17681
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
17618
17682
 
17619
17683
  /***/ }),
17620
- /* 504 */
17684
+ /* 505 */
17621
17685
  /***/ (function(module) {
17622
17686
 
17623
17687
  function _typeof(obj) {
@@ -17632,10 +17696,10 @@ function _typeof(obj) {
17632
17696
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
17633
17697
 
17634
17698
  /***/ }),
17635
- /* 505 */,
17636
17699
  /* 506 */,
17637
17700
  /* 507 */,
17638
- /* 508 */
17701
+ /* 508 */,
17702
+ /* 509 */
17639
17703
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17640
17704
 
17641
17705
  "use strict";
@@ -17674,7 +17738,7 @@ function _inheritsLoose(subClass, superClass) {
17674
17738
  _setPrototypeOf(subClass, superClass);
17675
17739
  }
17676
17740
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
17677
- var regenerator = __webpack_require__(502);
17741
+ var regenerator = __webpack_require__(503);
17678
17742
  ;// CONCATENATED MODULE: ./node_modules/robust-predicates/esm/util.js
17679
17743
  const epsilon = 1.1102230246251565e-16;
17680
17744
  const splitter = 134217729;
@@ -25876,7 +25940,7 @@ var Plugin = /*#__PURE__*/function () {
25876
25940
  };
25877
25941
  return Plugin;
25878
25942
  }();
25879
- Plugin.version = "3.6.1";
25943
+ Plugin.version = "3.6.3";
25880
25944
 
25881
25945
  ;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts
25882
25946
  /**
@@ -26120,7 +26184,7 @@ var TextOverlap = /*#__PURE__*/function (_Plugin) {
26120
26184
  /******/ // Load entry module and return exports
26121
26185
  /******/ // This entry module used 'module' so it can't be inlined
26122
26186
  /******/ __webpack_require__(0);
26123
- /******/ var __webpack_exports__ = __webpack_require__(508);
26187
+ /******/ var __webpack_exports__ = __webpack_require__(509);
26124
26188
  /******/ __webpack_exports__ = __webpack_exports__["default"];
26125
26189
  /******/
26126
26190
  /******/ return __webpack_exports__;
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */
10
10
  /*-- Datalab Theme --*/
11
11
  /*-- Default color pattern --*/
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */.bb-color-pattern{background-image:url(#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;)}.bb svg{font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;font-size:11px;line-height:1}.bb line,.bb path{fill:none;stroke:#000}.bb .bb-button,.bb text{-webkit-font-smoothing:antialiased;fill:#555;font-size:11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-axis{stroke-width:.7px}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,.05)}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:.7px}.bb-circle{fill:#fff!important}.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:1px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;stroke-width:8px;stroke-dasharray:1 20;transform:translate(7px,1px)}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1;opacity:.75}.bb-title{font-size:14px}.bb-tooltip-container{font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;user-select:none;z-index:10}.bb-tooltip{-webkit-font-smoothing:antialiased;background-color:#fff;border:1px solid #999;border-collapse:separate;border-radius:2px;border-spacing:0;empty-cells:show;font-size:11px;text-align:left}.bb-tooltip th{background-color:#0b00b1;border-bottom:2px solid #ff2d2d;color:#fffdfd;font-size:13px;padding:2px 8px;text-align:left}.bb-tooltip td{padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{border:1px solid #000;border-radius:3px;display:inline-block;height:8px;margin-right:6px;vertical-align:middle;width:8px}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{color:#aaa;display:inline-block;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{color:#444;font-size:11px;font-weight:400;line-height:13px;padding:4px 0 3px;text-align:left}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;font-weight:800;padding-left:5px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:18px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{fill:#000;font-size:18px!important;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#3b6969}.bb-chart-arc path{stroke:#000;stroke-width:.5px}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:14px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{cursor:default;font-size:1.15em}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:.7px}.bb-button{position:absolute;right:10px;top:10px}.bb-button .bb-zoom-reset{background-color:#fff;border:1px solid #ccc;border-radius:5px;cursor:pointer;padding:5px}
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */
10
10
  /*-- Graph Theme --*/
11
11
  /*-- Default color pattern --*/
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */.bb-color-pattern{background-image:url(#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;)}.bb svg{font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;font-size:12px;line-height:1}.bb line,.bb path{fill:none;stroke:#8c8c8c}.bb .bb-button,.bb text{fill:#555;font-size:12px;letter-spacing:-.3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-axis,.bb-bars path,.bb-event-rect,.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.bb-axis-y text,.bb-axis-y2 text{fill:#8c8c8c}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,.05)}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ffb6b6;stroke-dasharray:3px}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_,rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1px;opacity:.75}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-tooltip-container{font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;user-select:none;z-index:10}.bb-tooltip{background-color:#fff;border:1px solid #999;border-collapse:separate;border-radius:2px;border-spacing:0;box-shadow:.5px .5px 1px #999;empty-cells:show;font-size:12px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-tooltip th{background-color:#efefef;border-bottom:1px dotted #000;color:#000;font-size:12px;padding:4px 8px;text-align:center}.bb-tooltip tr:last-child td{border-bottom:none}.bb-tooltip td{background-color:#fff;border-bottom:1px solid #eee;padding:3px 6px}.bb-tooltip td:first-child{border-right:1px solid #eee;padding-left:5px}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;height:12px;margin-right:6px;vertical-align:middle;width:5px}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{color:#aaa;display:inline-block;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:1px;font-size:12px}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{color:#444;font-weight:400;line-height:13px;padding:4px 0 3px;text-align:left}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-weight:800;padding-left:5px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{fill:#8c8c8c;font-size:16px!important;font-style:italic}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#8c8c8c;font-style:italic}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px;font-weight:700}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#8c8c8c}.bb-chart-radars .bb-axis line{stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-axis text{cursor:default;font-size:1.15em;font-weight:700}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;right:10px;top:10px}.bb-button .bb-zoom-reset{background-color:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:1px 1px 2px #ccc;cursor:pointer;opacity:.8;padding:5px}
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */
10
10
  /*-- Insight Theme --*/
11
11
  /*-- Default color pattern --*/
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */.bb-color-pattern{background-image:url(#00c73c;#fa7171;#2ad0ff;#7294ce;#e3e448;#cc7e6e;#fb6ccf;#c98dff;#4aea99;#bbbbbb;)}.bb svg{font-family:sans-serif,Arial,nanumgothic,Dotum;font-size:12px;line-height:1}.bb line,.bb path{fill:none;stroke:#c4c4c4}.bb .bb-button,.bb text{fill:#555;font-size:11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-axis,.bb-bars path,.bb-event-rect,.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,.05)}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{fill:#fff!important;stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1;opacity:.75}.bb-title{font-size:14px}.bb-tooltip-container{font-family:sans-serif,Arial,nanumgothic,Dotum;user-select:none;z-index:10}.bb-tooltip{background-color:#fff;border:1px solid #999;border-collapse:separate;border-spacing:0;empty-cells:show;font-size:11px;text-align:left}.bb-tooltip th{border-bottom:1px solid #eee;font-size:12px;padding:4px 8px;text-align:left}.bb-tooltip td{background-color:#fff;padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{border-radius:5px;display:inline-block;height:10px;margin-right:6px;vertical-align:middle;width:10px}.bb-tooltip td.value{border-left:1px solid transparent}.bb-tooltip .bb-tooltip-title{color:#aaa;display:inline-block;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{color:#444;font-size:11px;font-weight:400;line-height:13px;padding:4px 0 3px;text-align:left}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:12px;font-weight:800;padding-left:5px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{fill:#000;font-size:16px!important;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{cursor:default;font-size:1.15em}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;right:10px;top:10px}.bb-button .bb-zoom-reset{background-color:#fff;border:1px solid #ccc;border-radius:5px;cursor:pointer;padding:5px}
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  */
10
10
  import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
11
11
  import { pointer, select, namespaces, selectAll } from 'd3-selection';
@@ -4598,13 +4598,12 @@ var interaction = {
4598
4598
  return;
4599
4599
  }
4600
4600
  }
4601
+ // remove possible previous focused state
4602
+ main.selectAll(".".concat($COMMON.EXPANDED, ":not(.").concat($SHAPE.shape, "-").concat(index, ")"))
4603
+ .classed($COMMON.EXPANDED, false);
4601
4604
  var shapeAtIndex = main.selectAll(".".concat($SHAPE.shape, "-").concat(index))
4602
- .each(function () {
4603
- select(this).classed($COMMON.EXPANDED, true);
4604
- if (isSelectionEnabled) {
4605
- eventRect.style("cursor", isSelectionGrouped ? "pointer" : null);
4606
- }
4607
- })
4605
+ .classed($COMMON.EXPANDED, true)
4606
+ .style("cursor", isSelectable ? "pointer" : null)
4608
4607
  .filter(function (d) {
4609
4608
  return $$.isWithinShape(this, d);
4610
4609
  });
@@ -11530,7 +11529,7 @@ var AxisRendererHelper = /** @class */ (function () {
11530
11529
  function (value) { return "translate(".concat(value + config.tickOffset, ",0)"); } :
11531
11530
  function (value) { return "translate(0,".concat(value, ")"); };
11532
11531
  return function (selection, scale) {
11533
- selection.attr("transform", function (d) { return fn(Math.ceil(scale(d))); });
11532
+ selection.attr("transform", function (d) { return (isValue(d) ? fn(Math.ceil(scale(d))) : null); });
11534
11533
  };
11535
11534
  };
11536
11535
  AxisRendererHelper.prototype.scaleExtent = function (domain) {
@@ -13043,27 +13042,40 @@ var eventrect = {
13043
13042
  rectW_1 = function (d) {
13044
13043
  var x = getPrevNextX_1(d);
13045
13044
  var xDomain = xScale.domain();
13045
+ var val;
13046
13046
  // if there this is a single data point make the eventRect full width (or height)
13047
13047
  if (x.prev === null && x.next === null) {
13048
- return isRotated ? state.height : state.width;
13048
+ val = isRotated ? state.height : state.width;
13049
13049
  }
13050
- Object.keys(x).forEach(function (key, i) {
13051
- var _a;
13052
- x[key] = (_a = x[key]) !== null && _a !== void 0 ? _a : xDomain[i];
13053
- });
13054
- return Math.max(0, (xScale(x.next) - xScale(x.prev)) / 2);
13050
+ else if (x.prev === null) {
13051
+ val = (xScale(x.next) + xScale(d.x)) / 2;
13052
+ }
13053
+ else if (x.next === null) {
13054
+ val = xScale(xDomain[1]) - ((xScale(x.prev) + xScale(d.x)) / 2);
13055
+ }
13056
+ else {
13057
+ Object.keys(x).forEach(function (key, i) {
13058
+ var _a;
13059
+ x[key] = (_a = x[key]) !== null && _a !== void 0 ? _a : xDomain[i];
13060
+ });
13061
+ val = Math.max(0, (xScale(x.next) - xScale(x.prev)) / 2);
13062
+ }
13063
+ return val;
13055
13064
  };
13056
13065
  rectX = function (d) {
13057
13066
  var x = getPrevNextX_1(d);
13058
- var thisX = d.x;
13067
+ var val;
13059
13068
  // if there this is a single data point position the eventRect at 0
13060
13069
  if (x.prev === null && x.next === null) {
13061
- return 0;
13070
+ val = 0;
13071
+ }
13072
+ else if (x.prev === null) {
13073
+ val = xScale(xScale.domain()[0]);
13062
13074
  }
13063
- if (x.prev === null) {
13064
- x.prev = xScale.domain()[0];
13075
+ else {
13076
+ val = (xScale(d.x) + xScale(x.prev)) / 2;
13065
13077
  }
13066
- return (xScale(thisX) + xScale(x.prev)) / 2;
13078
+ return val;
13067
13079
  };
13068
13080
  }
13069
13081
  x = isRotated ? 0 : rectX;
@@ -21429,7 +21441,7 @@ var zoomModule = function () {
21429
21441
  var defaults = {};
21430
21442
  /**
21431
21443
  * @namespace bb
21432
- * @version 3.6.1
21444
+ * @version 3.6.3
21433
21445
  */
21434
21446
  var bb = {
21435
21447
  /**
@@ -21439,7 +21451,7 @@ var bb = {
21439
21451
  * bb.version; // "1.0.0"
21440
21452
  * @memberof bb
21441
21453
  */
21442
- version: "3.6.1",
21454
+ version: "3.6.3",
21443
21455
  /**
21444
21456
  * Generate chart
21445
21457
  * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -106,7 +106,7 @@ var Plugin = /** @class */ (function () {
106
106
  delete _this[key];
107
107
  });
108
108
  };
109
- Plugin.version = "3.6.1";
109
+ Plugin.version = "3.6.3";
110
110
  return Plugin;
111
111
  }());
112
112
  var Plugin$1 = Plugin;