billboard.js 3.10.0-next.6 → 3.10.1

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 (51) hide show
  1. package/dist/billboard.css +1 -1
  2. package/dist/billboard.js +65 -50
  3. package/dist/billboard.min.css +1 -1
  4. package/dist/billboard.min.js +2 -2
  5. package/dist/billboard.pkgd.js +67 -52
  6. package/dist/billboard.pkgd.min.js +4 -4
  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 +2 -2
  10. package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
  13. package/dist/plugin/billboardjs-plugin-tableview.js +3 -3
  14. package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
  15. package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
  16. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  17. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +2 -2
  18. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +2 -2
  19. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2 -2
  20. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +2 -2
  21. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2 -2
  22. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +2 -2
  23. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +3 -3
  24. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +2 -2
  25. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2 -2
  26. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +2 -2
  27. package/dist/theme/dark.css +1 -1
  28. package/dist/theme/dark.min.css +1 -1
  29. package/dist/theme/datalab.css +1 -1
  30. package/dist/theme/datalab.min.css +1 -1
  31. package/dist/theme/graph.css +1 -1
  32. package/dist/theme/graph.min.css +1 -1
  33. package/dist/theme/insight.css +1 -1
  34. package/dist/theme/insight.min.css +1 -1
  35. package/dist/theme/modern.css +1 -1
  36. package/dist/theme/modern.min.css +1 -1
  37. package/dist-esm/billboard.js +55 -50
  38. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  39. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
  40. package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
  41. package/dist-esm/plugin/billboardjs-plugin-tableview.js +3 -3
  42. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
  43. package/package.json +14 -14
  44. package/src/ChartInternal/Axis/Axis.ts +35 -18
  45. package/src/ChartInternal/ChartInternal.ts +1 -1
  46. package/src/ChartInternal/internals/clip.ts +4 -4
  47. package/src/ChartInternal/internals/size.axis.ts +10 -6
  48. package/src/ChartInternal/internals/size.ts +5 -3
  49. package/src/Plugin/tableview/Options.ts +1 -1
  50. package/src/config/Options/axis/y2.ts +0 -13
  51. package/src/config/Store/State.ts +4 -4
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.10.0-next.6
8
+ * @version 3.10.1
9
9
  */
10
10
  /*-- Chart --*/
11
11
  .bb svg {
package/dist/billboard.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.10.0-next.6
8
+ * @version 3.10.1
9
9
  */
10
10
  (function webpackUniversalModuleDefinition(root, factory) {
11
11
  if(typeof exports === 'object' && typeof module === 'object')
@@ -1601,19 +1601,22 @@ let State = function () {
1601
1601
  width: 0,
1602
1602
  height: 0,
1603
1603
  dataMax: 0,
1604
- maxTickWidths: {
1604
+ maxTickSize: {
1605
1605
  x: {
1606
- size: 0,
1606
+ width: 0,
1607
+ height: 0,
1607
1608
  ticks: [],
1608
1609
  clipPath: 0,
1609
1610
  domain: ""
1610
1611
  },
1611
1612
  y: {
1612
- size: 0,
1613
+ width: 0,
1614
+ height: 0,
1613
1615
  domain: ""
1614
1616
  },
1615
1617
  y2: {
1616
- size: 0,
1618
+ width: 0,
1619
+ height: 0,
1617
1620
  domain: ""
1618
1621
  }
1619
1622
  },
@@ -8659,16 +8662,17 @@ function getGroupedDataPointsFn(d) {
8659
8662
  getSvgLeft: function getSvgLeft(withoutRecompute) {
8660
8663
  const $$ = this,
8661
8664
  config = $$.config,
8665
+ hasAxis = $$.state.hasAxis,
8662
8666
  $el = $$.$el,
8663
8667
  isRotated = config.axis_rotated,
8664
8668
  hasLeftAxisRect = isRotated || !isRotated && !config.axis_y_inner,
8665
8669
  leftAxisClass = isRotated ? $AXIS.axisX : $AXIS.axisY,
8666
8670
  leftAxis = $el.main.select("." + leftAxisClass).node(),
8667
- leftLabel = config["axis_" + (isRotated ? "x" : "y") + "_label"];
8671
+ leftLabel = hasAxis && config["axis_" + (isRotated ? "x" : "y") + "_label"];
8668
8672
  let labelWidth = 0;
8669
8673
 
8670
8674
  // if axis label position set to inner, exclude from the value
8671
- if (isString(leftLabel) || isString(leftLabel.text) || /^inner-/.test(leftLabel == null ? void 0 : leftLabel.position)) {
8675
+ if (hasAxis && (isString(leftLabel) || isString(leftLabel.text) || /^inner-/.test(leftLabel == null ? void 0 : leftLabel.position))) {
8672
8676
  const label = $el.main.select("." + leftAxisClass + "-label");
8673
8677
  if (!label.empty()) {
8674
8678
  labelWidth = label.node().getBoundingClientRect().left;
@@ -10838,7 +10842,7 @@ let ChartInternal = /*#__PURE__*/function () {
10838
10842
  if (hasAxis || hasColorPatterns || hasPolar || hasTreemap || config.data_labels_backgroundColors) {
10839
10843
  $el.defs = $el.svg.append("defs");
10840
10844
  if (hasAxis) {
10841
- ["id", "idXAxis", "idYAxis", "idY2Axis", "idGrid"].forEach(function (v) {
10845
+ ["id", "idXAxis", "idYAxis", "idGrid"].forEach(function (v) {
10842
10846
  _newArrowCheck(this, _this3);
10843
10847
  $$.appendClip($el.defs, state.clip[v]);
10844
10848
  }.bind(this));
@@ -14641,7 +14645,7 @@ let Axis_Axis = /*#__PURE__*/function () {
14641
14645
  id === "x" && ($$.scale.zoom || $$.config.subchart_show || $$.state.resizing) ? !0 : noTransition);
14642
14646
  }
14643
14647
 
14644
- // called from : getMaxTickWidth()
14648
+ // called from : getMaxTickSize()
14645
14649
  ;
14646
14650
  _proto.getAxis = function getAxis(id, scale, outerTick, noTransition, noTickTextRotate) {
14647
14651
  var _this8 = this;
@@ -14868,7 +14872,8 @@ let Axis_Axis = /*#__PURE__*/function () {
14868
14872
  isRotated = config.axis_rotated,
14869
14873
  isInner = this.getAxisLabelPosition(id).isInner,
14870
14874
  tickRotate = config["axis_" + id + "_tick_rotate"] ? $$.getHorizontalAxisHeight(id) : 0,
14871
- maxTickWidth = this.getMaxTickWidth(id);
14875
+ _this$getMaxTickSize = this.getMaxTickSize(id),
14876
+ maxTickWidth = _this$getMaxTickSize.width;
14872
14877
  let dy;
14873
14878
  if (id === "x") {
14874
14879
  const xHeight = config.axis_x_height;
@@ -14901,8 +14906,16 @@ let Axis_Axis = /*#__PURE__*/function () {
14901
14906
  }
14902
14907
  }
14903
14908
  return dy;
14904
- };
14905
- _proto.getMaxTickWidth = function getMaxTickWidth(id, withoutRecompute) {
14909
+ }
14910
+
14911
+ /**
14912
+ * Get max tick size
14913
+ * @param {string} id axis id string
14914
+ * @param {boolean} withoutRecompute wheather or not to recompute
14915
+ * @returns {object} {width, height}
14916
+ * @private
14917
+ */;
14918
+ _proto.getMaxTickSize = function getMaxTickSize(id, withoutRecompute) {
14906
14919
  var _this11 = this;
14907
14920
  const $$ = this.owner,
14908
14921
  config = $$.config,
@@ -14910,10 +14923,13 @@ let Axis_Axis = /*#__PURE__*/function () {
14910
14923
  _$$$$el2 = $$.$el,
14911
14924
  svg = _$$$$el2.svg,
14912
14925
  chart = _$$$$el2.chart,
14913
- currentTickMax = current.maxTickWidths[id];
14914
- let maxWidth = 0;
14915
- if (withoutRecompute || !config["axis_" + id + "_show"] || currentTickMax.size > 0 && $$.filterTargetsToShow().length === 0) {
14916
- return currentTickMax.size;
14926
+ currentTickMax = current.maxTickSize[id],
14927
+ max = {
14928
+ width: 0,
14929
+ height: 0
14930
+ };
14931
+ if (withoutRecompute || !config["axis_" + id + "_show"] || currentTickMax.width > 0 && $$.filterTargetsToShow().length === 0) {
14932
+ return currentTickMax;
14917
14933
  }
14918
14934
  if (svg) {
14919
14935
  const isYAxis = /^y2?$/.test(id),
@@ -14953,19 +14969,26 @@ let Axis_Axis = /*#__PURE__*/function () {
14953
14969
  const dummy = chart.append("svg").style("visibility", "hidden").style("position", "fixed").style("top", "0").style("left", "0");
14954
14970
  axis.create(dummy);
14955
14971
  dummy.selectAll("text").each(function (d, i) {
14956
- const currentTextWidth = this.getBoundingClientRect().width;
14957
- maxWidth = Math.max(maxWidth, currentTextWidth);
14972
+ const _this$getBoundingClie = this.getBoundingClientRect(),
14973
+ width = _this$getBoundingClie.width,
14974
+ height = _this$getBoundingClie.height;
14975
+ max.width = Math.max(max.width, width);
14976
+ max.height = Math.max(max.height, height);
14977
+
14958
14978
  // cache tick text width for getXAxisTickTextY2Overflow()
14959
14979
  if (!isYAxis) {
14960
- currentTickMax.ticks[i] = currentTextWidth;
14980
+ currentTickMax.ticks[i] = width;
14961
14981
  }
14962
14982
  });
14963
14983
  dummy.remove();
14964
14984
  }
14965
- if (maxWidth > 0) {
14966
- currentTickMax.size = maxWidth;
14967
- }
14968
- return currentTickMax.size;
14985
+ Object.keys(max).forEach(function (key) {
14986
+ _newArrowCheck(this, _this11);
14987
+ if (max[key] > 0) {
14988
+ currentTickMax[key] = max[key];
14989
+ }
14990
+ }.bind(this));
14991
+ return currentTickMax;
14969
14992
  };
14970
14993
  _proto.getXAxisTickTextY2Overflow = function getXAxisTickTextY2Overflow(defaultPadding) {
14971
14994
  const $$ = this.owner,
@@ -14989,7 +15012,7 @@ let Axis_Axis = /*#__PURE__*/function () {
14989
15012
  config = $$.config,
14990
15013
  state = $$.state,
14991
15014
  isTimeSeries = axis.isTimeSeries(),
14992
- tickTextWidths = state.current.maxTickWidths.x.ticks,
15015
+ tickTextWidths = state.current.maxTickSize.x.ticks,
14993
15016
  tickCount = tickTextWidths.length,
14994
15017
  _state$axis$x$padding = state.axis.x.padding,
14995
15018
  left = _state$axis$x$padding.left,
@@ -15258,7 +15281,7 @@ let Axis_Axis = /*#__PURE__*/function () {
15258
15281
 
15259
15282
  // set/unset x_axis_tick_clippath
15260
15283
  if (type === "x") {
15261
- const clipPath = current.maxTickWidths.x.clipPath ? clip.pathXAxisTickTexts : null;
15284
+ const clipPath = current.maxTickSize.x.clipPath ? clip.pathXAxisTickTexts : null;
15262
15285
  $el.svg.selectAll("." + $AXIS.axisX + " .tick text").attr("clip-path", clipPath);
15263
15286
  }
15264
15287
  }
@@ -16170,13 +16193,13 @@ var external_commonjs_d3_ease_commonjs2_d3_ease_amd_d3_ease_root_d3_ = __webpack
16170
16193
  setXAxisTickClipWidth: function setXAxisTickClipWidth() {
16171
16194
  const $$ = this,
16172
16195
  config = $$.config,
16173
- maxTickWidths = $$.state.current.maxTickWidths,
16196
+ maxTickSize = $$.state.current.maxTickSize,
16174
16197
  xAxisTickRotate = $$.getAxisTickRotate("x");
16175
16198
  if (!config.axis_x_tick_multiline && xAxisTickRotate) {
16176
16199
  const sinRotation = Math.sin(Math.PI / 180 * Math.abs(xAxisTickRotate));
16177
- maxTickWidths.x.clipPath = ($$.getHorizontalAxisHeight("x") - 20) / sinRotation;
16200
+ maxTickSize.x.clipPath = ($$.getHorizontalAxisHeight("x") - 20) / sinRotation;
16178
16201
  } else {
16179
- maxTickWidths.x.clipPath = null;
16202
+ maxTickSize.x.clipPath = null;
16180
16203
  }
16181
16204
  },
16182
16205
  setXAxisTickTextClipPathWidth: function setXAxisTickTextClipPathWidth() {
@@ -16186,7 +16209,7 @@ var external_commonjs_d3_ease_commonjs2_d3_ease_amd_d3_ease_root_d3_ = __webpack
16186
16209
  current = _$$$state5.current,
16187
16210
  svg = $$.$el.svg;
16188
16211
  if (svg) {
16189
- svg.select("#" + clip.idXAxisTickTexts + " rect").attr("width", current.maxTickWidths.x.clipPath).attr("height", 30);
16212
+ svg.select("#" + clip.idXAxisTickTexts + " rect").attr("width", current.maxTickSize.x.clipPath).attr("height", 30);
16190
16213
  }
16191
16214
  }
16192
16215
  });
@@ -16765,7 +16788,8 @@ function smoothLines(el, type) {
16765
16788
  if ($$.axis) {
16766
16789
  var _$$$axis, _$$$config$padding;
16767
16790
  const position = (_$$$axis = $$.axis) == null ? void 0 : _$$$axis.getLabelPositionById(id),
16768
- width = $$.axis.getMaxTickWidth(id, withoutRecompute),
16791
+ _$$$axis$getMaxTickSi = $$.axis.getMaxTickSize(id, withoutRecompute),
16792
+ width = _$$$axis$getMaxTickSi.width,
16769
16793
  gap = width === 0 ? .5 : 0;
16770
16794
  return width + (((_$$$config$padding = $$.config.padding) == null ? void 0 : _$$$config$padding.mode) === "fit" ? position.isInner ? 10 + gap : 10 : position.isInner ? 20 + gap : 40);
16771
16795
  } else {
@@ -16799,16 +16823,18 @@ function smoothLines(el, type) {
16799
16823
  if (id === "y2" && !config.axis_y2_show) {
16800
16824
  return isFitPadding ? 0 : rotatedPadding.top;
16801
16825
  }
16802
- const rotate = $$.getAxisTickRotate(id);
16803
-
16826
+ const maxtickSize = $$.axis.getMaxTickSize(id),
16827
+ rotate = $$.getAxisTickRotate(id);
16804
16828
  // Calculate x/y axis height when tick rotated
16805
16829
  if ((id === "x" && !isRotated || /y2?/.test(id) && isRotated) && rotate) {
16806
- h = 30 + $$.axis.getMaxTickWidth(id) * Math.cos(Math.PI * (90 - Math.abs(rotate)) / 180);
16830
+ h += maxtickSize.width * Math.cos(Math.PI * (90 - Math.abs(rotate)) / 180);
16807
16831
  if (!config.axis_x_tick_multiline && current.height) {
16808
16832
  if (h > current.height / 2) {
16809
16833
  h = current.height / 2;
16810
16834
  }
16811
16835
  }
16836
+ } else if (maxtickSize.height > 13 && config.legend_show) {
16837
+ h += maxtickSize.height - 13;
16812
16838
  }
16813
16839
  return h + ($$.axis.getLabelPositionById(id).isInner ? 0 : 10) + (id === "y2" && !isRotated ? -10 : 0);
16814
16840
  },
@@ -16837,7 +16863,7 @@ function smoothLines(el, type) {
16837
16863
  const allowedXAxisTypes = axis.isCategorized() || axis.isTimeSeries();
16838
16864
  if (config.axis_x_tick_fit && allowedXAxisTypes) {
16839
16865
  const xTickCount = config.axis_x_tick_count,
16840
- currentXTicksLength = state.current.maxTickWidths.x.ticks.length;
16866
+ currentXTicksLength = state.current.maxTickSize.x.ticks.length;
16841
16867
  let tickCount = 0;
16842
16868
  if (xTickCount) {
16843
16869
  tickCount = xTickCount > currentXTicksLength ? currentXTicksLength : xTickCount;
@@ -16868,9 +16894,10 @@ function smoothLines(el, type) {
16868
16894
  current = _$$$state.current,
16869
16895
  xAxisLength = current.width - $$.getCurrentPaddingByDirection("left") - $$.getCurrentPaddingByDirection("right"),
16870
16896
  tickCountWithPadding = axis.x.tickCount + axis.x.padding.left + axis.x.padding.right,
16871
- maxTickWidth = $$.axis.getMaxTickWidth("x"),
16897
+ _$$$axis$getMaxTickSi2 = $$.axis.getMaxTickSize("x"),
16898
+ width = _$$$axis$getMaxTickSi2.width,
16872
16899
  tickLength = tickCountWithPadding ? xAxisLength / tickCountWithPadding : 0;
16873
- return maxTickWidth > tickLength;
16900
+ return width > tickLength;
16874
16901
  }
16875
16902
  });
16876
16903
  ;// CONCATENATED MODULE: ./src/config/Options/data/axis.ts
@@ -18197,18 +18224,6 @@ function smoothLines(el, type) {
18197
18224
  * y2 Axis config options
18198
18225
  */
18199
18226
  /* harmony default export */ var y2 = ({
18200
- /**
18201
- * Set clip-path attribute for y2 axis element
18202
- * - **NOTE**: `clip-path` attribute for y2 Axis is set only when `axis.y2.inner` option is true.
18203
- * @name axis․y2․clipPath
18204
- * @memberof Options
18205
- * @type {boolean}
18206
- * @default true
18207
- * @example
18208
- * // don't set 'clip-path' attribute
18209
- * clipPath: false
18210
- */
18211
- axis_y2_clipPath: !0,
18212
18227
  /**
18213
18228
  * Show or hide y2 axis.
18214
18229
  * - **NOTE**:
@@ -25528,7 +25543,7 @@ let _defaults = {};
25528
25543
 
25529
25544
  /**
25530
25545
  * @namespace bb
25531
- * @version 3.10.0-next.6
25546
+ * @version 3.10.1
25532
25547
  */
25533
25548
  const bb = {
25534
25549
  /**
@@ -25538,7 +25553,7 @@ const bb = {
25538
25553
  * bb.version; // "1.0.0"
25539
25554
  * @memberof bb
25540
25555
  */
25541
- version: "3.10.0-next.6",
25556
+ version: "3.10.1",
25542
25557
  /**
25543
25558
  * Generate chart
25544
25559
  * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
@@ -5,5 +5,5 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.10.0-next.6
8
+ * @version 3.10.1
9
9
  */.bb svg{-webkit-tap-highlight-color:rgba(0,0,0,0);font:10px sans-serif}.bb line,.bb path{fill:none;stroke:#000}.bb .bb-button,.bb text{-webkit-user-select:none;-moz-user-select:none;user-select:none}.bb-legend-item-tile,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.bb-chart-arc .bb-gauge-value,.bb-chart-arcs .bb-needle{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-axis{shape-rendering:crispEdges}.bb-grid{pointer-events:none}.bb-grid line{stroke:#aaa}.bb-grid text{fill:#aaa}.bb-xgrid,.bb-ygrid{stroke-dasharray:3 3}.bb-text.bb-empty{fill:grey;font-size:2em}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:1px;stroke:#fff}.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 rect{fill:#4682b4;fill-opacity:.1}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{font-size:12px;user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1;opacity:.75}.bb-title{font:14px sans-serif}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{user-select:none;z-index:10}.bb-tooltip{background-color:#fff;border-collapse:collapse;border-spacing:0;box-shadow:7px 7px 12px -9px #777;empty-cells:show;opacity:.9;white-space:nowrap}.bb-tooltip tr{border:1px solid #ccc}.bb-tooltip th{background-color:#aaa;color:#fff;font-size:14px;padding:2px 5px;text-align:left}.bb-tooltip td{background-color:#fff;border-left:1px dotted #999;font-size:13px;padding:3px 6px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;height:10px;margin-right:6px;width:10px}.bb-tooltip.value{text-align:right}.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-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.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;font-size:11px;padding:5px}