billboard.js 3.3.3 → 3.4.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.
Files changed (69) hide show
  1. package/dist/billboard.css +19 -14
  2. package/dist/billboard.js +504 -112
  3. package/dist/billboard.min.css +2 -2
  4. package/dist/billboard.min.js +2 -2
  5. package/dist/billboard.pkgd.js +550 -126
  6. package/dist/billboard.pkgd.min.js +2 -2
  7. package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  8. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  9. package/dist/plugin/billboardjs-plugin-sparkline.js +34 -18
  10. package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-stanford.js +34 -18
  12. package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
  13. package/dist/plugin/billboardjs-plugin-tableview.js +29 -15
  14. package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
  15. package/dist/plugin/billboardjs-plugin-textoverlap.js +29 -15
  16. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  17. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +2 -2
  18. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +80 -32
  19. package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +80 -32
  20. package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +75 -29
  21. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +75 -29
  22. package/dist/theme/datalab.css +24 -20
  23. package/dist/theme/datalab.min.css +2 -2
  24. package/dist/theme/graph.css +24 -20
  25. package/dist/theme/graph.min.css +2 -2
  26. package/dist/theme/insight.css +24 -20
  27. package/dist/theme/insight.min.css +2 -2
  28. package/dist-esm/billboard.js +446 -99
  29. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  30. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +3 -5
  31. package/dist-esm/plugin/billboardjs-plugin-stanford.js +8 -7
  32. package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
  33. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
  34. package/package.json +21 -21
  35. package/src/Chart/api/axis.ts +90 -25
  36. package/src/Chart/api/focus.ts +3 -2
  37. package/src/ChartInternal/Axis/Axis.ts +8 -6
  38. package/src/ChartInternal/ChartInternal.ts +48 -23
  39. package/src/ChartInternal/data/data.ts +1 -1
  40. package/src/ChartInternal/interactions/flow.ts +1 -1
  41. package/src/ChartInternal/internals/color.ts +4 -3
  42. package/src/ChartInternal/internals/format.ts +5 -1
  43. package/src/ChartInternal/internals/redraw.ts +3 -0
  44. package/src/ChartInternal/internals/text.ts +1 -1
  45. package/src/ChartInternal/internals/transform.ts +4 -1
  46. package/src/ChartInternal/internals/type.ts +5 -0
  47. package/src/ChartInternal/shape/arc.ts +41 -17
  48. package/src/ChartInternal/shape/bar.ts +1 -1
  49. package/src/ChartInternal/shape/point.ts +6 -3
  50. package/src/ChartInternal/shape/polar.ts +132 -0
  51. package/src/ChartInternal/shape/radar.ts +4 -4
  52. package/src/config/Options/common/main.ts +19 -2
  53. package/src/config/Options/data/data.ts +3 -0
  54. package/src/config/Options/shape/polar.ts +81 -0
  55. package/src/config/classes.ts +6 -3
  56. package/src/config/const.ts +3 -0
  57. package/src/config/resolver/shape.ts +4 -0
  58. package/src/core.ts +1 -0
  59. package/src/index.esm.ts +1 -0
  60. package/src/module/generator.ts +19 -5
  61. package/src/module/util.ts +22 -9
  62. package/src/scss/billboard.scss +13 -0
  63. package/src/scss/theme/datalab.scss +13 -0
  64. package/src/scss/theme/graph.scss +13 -0
  65. package/src/scss/theme/insight.scss +13 -0
  66. package/types/bb.d.ts +1 -0
  67. package/types/chart.d.ts +8 -8
  68. package/types/options.d.ts +79 -2
  69. package/types/types.d.ts +2 -0
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.3.3
8
+ * @version 3.4.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -17172,7 +17172,7 @@ var Plugin = /*#__PURE__*/function () {
17172
17172
  return Plugin;
17173
17173
  }();
17174
17174
 
17175
- Plugin.version = "3.3.3";
17175
+ Plugin.version = "3.4.0";
17176
17176
 
17177
17177
  ;// CONCATENATED MODULE: ./src/Plugin/tableview/Options.ts
17178
17178
  /**
@@ -18576,15 +18576,15 @@ var _brighter = 1 / _darker;
18576
18576
 
18577
18577
 
18578
18578
  var reI = "\\s*([+-]?\\d+)\\s*",
18579
- reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
18580
- reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
18579
+ reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
18580
+ reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
18581
18581
  reHex = /^#([0-9a-f]{3,8})$/,
18582
18582
  reRgbInteger = new RegExp("^rgb\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*\\)$"),
18583
- reRgbPercent = new RegExp("^rgb\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
18584
- reRgbaInteger = new RegExp("^rgba\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
18585
- reRgbaPercent = new RegExp("^rgba\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
18586
- reHslPercent = new RegExp("^hsl\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
18587
- reHslaPercent = new RegExp("^hsla\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
18583
+ reRgbPercent = new RegExp("^rgb\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
18584
+ reRgbaInteger = new RegExp("^rgba\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
18585
+ reRgbaPercent = new RegExp("^rgba\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
18586
+ reHslPercent = new RegExp("^hsl\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
18587
+ reHslaPercent = new RegExp("^hsla\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
18588
18588
  named = {
18589
18589
  aliceblue: 0xf0f8ff,
18590
18590
  antiquewhite: 0xfaebd7,
@@ -18745,6 +18745,7 @@ src_define(Color, color, {
18745
18745
  hex: color_formatHex,
18746
18746
  // Deprecated! Use color.formatHex.
18747
18747
  formatHex: color_formatHex,
18748
+ formatHex8: color_formatHex8,
18748
18749
  formatHsl: color_formatHsl,
18749
18750
  formatRgb: color_formatRgb,
18750
18751
  toString: color_formatRgb
@@ -18754,6 +18755,10 @@ function color_formatHex() {
18754
18755
  return this.rgb().formatHex();
18755
18756
  }
18756
18757
 
18758
+ function color_formatHex8() {
18759
+ return this.rgb().formatHex8();
18760
+ }
18761
+
18757
18762
  function color_formatHsl() {
18758
18763
  return hslConvert(this).formatHsl();
18759
18764
  }
@@ -18816,12 +18821,16 @@ src_define(Rgb, color_rgb, extend(Color, {
18816
18821
  rgb: function () {
18817
18822
  return this;
18818
18823
  },
18824
+ clamp: function clamp() {
18825
+ return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
18826
+ },
18819
18827
  displayable: function displayable() {
18820
18828
  return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
18821
18829
  },
18822
18830
  hex: rgb_formatHex,
18823
18831
  // Deprecated! Use color.formatHex.
18824
18832
  formatHex: rgb_formatHex,
18833
+ formatHex8: rgb_formatHex8,
18825
18834
  formatRgb: rgb_formatRgb,
18826
18835
  toString: rgb_formatRgb
18827
18836
  }));
@@ -18830,14 +18839,25 @@ function rgb_formatHex() {
18830
18839
  return "#" + hex(this.r) + hex(this.g) + hex(this.b);
18831
18840
  }
18832
18841
 
18842
+ function rgb_formatHex8() {
18843
+ return "#" + hex(this.r) + hex(this.g) + hex(this.b) + hex((isNaN(this.opacity) ? 1 : this.opacity) * 255);
18844
+ }
18845
+
18833
18846
  function rgb_formatRgb() {
18834
- var a = this.opacity;
18835
- a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
18836
- return (a === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? ")" : ", " + a + ")");
18847
+ var a = clampa(this.opacity);
18848
+ return "" + (a === 1 ? "rgb(" : "rgba(") + clampi(this.r) + ", " + clampi(this.g) + ", " + clampi(this.b) + (a === 1 ? ")" : ", " + a + ")");
18849
+ }
18850
+
18851
+ function clampa(opacity) {
18852
+ return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
18853
+ }
18854
+
18855
+ function clampi(value) {
18856
+ return Math.max(0, Math.min(255, Math.round(value) || 0));
18837
18857
  }
18838
18858
 
18839
18859
  function hex(value) {
18840
- value = Math.max(0, Math.min(255, Math.round(value) || 0));
18860
+ value = clampi(value);
18841
18861
  return (value < 16 ? "0" : "") + value.toString(16);
18842
18862
  }
18843
18863
 
@@ -18899,17 +18919,29 @@ src_define(Hsl, hsl, extend(Color, {
18899
18919
  m1 = 2 * l - m2;
18900
18920
  return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
18901
18921
  },
18922
+ clamp: function clamp() {
18923
+ return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
18924
+ },
18902
18925
  displayable: function displayable() {
18903
18926
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
18904
18927
  },
18905
18928
  formatHsl: function formatHsl() {
18906
- var a = this.opacity;
18907
- a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
18908
- return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
18929
+ var a = clampa(this.opacity);
18930
+ return "" + (a === 1 ? "hsl(" : "hsla(") + clamph(this.h) + ", " + clampt(this.s) * 100 + "%, " + clampt(this.l) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
18909
18931
  }
18910
18932
  }));
18933
+
18934
+ function clamph(value) {
18935
+ value = (value || 0) % 360;
18936
+ return value < 0 ? value + 360 : value;
18937
+ }
18938
+
18939
+ function clampt(value) {
18940
+ return Math.max(0, Math.min(1, value || 0));
18941
+ }
18911
18942
  /* From FvD 13.37, CSS Color Module Level 3 */
18912
18943
 
18944
+
18913
18945
  function hsl2rgb(h, m1, m2) {
18914
18946
  return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
18915
18947
  }
@@ -21874,9 +21906,13 @@ function parseDate(date) {
21874
21906
  if (date instanceof Date) {
21875
21907
  parsedDate = date;
21876
21908
  } else if (isString(date)) {
21877
- var config = this.config,
21909
+ var _format$dataTime,
21910
+ config = this.config,
21878
21911
  format = this.format;
21879
- parsedDate = format.dataTime(config.data_xFormat)(date);
21912
+
21913
+ // if fails to parse, try by new Date()
21914
+ // https://github.com/naver/billboard.js/issues/1714
21915
+ parsedDate = (_format$dataTime = format.dataTime(config.data_xFormat)(date)) != null ? _format$dataTime : new Date(date);
21880
21916
  } else if (isNumber(date) && !isNaN(date)) {
21881
21917
  parsedDate = new Date(+date);
21882
21918
  }
@@ -21895,7 +21931,7 @@ function parseDate(date) {
21895
21931
 
21896
21932
 
21897
21933
  function isTabVisible() {
21898
- return !doc.hidden;
21934
+ return (doc == null ? void 0 : doc.hidden) === !1 || (doc == null ? void 0 : doc.visibilityState) === "visible";
21899
21935
  }
21900
21936
  /**
21901
21937
  * Get the current input type
@@ -21907,26 +21943,36 @@ function isTabVisible() {
21907
21943
 
21908
21944
 
21909
21945
  function convertInputType(mouse, touch) {
21910
- var hasTouch = !1;
21946
+ var DocumentTouch = win.DocumentTouch,
21947
+ matchMedia = win.matchMedia,
21948
+ navigator = win.navigator,
21949
+ hasTouch = !1;
21911
21950
 
21912
21951
  if (touch) {
21913
21952
  // Some Edge desktop return true: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/20417074/
21914
- if (win.navigator && "maxTouchPoints" in win.navigator) {
21915
- hasTouch = win.navigator.maxTouchPoints > 0; // Ref: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
21953
+ if (navigator && "maxTouchPoints" in navigator) {
21954
+ hasTouch = navigator.maxTouchPoints > 0; // Ref: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
21916
21955
  // On IE11 with IE9 emulation mode, ('ontouchstart' in window) is returning true
21917
- } else if ("ontouchmove" in win || win.DocumentTouch && doc instanceof win.DocumentTouch) {
21956
+ } else if ("ontouchmove" in win || DocumentTouch && doc instanceof DocumentTouch) {
21918
21957
  hasTouch = !0;
21919
21958
  } else {
21920
21959
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#avoiding_user_agent_detection
21921
- var mQ = win.matchMedia && matchMedia("(pointer:coarse)");
21922
-
21923
- if (mQ && mQ.media === "(pointer:coarse)") {
21924
- hasTouch = !!mQ.matches;
21960
+ if (matchMedia != null && matchMedia("(pointer:coarse)").matches) {
21961
+ hasTouch = !0;
21962
+ } else {
21963
+ // Only as a last resort, fall back to user agent sniffing
21964
+ var UA = navigator.userAgent;
21965
+ hasTouch = /\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(UA) || /\b(Android|Windows Phone|iPad|iPod)\b/i.test(UA);
21925
21966
  }
21926
21967
  }
21927
- }
21968
+ } // Check if agent has mouse using any-hover, touch devices (e.g iPad) with external mouse will return true as long as mouse is connected
21969
+ // https://css-tricks.com/interaction-media-features-and-their-potential-for-incorrect-assumptions/#aa-testing-the-capabilities-of-all-inputs
21970
+ // Demo: https://patrickhlauke.github.io/touch/pointer-hover-any-pointer-any-hover/
21928
21971
 
21929
- var hasMouse = mouse && !hasTouch ? "onmouseover" in win : !1;
21972
+
21973
+ var hasMouse = mouse && ["any-hover:hover", "any-pointer:fine"].some(function (v) {
21974
+ return matchMedia == null ? void 0 : matchMedia("(" + v + ")").matches;
21975
+ });
21930
21976
  return hasMouse && "mouse" || hasTouch && "touch" || null;
21931
21977
  }
21932
21978
  ;// CONCATENATED MODULE: ./src/config/config.ts
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.3.3
8
+ * @version 3.4.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -22317,15 +22317,15 @@ var _brighter = 1 / _darker;
22317
22317
 
22318
22318
 
22319
22319
  var reI = "\\s*([+-]?\\d+)\\s*",
22320
- reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
22321
- reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
22320
+ reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
22321
+ reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
22322
22322
  reHex = /^#([0-9a-f]{3,8})$/,
22323
22323
  reRgbInteger = new RegExp("^rgb\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*\\)$"),
22324
- reRgbPercent = new RegExp("^rgb\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
22325
- reRgbaInteger = new RegExp("^rgba\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
22326
- reRgbaPercent = new RegExp("^rgba\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
22327
- reHslPercent = new RegExp("^hsl\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
22328
- reHslaPercent = new RegExp("^hsla\\(\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
22324
+ reRgbPercent = new RegExp("^rgb\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
22325
+ reRgbaInteger = new RegExp("^rgba\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
22326
+ reRgbaPercent = new RegExp("^rgba\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
22327
+ reHslPercent = new RegExp("^hsl\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*\\)$"),
22328
+ reHslaPercent = new RegExp("^hsla\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*,\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*\\)$"),
22329
22329
  named = {
22330
22330
  aliceblue: 0xf0f8ff,
22331
22331
  antiquewhite: 0xfaebd7,
@@ -22486,6 +22486,7 @@ src_define(Color, color, {
22486
22486
  hex: color_formatHex,
22487
22487
  // Deprecated! Use color.formatHex.
22488
22488
  formatHex: color_formatHex,
22489
+ formatHex8: color_formatHex8,
22489
22490
  formatHsl: color_formatHsl,
22490
22491
  formatRgb: color_formatRgb,
22491
22492
  toString: color_formatRgb
@@ -22495,6 +22496,10 @@ function color_formatHex() {
22495
22496
  return this.rgb().formatHex();
22496
22497
  }
22497
22498
 
22499
+ function color_formatHex8() {
22500
+ return this.rgb().formatHex8();
22501
+ }
22502
+
22498
22503
  function color_formatHsl() {
22499
22504
  return hslConvert(this).formatHsl();
22500
22505
  }
@@ -22557,12 +22562,16 @@ src_define(Rgb, color_rgb, extend(Color, {
22557
22562
  rgb: function () {
22558
22563
  return this;
22559
22564
  },
22565
+ clamp: function clamp() {
22566
+ return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
22567
+ },
22560
22568
  displayable: function displayable() {
22561
22569
  return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
22562
22570
  },
22563
22571
  hex: rgb_formatHex,
22564
22572
  // Deprecated! Use color.formatHex.
22565
22573
  formatHex: rgb_formatHex,
22574
+ formatHex8: rgb_formatHex8,
22566
22575
  formatRgb: rgb_formatRgb,
22567
22576
  toString: rgb_formatRgb
22568
22577
  }));
@@ -22571,14 +22580,25 @@ function rgb_formatHex() {
22571
22580
  return "#" + hex(this.r) + hex(this.g) + hex(this.b);
22572
22581
  }
22573
22582
 
22583
+ function rgb_formatHex8() {
22584
+ return "#" + hex(this.r) + hex(this.g) + hex(this.b) + hex((isNaN(this.opacity) ? 1 : this.opacity) * 255);
22585
+ }
22586
+
22574
22587
  function rgb_formatRgb() {
22575
- var a = this.opacity;
22576
- a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
22577
- return (a === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? ")" : ", " + a + ")");
22588
+ var a = clampa(this.opacity);
22589
+ return "" + (a === 1 ? "rgb(" : "rgba(") + clampi(this.r) + ", " + clampi(this.g) + ", " + clampi(this.b) + (a === 1 ? ")" : ", " + a + ")");
22590
+ }
22591
+
22592
+ function clampa(opacity) {
22593
+ return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
22594
+ }
22595
+
22596
+ function clampi(value) {
22597
+ return Math.max(0, Math.min(255, Math.round(value) || 0));
22578
22598
  }
22579
22599
 
22580
22600
  function hex(value) {
22581
- value = Math.max(0, Math.min(255, Math.round(value) || 0));
22601
+ value = clampi(value);
22582
22602
  return (value < 16 ? "0" : "") + value.toString(16);
22583
22603
  }
22584
22604
 
@@ -22640,17 +22660,29 @@ src_define(Hsl, hsl, extend(Color, {
22640
22660
  m1 = 2 * l - m2;
22641
22661
  return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
22642
22662
  },
22663
+ clamp: function clamp() {
22664
+ return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
22665
+ },
22643
22666
  displayable: function displayable() {
22644
22667
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
22645
22668
  },
22646
22669
  formatHsl: function formatHsl() {
22647
- var a = this.opacity;
22648
- a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
22649
- return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
22670
+ var a = clampa(this.opacity);
22671
+ return "" + (a === 1 ? "hsl(" : "hsla(") + clamph(this.h) + ", " + clampt(this.s) * 100 + "%, " + clampt(this.l) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
22650
22672
  }
22651
22673
  }));
22674
+
22675
+ function clamph(value) {
22676
+ value = (value || 0) % 360;
22677
+ return value < 0 ? value + 360 : value;
22678
+ }
22679
+
22680
+ function clampt(value) {
22681
+ return Math.max(0, Math.min(1, value || 0));
22682
+ }
22652
22683
  /* From FvD 13.37, CSS Color Module Level 3 */
22653
22684
 
22685
+
22654
22686
  function hsl2rgb(h, m1, m2) {
22655
22687
  return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
22656
22688
  }
@@ -25615,9 +25647,13 @@ function parseDate(date) {
25615
25647
  if (date instanceof Date) {
25616
25648
  parsedDate = date;
25617
25649
  } else if (isString(date)) {
25618
- var config = this.config,
25650
+ var _format$dataTime,
25651
+ config = this.config,
25619
25652
  format = this.format;
25620
- parsedDate = format.dataTime(config.data_xFormat)(date);
25653
+
25654
+ // if fails to parse, try by new Date()
25655
+ // https://github.com/naver/billboard.js/issues/1714
25656
+ parsedDate = (_format$dataTime = format.dataTime(config.data_xFormat)(date)) != null ? _format$dataTime : new Date(date);
25621
25657
  } else if (isNumber(date) && !isNaN(date)) {
25622
25658
  parsedDate = new Date(+date);
25623
25659
  }
@@ -25636,7 +25672,7 @@ function parseDate(date) {
25636
25672
 
25637
25673
 
25638
25674
  function isTabVisible() {
25639
- return !doc.hidden;
25675
+ return (doc == null ? void 0 : doc.hidden) === !1 || (doc == null ? void 0 : doc.visibilityState) === "visible";
25640
25676
  }
25641
25677
  /**
25642
25678
  * Get the current input type
@@ -25648,26 +25684,36 @@ function isTabVisible() {
25648
25684
 
25649
25685
 
25650
25686
  function convertInputType(mouse, touch) {
25651
- var hasTouch = !1;
25687
+ var DocumentTouch = win.DocumentTouch,
25688
+ matchMedia = win.matchMedia,
25689
+ navigator = win.navigator,
25690
+ hasTouch = !1;
25652
25691
 
25653
25692
  if (touch) {
25654
25693
  // Some Edge desktop return true: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/20417074/
25655
- if (win.navigator && "maxTouchPoints" in win.navigator) {
25656
- hasTouch = win.navigator.maxTouchPoints > 0; // Ref: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
25694
+ if (navigator && "maxTouchPoints" in navigator) {
25695
+ hasTouch = navigator.maxTouchPoints > 0; // Ref: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
25657
25696
  // On IE11 with IE9 emulation mode, ('ontouchstart' in window) is returning true
25658
- } else if ("ontouchmove" in win || win.DocumentTouch && doc instanceof win.DocumentTouch) {
25697
+ } else if ("ontouchmove" in win || DocumentTouch && doc instanceof DocumentTouch) {
25659
25698
  hasTouch = !0;
25660
25699
  } else {
25661
25700
  // https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#avoiding_user_agent_detection
25662
- var mQ = win.matchMedia && matchMedia("(pointer:coarse)");
25663
-
25664
- if (mQ && mQ.media === "(pointer:coarse)") {
25665
- hasTouch = !!mQ.matches;
25701
+ if (matchMedia != null && matchMedia("(pointer:coarse)").matches) {
25702
+ hasTouch = !0;
25703
+ } else {
25704
+ // Only as a last resort, fall back to user agent sniffing
25705
+ var UA = navigator.userAgent;
25706
+ hasTouch = /\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(UA) || /\b(Android|Windows Phone|iPad|iPod)\b/i.test(UA);
25666
25707
  }
25667
25708
  }
25668
- }
25709
+ } // Check if agent has mouse using any-hover, touch devices (e.g iPad) with external mouse will return true as long as mouse is connected
25710
+ // https://css-tricks.com/interaction-media-features-and-their-potential-for-incorrect-assumptions/#aa-testing-the-capabilities-of-all-inputs
25711
+ // Demo: https://patrickhlauke.github.io/touch/pointer-hover-any-pointer-any-hover/
25669
25712
 
25670
- var hasMouse = mouse && !hasTouch ? "onmouseover" in win : !1;
25713
+
25714
+ var hasMouse = mouse && ["any-hover:hover", "any-pointer:fine"].some(function (v) {
25715
+ return matchMedia == null ? void 0 : matchMedia("(" + v + ")").matches;
25716
+ });
25671
25717
  return hasMouse && "mouse" || hasTouch && "touch" || null;
25672
25718
  }
25673
25719
  ;// CONCATENATED MODULE: ./src/config/config.ts
@@ -25793,7 +25839,7 @@ var Plugin = /*#__PURE__*/function () {
25793
25839
  return Plugin;
25794
25840
  }();
25795
25841
 
25796
- Plugin.version = "3.3.3";
25842
+ Plugin.version = "3.4.0";
25797
25843
 
25798
25844
  ;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts
25799
25845
  /**
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.3.3
8
+ * @version 3.4.0
9
9
  */
10
10
  /*-- Datalab Theme --*/
11
11
  /*-- Default color pattern --*/
@@ -209,25 +209,29 @@ text.bb-chart-arcs-gauge-title {
209
209
  dominant-baseline: middle;
210
210
  font-size: 2.7em; }
211
211
 
212
- .bb-chart-arcs .bb-chart-arcs-background {
213
- fill: #e0e0e0;
214
- stroke: none; }
215
-
216
- .bb-chart-arcs .bb-chart-arcs-gauge-unit {
217
- fill: #000;
218
- font-size: 18px; }
219
-
220
- .bb-chart-arcs .bb-chart-arcs-gauge-min, .bb-chart-arcs .bb-chart-arcs-gauge-max {
221
- fill: #777; }
222
-
223
- .bb-chart-arcs .bb-chart-arcs-title {
224
- font-size: 18px !important;
225
- fill: #000;
226
- font-weight: 600; }
227
-
228
- .bb-chart-arcs path.empty {
229
- fill: #eaeaea;
230
- stroke-width: 0; }
212
+ .bb-chart-arcs {
213
+ /*-- Polar --*/ }
214
+ .bb-chart-arcs .bb-chart-arcs-background {
215
+ fill: #e0e0e0;
216
+ stroke: none; }
217
+ .bb-chart-arcs .bb-chart-arcs-gauge-unit {
218
+ fill: #000;
219
+ font-size: 18px; }
220
+ .bb-chart-arcs .bb-chart-arcs-gauge-min, .bb-chart-arcs .bb-chart-arcs-gauge-max {
221
+ fill: #777; }
222
+ .bb-chart-arcs .bb-chart-arcs-title {
223
+ font-size: 18px !important;
224
+ fill: #000;
225
+ font-weight: 600; }
226
+ .bb-chart-arcs path.empty {
227
+ fill: #eaeaea;
228
+ stroke-width: 0; }
229
+ .bb-chart-arcs .bb-levels circle {
230
+ fill: none;
231
+ stroke: #848282;
232
+ stroke-width: .5px; }
233
+ .bb-chart-arcs .bb-levels text {
234
+ fill: #848282; }
231
235
 
232
236
  .bb-chart-arc .bb-gauge-value {
233
237
  fill: #3b6969; }
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.3.3
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-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}
8
+ * @version 3.4.0
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.3.3
8
+ * @version 3.4.0
9
9
  */
10
10
  /*-- Graph Theme --*/
11
11
  /*-- Default color pattern --*/
@@ -223,25 +223,29 @@ text.bb-chart-arcs-gauge-title {
223
223
  dominant-baseline: middle;
224
224
  font-size: 2.7em; }
225
225
 
226
- .bb-chart-arcs .bb-chart-arcs-background {
227
- fill: #e0e0e0;
228
- stroke: #fff; }
229
-
230
- .bb-chart-arcs .bb-chart-arcs-gauge-unit {
231
- fill: #000;
232
- font-size: 16px; }
233
-
234
- .bb-chart-arcs .bb-chart-arcs-gauge-min, .bb-chart-arcs .bb-chart-arcs-gauge-max {
235
- fill: #777; }
236
-
237
- .bb-chart-arcs .bb-chart-arcs-title {
238
- font-size: 16px !important;
239
- fill: #8c8c8c;
240
- font-style: italic; }
241
-
242
- .bb-chart-arcs path.empty {
243
- fill: #eaeaea;
244
- stroke-width: 0; }
226
+ .bb-chart-arcs {
227
+ /*-- Polar --*/ }
228
+ .bb-chart-arcs .bb-chart-arcs-background {
229
+ fill: #e0e0e0;
230
+ stroke: #fff; }
231
+ .bb-chart-arcs .bb-chart-arcs-gauge-unit {
232
+ fill: #000;
233
+ font-size: 16px; }
234
+ .bb-chart-arcs .bb-chart-arcs-gauge-min, .bb-chart-arcs .bb-chart-arcs-gauge-max {
235
+ fill: #777; }
236
+ .bb-chart-arcs .bb-chart-arcs-title {
237
+ font-size: 16px !important;
238
+ fill: #8c8c8c;
239
+ font-style: italic; }
240
+ .bb-chart-arcs path.empty {
241
+ fill: #eaeaea;
242
+ stroke-width: 0; }
243
+ .bb-chart-arcs .bb-levels circle {
244
+ fill: none;
245
+ stroke: #848282;
246
+ stroke-width: .5px; }
247
+ .bb-chart-arcs .bb-levels text {
248
+ fill: #848282; }
245
249
 
246
250
  .bb-chart-arc .bb-gauge-value {
247
251
  fill: #8c8c8c;
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.3.3
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-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}
8
+ * @version 3.4.0
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}