billboard.js 3.5.1 → 3.6.0-next.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.
- package/README.md +11 -1
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +57 -28
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +2288 -2094
- package/dist/billboard.pkgd.min.js +3 -3
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +2233 -2068
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +2234 -2069
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +2242 -2077
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +2236 -2071
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +2237 -2072
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist-esm/billboard.js +55 -25
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +28 -26
- package/src/Chart/api/group.ts +1 -1
- package/src/ChartInternal/Axis/AxisRenderer.ts +2 -2
- package/src/ChartInternal/ChartInternal.ts +2 -2
- package/src/ChartInternal/data/convert.ts +1 -1
- package/src/ChartInternal/internals/color.ts +4 -1
- package/src/ChartInternal/internals/grid.ts +0 -1
- package/src/ChartInternal/internals/legend.ts +3 -2
- package/src/ChartInternal/shape/arc.ts +1 -1
- package/src/ChartInternal/shape/line.ts +5 -1
- package/src/ChartInternal/shape/shape.ts +14 -6
- package/src/config/Options/common/grid.ts +2 -2
- package/src/config/Options/common/legend.ts +3 -2
- package/src/config/Options/data/data.ts +18 -0
- package/types/axis.d.ts +17 -2
- package/types/index.d.ts +1 -0
- package/types/options.d.ts +9 -0
package/README.md
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
<img src="https://naver.github.io/billboard.js/img/logo/billboard.js.svg" width="350" alt="billboard.js"><br>
|
|
4
4
|
</picture>
|
|
5
5
|
|
|
6
|
-
[![Latest Version][badge-latest]][link-version] [![Next version][badge-next]][link-version] [![
|
|
6
|
+
[![Latest Version][badge-latest]][link-version] [![Next version][badge-next]][link-version] [![bb][badge-@billboard.js/react]][link-@billboard.js/react]<br>
|
|
7
|
+
[![semantic-release][badge-semantic-release]][link-semantic-release] ![React][badge-react]
|
|
7
8
|
|
|
8
9
|
![CI Status][badge-ci-status] [![Coverage Status][badge-coverage]][link-coverage] [![Known Vulnerabilities][badge-snyk]][link-snyk]
|
|
9
10
|
[![download][badge-download]][link-download] [![jsDelivr][badge-jsDelivr]][link-jsDelivr] [![gzip size][badge-gzip-size]][link-gzip-size]
|
|
@@ -139,6 +140,12 @@ $ npm install billboard.js@next --save
|
|
|
139
140
|
$ npm install billboard.js
|
|
140
141
|
```
|
|
141
142
|
|
|
143
|
+
### Packages
|
|
144
|
+
|
|
145
|
+
Name | For | Description
|
|
146
|
+
:---: | :---:| :---:
|
|
147
|
+
[![bb][badge-@billboard.js/react]][link-@billboard.js/react] | ![React][badge-react] | React component for billboard.js
|
|
148
|
+
|
|
142
149
|
### Using CDN
|
|
143
150
|
|
|
144
151
|
If you want to use 'billboard.js' without installation, load files directly from one of the CDN providers.
|
|
@@ -344,6 +351,8 @@ THE SOFTWARE.
|
|
|
344
351
|
[badge-latest]: https://img.shields.io/npm/v/billboard.js/latest.svg
|
|
345
352
|
[badge-next]: https://img.shields.io/npm/v/billboard.js/next.svg
|
|
346
353
|
[badge-semantic-release]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
|
354
|
+
[badge-react]: https://img.shields.io/badge/React-20232A?style=flat&logo=react&logoColor=fff&labelColor=grey&color=62d9fb
|
|
355
|
+
[badge-@billboard.js/react]: https://img.shields.io/npm/v/@billboard.js/react?style=flat&labelColor=grey&label=%40billboard.js%2Freact
|
|
347
356
|
|
|
348
357
|
<!-- links -->
|
|
349
358
|
[link-download]: https://npm-stat.com/charts.html?package=billboard.js&from=2017-06-08
|
|
@@ -353,5 +362,6 @@ THE SOFTWARE.
|
|
|
353
362
|
[link-snyk]: https://snyk.io/test/github/naver/billboard.js?targetFile=package.json
|
|
354
363
|
[link-gzip-size]: https://unpkg.com/billboard.js/dist/billboard.min.js
|
|
355
364
|
[link-semantic-release]: https://github.com/semantic-release/semantic-release
|
|
365
|
+
[link-@billboard.js/react]: https://www.npmjs.com/package/@billboard.js/react
|
|
356
366
|
|
|
357
367
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fnaver%2Fbillboard.js?ref=badge_large)
|
package/dist/billboard.css
CHANGED
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.
|
|
8
|
+
* @version 3.6.0-next.1
|
|
9
9
|
*/
|
|
10
10
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
11
11
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -2529,6 +2529,24 @@ var data_this = undefined;
|
|
|
2529
2529
|
*/
|
|
2530
2530
|
data_groups: [],
|
|
2531
2531
|
|
|
2532
|
+
/**
|
|
2533
|
+
* Set how zero value will be treated on groups.<br>
|
|
2534
|
+
* Possible values:
|
|
2535
|
+
* - `zero`: 0 will be positioned at absolute axis zero point.
|
|
2536
|
+
* - `positive`: 0 will be positioned at the top of a stack.
|
|
2537
|
+
* - `negative`: 0 will be positioned at the bottom of a stack.
|
|
2538
|
+
* @name data․groupsZeroAs
|
|
2539
|
+
* @memberof Options
|
|
2540
|
+
* @type {string}
|
|
2541
|
+
* @default "positive"
|
|
2542
|
+
* @see [Demo](https://naver.github.io/billboard.js/demo/#Data.Groups)
|
|
2543
|
+
* @example
|
|
2544
|
+
* data: {
|
|
2545
|
+
* groupsZeroAs: "zero" // "positive" or "negative"
|
|
2546
|
+
* }
|
|
2547
|
+
*/
|
|
2548
|
+
data_groupsZeroAs: "positive",
|
|
2549
|
+
|
|
2532
2550
|
/**
|
|
2533
2551
|
* Set color converter function.<br><br>
|
|
2534
2552
|
* This option should a function and the specified function receives color (e.g. '#ff0000') and d that has data parameters like id, value, index, etc. And it must return a string that represents color (e.g. '#00ff00').
|
|
@@ -3272,7 +3290,8 @@ var data_this = undefined;
|
|
|
3272
3290
|
* @property {boolean} [legend.hide=false] Hide legend
|
|
3273
3291
|
* If true given, all legend will be hidden. If string or array given, only the legend that has the id will be hidden.
|
|
3274
3292
|
* @property {string|HTMLElement} [legend.contents.bindto=undefined] Set CSS selector or element reference to bind legend items.
|
|
3275
|
-
*
|
|
3293
|
+
* - **NOTE:** Should be used along with `legend.contents.template`.
|
|
3294
|
+
* @property {string|Function} [legend.contents.template="<span style='color:#fff;padding:5px;background-color:{=COLOR}'>{=TITLE}</span>"] Set item's template.<br>
|
|
3276
3295
|
* - If set `string` value, within template the 'color' and 'title' can be replaced using template-like syntax string:
|
|
3277
3296
|
* - {=COLOR}: data color value
|
|
3278
3297
|
* - {=TITLE}: data title value
|
|
@@ -3350,7 +3369,7 @@ var data_this = undefined;
|
|
|
3350
3369
|
legend_show: !0,
|
|
3351
3370
|
legend_hide: !1,
|
|
3352
3371
|
legend_contents_bindto: undefined,
|
|
3353
|
-
legend_contents_template:
|
|
3372
|
+
legend_contents_template: "<span style='color:#fff;padding:5px;background-color:{=COLOR}'>{=TITLE}</span>",
|
|
3354
3373
|
legend_position: "bottom",
|
|
3355
3374
|
legend_inset_anchor: "top-left",
|
|
3356
3375
|
legend_inset_x: 10,
|
|
@@ -4496,7 +4515,8 @@ function getDataKeyForJson(keysParam, config) {
|
|
|
4496
4515
|
}.bind(this)); // finish targets
|
|
4497
4516
|
|
|
4498
4517
|
targets.forEach(function (t) {
|
|
4499
|
-
var _this5 = this
|
|
4518
|
+
var _this5 = this,
|
|
4519
|
+
_$$$data$xs$t$id;
|
|
4500
4520
|
|
|
4501
4521
|
_newArrowCheck(this, _this2);
|
|
4502
4522
|
|
|
@@ -4518,7 +4538,7 @@ function getDataKeyForJson(keysParam, config) {
|
|
|
4518
4538
|
return v.index = i;
|
|
4519
4539
|
}.bind(this)); // this needs to be sorted because its index and value.index is identical
|
|
4520
4540
|
|
|
4521
|
-
$$.data.xs[t.id].sort(function (v1, v2) {
|
|
4541
|
+
(_$$$data$xs$t$id = $$.data.xs[t.id]) == null ? void 0 : _$$$data$xs$t$id.sort(function (v1, v2) {
|
|
4522
4542
|
_newArrowCheck(this, _this5);
|
|
4523
4543
|
|
|
4524
4544
|
return v1 - v2;
|
|
@@ -7692,8 +7712,9 @@ function getFormat($$, typeValue, v) {
|
|
|
7692
7712
|
var getColor = function (id) {
|
|
7693
7713
|
_newArrowCheck(this, _this4);
|
|
7694
7714
|
|
|
7695
|
-
var data = $$.getDataById(id)
|
|
7696
|
-
|
|
7715
|
+
var data = $$.getDataById(id),
|
|
7716
|
+
color = $$.levelColor ? $$.levelColor(data.values[0].value) : $$.color(data);
|
|
7717
|
+
return color;
|
|
7697
7718
|
}.bind(this),
|
|
7698
7719
|
usePoint = config.legend_usePoint;
|
|
7699
7720
|
|
|
@@ -8666,7 +8687,8 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
8666
8687
|
$$ = this,
|
|
8667
8688
|
_$$$getShapeOffsetDat = $$.getShapeOffsetData(typeFilter),
|
|
8668
8689
|
shapeOffsetTargets = _$$$getShapeOffsetDat.shapeOffsetTargets,
|
|
8669
|
-
indexMapByTargetId = _$$$getShapeOffsetDat.indexMapByTargetId
|
|
8690
|
+
indexMapByTargetId = _$$$getShapeOffsetDat.indexMapByTargetId,
|
|
8691
|
+
groupsZeroAs = $$.config.data_groupsZeroAs;
|
|
8670
8692
|
|
|
8671
8693
|
return function (d, idx) {
|
|
8672
8694
|
var _this10 = this;
|
|
@@ -8684,13 +8706,13 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
8684
8706
|
return scale(value[0]);
|
|
8685
8707
|
}
|
|
8686
8708
|
|
|
8687
|
-
var
|
|
8688
|
-
|
|
8709
|
+
var dataXAsNumber = +x,
|
|
8710
|
+
y0 = scale(groupsZeroAs === "zero" ? 0 : $$.getShapeYMin(id)),
|
|
8689
8711
|
offset = y0;
|
|
8690
8712
|
shapeOffsetTargets.filter(function (t) {
|
|
8691
8713
|
_newArrowCheck(this, _this10);
|
|
8692
8714
|
|
|
8693
|
-
return t.id !== id;
|
|
8715
|
+
return t.id !== id && ind[t.id] === ind[id];
|
|
8694
8716
|
}.bind(this)).forEach(function (t) {
|
|
8695
8717
|
_newArrowCheck(this, _this10);
|
|
8696
8718
|
|
|
@@ -8699,8 +8721,9 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
8699
8721
|
rowValues = t.rowValues,
|
|
8700
8722
|
tvalues = t.values; // for same stacked group (ind[tid] === ind[id])
|
|
8701
8723
|
|
|
8702
|
-
if (
|
|
8724
|
+
if (indexMapByTargetId[tid] < indexMapByTargetId[id]) {
|
|
8703
8725
|
var _row,
|
|
8726
|
+
rValue = tvalues[dataXAsNumber],
|
|
8704
8727
|
row = rowValues[idx];
|
|
8705
8728
|
|
|
8706
8729
|
// check if the x values line up
|
|
@@ -8708,8 +8731,12 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
8708
8731
|
row = rowValueMapByXValue[dataXAsNumber];
|
|
8709
8732
|
}
|
|
8710
8733
|
|
|
8711
|
-
if (((_row = row) == null ? void 0 : _row.value) * value >= 0 && isNumber(
|
|
8712
|
-
|
|
8734
|
+
if (((_row = row) == null ? void 0 : _row.value) * value >= 0 && isNumber(rValue)) {
|
|
8735
|
+
var addOffset = value === 0 ? groupsZeroAs === "positive" && rValue > 0 || groupsZeroAs === "negative" && rValue < 0 : !0;
|
|
8736
|
+
|
|
8737
|
+
if (addOffset) {
|
|
8738
|
+
offset += scale(rValue) - y0;
|
|
8739
|
+
}
|
|
8713
8740
|
}
|
|
8714
8741
|
}
|
|
8715
8742
|
}.bind(this));
|
|
@@ -11478,15 +11505,15 @@ var ChartInternal = /*#__PURE__*/function () {
|
|
|
11478
11505
|
|
|
11479
11506
|
$$.updateTargetsForSubchart && $$.updateTargetsForSubchart(targets); // Arc, Polar, Radar
|
|
11480
11507
|
} else if ($$.hasArcType(targets)) {
|
|
11481
|
-
var
|
|
11508
|
+
var type = "Arc";
|
|
11482
11509
|
|
|
11483
11510
|
if (hasRadar) {
|
|
11484
|
-
|
|
11511
|
+
type = "Radar";
|
|
11485
11512
|
} else if ($$.hasType("polar")) {
|
|
11486
|
-
|
|
11513
|
+
type = "Polar";
|
|
11487
11514
|
}
|
|
11488
11515
|
|
|
11489
|
-
helper(
|
|
11516
|
+
helper(type);
|
|
11490
11517
|
} // Point types
|
|
11491
11518
|
|
|
11492
11519
|
|
|
@@ -14519,12 +14546,13 @@ var AxisRenderer = /*#__PURE__*/function () {
|
|
|
14519
14546
|
;
|
|
14520
14547
|
|
|
14521
14548
|
_proto.getGeneratedTicks = function getGeneratedTicks(count) {
|
|
14522
|
-
var
|
|
14523
|
-
len = this.generatedTicks.length - 1,
|
|
14524
|
-
res = this.generatedTicks
|
|
14549
|
+
var _this$generatedTicks,
|
|
14550
|
+
len = ((_this$generatedTicks = this.generatedTicks) == null ? void 0 : _this$generatedTicks.length) - 1,
|
|
14551
|
+
res = this.generatedTicks,
|
|
14552
|
+
_this3 = this;
|
|
14525
14553
|
|
|
14526
14554
|
if (len > count) {
|
|
14527
|
-
var interval = Math.round(len / count
|
|
14555
|
+
var interval = Math.round(len / count + .1);
|
|
14528
14556
|
res = this.generatedTicks.map(function (v, i) {
|
|
14529
14557
|
_newArrowCheck(this, _this3);
|
|
14530
14558
|
|
|
@@ -19391,7 +19419,7 @@ function axis_objectSpread(target) { for (var i = 1, source; i < arguments.lengt
|
|
|
19391
19419
|
* @property {boolean} [y.show=false] Show grids along x axis.
|
|
19392
19420
|
* @property {Array} [y.lines=[]] Show additional grid lines along y axis.<br>
|
|
19393
19421
|
* This option accepts array including object that has value, text, position and class.
|
|
19394
|
-
* @property {number} [y.ticks=
|
|
19422
|
+
* @property {number} [y.ticks=undefined] Number of y grids to be shown.
|
|
19395
19423
|
* @property {object} focus Grid focus object
|
|
19396
19424
|
* @property {boolean} [focus.edge=false] Show edged focus grid line.<br>**NOTE:** Available when [`tooltip.grouped=false`](#.tooltip) option is set.
|
|
19397
19425
|
* @property {boolean} [focus.show=true] Show grid line when focus.
|
|
@@ -19439,7 +19467,7 @@ function axis_objectSpread(target) { for (var i = 1, source; i < arguments.lengt
|
|
|
19439
19467
|
grid_x_lines: [],
|
|
19440
19468
|
grid_y_show: !1,
|
|
19441
19469
|
grid_y_lines: [],
|
|
19442
|
-
grid_y_ticks:
|
|
19470
|
+
grid_y_ticks: undefined,
|
|
19443
19471
|
grid_focus_edge: !1,
|
|
19444
19472
|
grid_focus_show: !0,
|
|
19445
19473
|
grid_focus_y: !1,
|
|
@@ -19525,7 +19553,7 @@ var external_commonjs_d3_interpolate_commonjs2_d3_interpolate_amd_d3_interpolate
|
|
|
19525
19553
|
w = config.gauge_width || config.donut_width,
|
|
19526
19554
|
gaugeArcWidth = $$.filterTargetsToShow($$.data.targets).length * config.gauge_arcs_minWidth;
|
|
19527
19555
|
// determine radius
|
|
19528
|
-
state.radiusExpanded = Math.min(state.arcWidth, state.arcHeight) / 2 * ($$.hasMultiArcGauge() ? .85 : 1);
|
|
19556
|
+
state.radiusExpanded = Math.min(state.arcWidth, state.arcHeight) / 2 * ($$.hasMultiArcGauge() && config.gauge_label_show ? .85 : 1);
|
|
19529
19557
|
state.radius = state.radiusExpanded * .95;
|
|
19530
19558
|
state.innerRadiusRatio = w ? (state.radius - w) / state.radius : .6;
|
|
19531
19559
|
state.gaugeArcWidth = w || (gaugeArcWidth <= state.radius - state.innerRadius ? state.radius - state.innerRadius : gaugeArcWidth <= state.radius ? gaugeArcWidth : state.radius);
|
|
@@ -21267,7 +21295,8 @@ function candlestick_objectSpread(target) { for (var i = 1, source; i < argument
|
|
|
21267
21295
|
mainLineEnter.append("g").attr("class", classLines); // Areas
|
|
21268
21296
|
|
|
21269
21297
|
if ($$.hasTypeOf("Area")) {
|
|
21270
|
-
|
|
21298
|
+
var mainLine = (!area && mainLineEnter.empty() ? mainLineUpdate : mainLineEnter).filter($$.isAreaType.bind($$));
|
|
21299
|
+
$$.initArea(mainLine);
|
|
21271
21300
|
}
|
|
21272
21301
|
|
|
21273
21302
|
$$.updateTargetForCircle(targets, mainLineEnter);
|
|
@@ -25936,7 +25965,7 @@ var _defaults = {},
|
|
|
25936
25965
|
* bb.version; // "1.0.0"
|
|
25937
25966
|
* @memberof bb
|
|
25938
25967
|
*/
|
|
25939
|
-
version: "3.
|
|
25968
|
+
version: "3.6.0-next.1",
|
|
25940
25969
|
|
|
25941
25970
|
/**
|
|
25942
25971
|
* Generate chart
|
|
@@ -26071,7 +26100,7 @@ var _defaults = {},
|
|
|
26071
26100
|
};
|
|
26072
26101
|
/**
|
|
26073
26102
|
* @namespace bb
|
|
26074
|
-
* @version 3.
|
|
26103
|
+
* @version 3.6.0-next.1
|
|
26075
26104
|
*/
|
|
26076
26105
|
;// CONCATENATED MODULE: ./src/index.ts
|
|
26077
26106
|
|
package/dist/billboard.min.css
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.
|
|
8
|
+
* @version 3.6.0-next.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-bars path,.bb-event-rect,.bb-legend-item-tile,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.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-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{fill:#4682b4}.bb-brush .extent,.bb-region,.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-tooltip-container{user-select:none;z-index:10}.bb-tooltip{background-color:#fff;border-collapse:collapse;border-spacing:0;-webkit-box-shadow:7px 7px 12px -9px #777;-moz-box-shadow:7px 7px 12px -9px #777;box-shadow:7px 7px 12px -9px #777;empty-cells:show;opacity:.9}.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}
|