billboard.js 3.3.0-next.1 → 3.3.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +139 -29
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +1600 -1391
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.d.ts +7 -0
- 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.d.ts +7 -0
- package/dist/plugin/billboardjs-plugin-sparkline.js +4 -4
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.d.ts +7 -0
- 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.d.ts +7 -0
- 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.d.ts +7 -0
- 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 +1463 -1364
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +1466 -1367
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +1465 -1366
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +1466 -1367
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +1466 -1367
- 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 +131 -29
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.d.ts +7 -0
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.d.ts +7 -0
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +4 -4
- package/dist-esm/plugin/billboardjs-plugin-stanford.d.ts +7 -0
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.d.ts +7 -0
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.d.ts +7 -0
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +17 -16
- package/src/Chart/api/data.ts +3 -4
- package/src/ChartInternal/Axis/Axis.ts +13 -7
- package/src/ChartInternal/data/IData.ts +9 -0
- package/src/ChartInternal/data/data.ts +1 -1
- package/src/ChartInternal/shape/arc.ts +2 -0
- package/src/ChartInternal/shape/bar.ts +4 -2
- package/src/ChartInternal/shape/radar.ts +2 -0
- package/src/ChartInternal/shape/shape.ts +39 -9
- package/src/Plugin/sparkline/index.ts +2 -2
- package/src/config/Options/axis/x.ts +25 -5
- package/src/config/Options/axis/y.ts +24 -3
- package/src/config/Options/axis/y2.ts +24 -3
- package/src/config/Options/shape/bar.ts +8 -0
- package/types/axis.d.ts +18 -4
- package/types/options.d.ts +32 -32
- package/types/plugin/tableview/index.d.ts +3 -3
- package/types/plugin/tableview/options.d.ts +1 -1
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.3.0-next.
|
|
8
|
+
* @version 3.3.0-next.2
|
|
9
9
|
*/
|
|
10
10
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
11
11
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -4024,7 +4024,7 @@ var external_commonjs_d3_dsv_commonjs2_d3_dsv_amd_d3_dsv_root_d3_ = __webpack_re
|
|
|
4024
4024
|
|
|
4025
4025
|
if (filterNull) {
|
|
4026
4026
|
value = value.filter(function (v) {
|
|
4027
|
-
return isValue(v.value);
|
|
4027
|
+
return v && "value" in v && isValue(v.value);
|
|
4028
4028
|
});
|
|
4029
4029
|
}
|
|
4030
4030
|
|
|
@@ -7269,6 +7269,20 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
7269
7269
|
|
|
7270
7270
|
return shape;
|
|
7271
7271
|
},
|
|
7272
|
+
|
|
7273
|
+
/**
|
|
7274
|
+
* Get shape's indices according it's position
|
|
7275
|
+
*
|
|
7276
|
+
* From the below example, indices will be:
|
|
7277
|
+
* ==> {data1: 0, data2: 0, data3: 1, data4: 1, __max__: 1}
|
|
7278
|
+
*
|
|
7279
|
+
* data1 data3 data1 data3
|
|
7280
|
+
* data2 data4 data2 data4
|
|
7281
|
+
* -------------------------
|
|
7282
|
+
* 0 1
|
|
7283
|
+
* @param {Function} typeFilter Chart type filter function
|
|
7284
|
+
* @returns {object} Indices object with its position
|
|
7285
|
+
*/
|
|
7272
7286
|
getShapeIndices: function getShapeIndices(typeFilter) {
|
|
7273
7287
|
var $$ = this,
|
|
7274
7288
|
config = $$.config,
|
|
@@ -7314,12 +7328,30 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
7314
7328
|
/**
|
|
7315
7329
|
* Get indices value based on data ID value
|
|
7316
7330
|
* @param {object} indices Indices object
|
|
7317
|
-
* @param {
|
|
7331
|
+
* @param {object} d Data row
|
|
7332
|
+
* @param {string} caller Caller function name (Used only for 'sparkline' plugin)
|
|
7318
7333
|
* @returns {object} Indices object
|
|
7319
7334
|
* @private
|
|
7320
7335
|
*/
|
|
7321
|
-
getIndices: function getIndices(indices,
|
|
7322
|
-
|
|
7336
|
+
getIndices: function getIndices(indices, d) {
|
|
7337
|
+
// eslint-disable-line
|
|
7338
|
+
var $$ = this,
|
|
7339
|
+
_$$$config = $$.config,
|
|
7340
|
+
xs = _$$$config.data_xs,
|
|
7341
|
+
removeNull = _$$$config.bar_indices_removeNull,
|
|
7342
|
+
id = d.id,
|
|
7343
|
+
index = d.index;
|
|
7344
|
+
|
|
7345
|
+
if ($$.isBarType(id) && removeNull) {
|
|
7346
|
+
var ind = {}; // redefine bar indices order
|
|
7347
|
+
|
|
7348
|
+
$$.getAllValuesOnIndex(index, !0).forEach(function (v, i) {
|
|
7349
|
+
ind[v.id] = i;
|
|
7350
|
+
ind.__max__ = i;
|
|
7351
|
+
});
|
|
7352
|
+
return ind;
|
|
7353
|
+
}
|
|
7354
|
+
|
|
7323
7355
|
return notEmpty(xs) ? indices[xs[id]] : indices;
|
|
7324
7356
|
},
|
|
7325
7357
|
|
|
@@ -7349,7 +7381,7 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
7349
7381
|
halfWidth = isObjectType(offset) && (offset._$total.length ? offset._$total.reduce(sum) / 2 : 0);
|
|
7350
7382
|
|
|
7351
7383
|
return function (d) {
|
|
7352
|
-
var ind = $$.getIndices(indices, d
|
|
7384
|
+
var ind = $$.getIndices(indices, d, "getShapeX"),
|
|
7353
7385
|
index = d.id in ind ? ind[d.id] : 0,
|
|
7354
7386
|
targetsNum = (ind.__max__ || 0) + 1,
|
|
7355
7387
|
x = 0;
|
|
@@ -7467,7 +7499,7 @@ var external_commonjs_d3_shape_commonjs2_d3_shape_amd_d3_shape_root_d3_ = __webp
|
|
|
7467
7499
|
var id = d.id,
|
|
7468
7500
|
value = d.value,
|
|
7469
7501
|
x = d.x,
|
|
7470
|
-
ind = $$.getIndices(indices,
|
|
7502
|
+
ind = $$.getIndices(indices, d),
|
|
7471
7503
|
scale = $$.getYScaleById(id, isSub);
|
|
7472
7504
|
|
|
7473
7505
|
if ($$.isBarRangeType(d)) {
|
|
@@ -13816,13 +13848,15 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
13816
13848
|
["subX", "x", "y", "y2"].forEach(function (type) {
|
|
13817
13849
|
var axis = $el.axis[type],
|
|
13818
13850
|
id = type === "subX" ? "x" : type,
|
|
13819
|
-
|
|
13851
|
+
cullingOptionPrefix = "axis_" + id + "_tick_culling",
|
|
13852
|
+
toCull = config[cullingOptionPrefix]; // subchart x axis should be aligned with x axis culling
|
|
13820
13853
|
|
|
13821
13854
|
if (axis && toCull) {
|
|
13822
|
-
var
|
|
13823
|
-
tickValues = sortValue(
|
|
13855
|
+
var tickNodes = axis.selectAll(".tick"),
|
|
13856
|
+
tickValues = sortValue(tickNodes.data()),
|
|
13824
13857
|
tickSize = tickValues.length,
|
|
13825
|
-
cullingMax = config[
|
|
13858
|
+
cullingMax = config[cullingOptionPrefix + "_max"],
|
|
13859
|
+
lines = config[cullingOptionPrefix + "_lines"],
|
|
13826
13860
|
intervalForCulling;
|
|
13827
13861
|
|
|
13828
13862
|
if (tickSize) {
|
|
@@ -13833,11 +13867,13 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
13833
13867
|
}
|
|
13834
13868
|
}
|
|
13835
13869
|
|
|
13836
|
-
|
|
13837
|
-
|
|
13870
|
+
tickNodes.each(function (d) {
|
|
13871
|
+
if (tickValues.indexOf(d) % intervalForCulling) {
|
|
13872
|
+
(lines ? this.querySelector("text") : this).style.display = "none";
|
|
13873
|
+
}
|
|
13838
13874
|
});
|
|
13839
13875
|
} else {
|
|
13840
|
-
|
|
13876
|
+
tickNodes.style("display", null);
|
|
13841
13877
|
} // set/unset x_axis_tick_clippath
|
|
13842
13878
|
|
|
13843
13879
|
|
|
@@ -15648,15 +15684,16 @@ function smoothLines(el, type) {
|
|
|
15648
15684
|
axis_x_tick_format: undefined,
|
|
15649
15685
|
|
|
15650
15686
|
/**
|
|
15651
|
-
* Setting for culling ticks
|
|
15652
|
-
*
|
|
15653
|
-
*
|
|
15687
|
+
* Setting for culling ticks.
|
|
15688
|
+
* - `true`: the ticks will be culled, then only limited tick text will be shown.<br>
|
|
15689
|
+
* This option does not hide the tick lines by default, if want to hide tick lines, set `axis.x.tick.culling.lines=false`.
|
|
15690
|
+
* - `false`: all of ticks will be shown.<br><br>
|
|
15691
|
+
* The number of ticks to be shown can be chaned by `axis.x.tick.culling.max`.
|
|
15654
15692
|
* @name axis․x․tick․culling
|
|
15655
15693
|
* @memberof Options
|
|
15656
15694
|
* @type {boolean}
|
|
15657
15695
|
* @default
|
|
15658
|
-
*
|
|
15659
|
-
* - false for category axis
|
|
15696
|
+
* `true` for indexed axis and timeseries axis, `false` for category axis
|
|
15660
15697
|
* @example
|
|
15661
15698
|
* axis: {
|
|
15662
15699
|
* x: {
|
|
@@ -15687,6 +15724,25 @@ function smoothLines(el, type) {
|
|
|
15687
15724
|
*/
|
|
15688
15725
|
axis_x_tick_culling_max: 10,
|
|
15689
15726
|
|
|
15727
|
+
/**
|
|
15728
|
+
* Control visibility of tick lines within culling option, along with tick text.
|
|
15729
|
+
* @name axis․x․tick․culling․lines
|
|
15730
|
+
* @memberof Options
|
|
15731
|
+
* @type {boolean}
|
|
15732
|
+
* @default true
|
|
15733
|
+
* @example
|
|
15734
|
+
* axis: {
|
|
15735
|
+
* x: {
|
|
15736
|
+
* tick: {
|
|
15737
|
+
* culling: {
|
|
15738
|
+
* lines: false,
|
|
15739
|
+
* }
|
|
15740
|
+
* }
|
|
15741
|
+
* }
|
|
15742
|
+
* }
|
|
15743
|
+
*/
|
|
15744
|
+
axis_x_tick_culling_lines: !0,
|
|
15745
|
+
|
|
15690
15746
|
/**
|
|
15691
15747
|
* The number of x axis ticks to show.<br><br>
|
|
15692
15748
|
* This option hides tick lines together with tick text. If this option is used on timeseries axis, the ticks position will be determined precisely and not nicely positioned (e.g. it will have rough second value).
|
|
@@ -16360,9 +16416,11 @@ function smoothLines(el, type) {
|
|
|
16360
16416
|
axis_y_tick_format: undefined,
|
|
16361
16417
|
|
|
16362
16418
|
/**
|
|
16363
|
-
* Setting for culling ticks
|
|
16364
|
-
*
|
|
16365
|
-
*
|
|
16419
|
+
* Setting for culling ticks.
|
|
16420
|
+
* - `true`: the ticks will be culled, then only limited tick text will be shown.<br>
|
|
16421
|
+
* This option does not hide the tick lines by default, if want to hide tick lines, set `axis.y.tick.culling.lines=false`.
|
|
16422
|
+
* - `false`: all of ticks will be shown.<br><br>
|
|
16423
|
+
* The number of ticks to be shown can be chaned by `axis.y.tick.culling.max`.
|
|
16366
16424
|
* @name axis․y․tick․culling
|
|
16367
16425
|
* @memberof Options
|
|
16368
16426
|
* @type {boolean}
|
|
@@ -16397,6 +16455,25 @@ function smoothLines(el, type) {
|
|
|
16397
16455
|
*/
|
|
16398
16456
|
axis_y_tick_culling_max: 5,
|
|
16399
16457
|
|
|
16458
|
+
/**
|
|
16459
|
+
* Control visibility of tick lines within culling option, along with tick text.
|
|
16460
|
+
* @name axis․y․tick․culling․lines
|
|
16461
|
+
* @memberof Options
|
|
16462
|
+
* @type {boolean}
|
|
16463
|
+
* @default true
|
|
16464
|
+
* @example
|
|
16465
|
+
* axis: {
|
|
16466
|
+
* y: {
|
|
16467
|
+
* tick: {
|
|
16468
|
+
* culling: {
|
|
16469
|
+
* lines: false,
|
|
16470
|
+
* }
|
|
16471
|
+
* }
|
|
16472
|
+
* }
|
|
16473
|
+
* }
|
|
16474
|
+
*/
|
|
16475
|
+
axis_y_tick_culling_lines: !0,
|
|
16476
|
+
|
|
16400
16477
|
/**
|
|
16401
16478
|
* Show y axis outer tick.
|
|
16402
16479
|
* @name axis․y․tick․outer
|
|
@@ -16840,9 +16917,11 @@ function smoothLines(el, type) {
|
|
|
16840
16917
|
axis_y2_tick_format: undefined,
|
|
16841
16918
|
|
|
16842
16919
|
/**
|
|
16843
|
-
* Setting for culling ticks
|
|
16844
|
-
*
|
|
16845
|
-
*
|
|
16920
|
+
* Setting for culling ticks.
|
|
16921
|
+
* - `true`: the ticks will be culled, then only limited tick text will be shown.<br>
|
|
16922
|
+
* This option does not hide the tick lines by default, if want to hide tick lines, set `axis.y2.tick.culling.lines=false`.
|
|
16923
|
+
* - `false`: all of ticks will be shown.<br><br>
|
|
16924
|
+
* The number of ticks to be shown can be chaned by `axis.y2.tick.culling.max`.
|
|
16846
16925
|
* @name axis․y2․tick․culling
|
|
16847
16926
|
* @memberof Options
|
|
16848
16927
|
* @type {boolean}
|
|
@@ -16877,6 +16956,25 @@ function smoothLines(el, type) {
|
|
|
16877
16956
|
*/
|
|
16878
16957
|
axis_y2_tick_culling_max: 5,
|
|
16879
16958
|
|
|
16959
|
+
/**
|
|
16960
|
+
* Control visibility of tick lines within culling option, along with tick text.
|
|
16961
|
+
* @name axis․y2․tick․culling․lines
|
|
16962
|
+
* @memberof Options
|
|
16963
|
+
* @type {boolean}
|
|
16964
|
+
* @default true
|
|
16965
|
+
* @example
|
|
16966
|
+
* axis: {
|
|
16967
|
+
* y2: {
|
|
16968
|
+
* tick: {
|
|
16969
|
+
* culling: {
|
|
16970
|
+
* lines: false,
|
|
16971
|
+
* }
|
|
16972
|
+
* }
|
|
16973
|
+
* }
|
|
16974
|
+
* }
|
|
16975
|
+
*/
|
|
16976
|
+
axis_y2_tick_culling_lines: !0,
|
|
16977
|
+
|
|
16880
16978
|
/**
|
|
16881
16979
|
* Show or hide y2 axis outer tick.
|
|
16882
16980
|
* @name axis․y2․tick․outer
|
|
@@ -17918,6 +18016,7 @@ var external_commonjs_d3_interpolate_commonjs2_d3_interpolate_amd_d3_interpolate
|
|
|
17918
18016
|
return;
|
|
17919
18017
|
}
|
|
17920
18018
|
|
|
18019
|
+
state.event = event;
|
|
17921
18020
|
var eventArc = getEventArc(event),
|
|
17922
18021
|
datum = eventArc.datum(),
|
|
17923
18022
|
updated = (_datum = datum) != null && _datum.data && datum.data.id ? $$.updateAngle(datum) : null,
|
|
@@ -18279,9 +18378,11 @@ var external_commonjs_d3_interpolate_commonjs2_d3_interpolate_amd_d3_interpolate
|
|
|
18279
18378
|
isNegative = d.value < 0,
|
|
18280
18379
|
pathRadius = ["", ""],
|
|
18281
18380
|
radius = 0,
|
|
18282
|
-
|
|
18381
|
+
isGrouped = $$.isGrouped(d.id),
|
|
18382
|
+
hasRadius = d.value !== 0 && getRadius,
|
|
18383
|
+
isRadiusData = hasRadius && isGrouped ? $$.isStackingRadiusData(d) : !1; // switch points if axis is rotated, not applicable for sub chart
|
|
18283
18384
|
|
|
18284
|
-
if (
|
|
18385
|
+
if (hasRadius && (!isGrouped || isRadiusData)) {
|
|
18285
18386
|
var index = isRotated ? indexY : indexX,
|
|
18286
18387
|
barW = points[2][index] - points[0][index];
|
|
18287
18388
|
radius = getRadius(barW);
|
|
@@ -19880,6 +19981,7 @@ var cacheKey = KEY.radarPoints;
|
|
|
19880
19981
|
return d && Object.keys(d).length === 1 ? d.index : undefined;
|
|
19881
19982
|
},
|
|
19882
19983
|
hide = function (event) {
|
|
19984
|
+
state.event = event;
|
|
19883
19985
|
var index = getIndex(event),
|
|
19884
19986
|
noIndex = isUndefined(index);
|
|
19885
19987
|
|
|
@@ -20131,6 +20233,7 @@ var cacheKey = KEY.radarPoints;
|
|
|
20131
20233
|
* @memberof Options
|
|
20132
20234
|
* @type {object}
|
|
20133
20235
|
* @property {object} bar Bar object
|
|
20236
|
+
* @property {number} [bar.indices.removeNull=false] Remove nullish data on bar indices positions.
|
|
20134
20237
|
* @property {number} [bar.label.threshold=0] Set threshold ratio to show/hide labels.
|
|
20135
20238
|
* @property {number} [bar.padding=0] The padding pixel value between each bar.
|
|
20136
20239
|
* @property {number} [bar.radius] Set the radius of bar edge in pixel.
|
|
@@ -20146,12 +20249,18 @@ var cacheKey = KEY.radarPoints;
|
|
|
20146
20249
|
* @property {number} [bar.width.dataname.ratio=0.6] Change the width of bar chart by ratio.
|
|
20147
20250
|
* @property {number} [bar.width.dataname.max] The maximum width value for ratio.
|
|
20148
20251
|
* @property {boolean} [bar.zerobased=true] Set if min or max value will be 0 on bar chart.
|
|
20252
|
+
* @see [Demo: bar indices](https://naver.github.io/billboard.js/demo/#BarChartOptions.BarIndices)
|
|
20149
20253
|
* @see [Demo: bar padding](https://naver.github.io/billboard.js/demo/#BarChartOptions.BarPadding)
|
|
20150
20254
|
* @see [Demo: bar radius](https://naver.github.io/billboard.js/demo/#BarChartOptions.BarRadius)
|
|
20151
20255
|
* @see [Demo: bar width](https://naver.github.io/billboard.js/demo/#BarChartOptions.BarWidth)
|
|
20152
20256
|
* @see [Demo: bar width variant](https://naver.github.io/billboard.js/demo/#BarChartOptions.BarWidthVariant)
|
|
20153
20257
|
* @example
|
|
20154
20258
|
* bar: {
|
|
20259
|
+
* // remove nullish data on bar indices postions
|
|
20260
|
+
* indices: {
|
|
20261
|
+
* removeNull: true
|
|
20262
|
+
* },
|
|
20263
|
+
*
|
|
20155
20264
|
* padding: 1,
|
|
20156
20265
|
*
|
|
20157
20266
|
* // bar radius
|
|
@@ -20191,6 +20300,7 @@ var cacheKey = KEY.radarPoints;
|
|
|
20191
20300
|
* }
|
|
20192
20301
|
*/
|
|
20193
20302
|
bar_label_threshold: 0,
|
|
20303
|
+
bar_indices_removeNull: !1,
|
|
20194
20304
|
bar_padding: 0,
|
|
20195
20305
|
bar_radius: undefined,
|
|
20196
20306
|
bar_radius_ratio: undefined,
|
|
@@ -22818,7 +22928,7 @@ var _defaults = {},
|
|
|
22818
22928
|
* bb.version; // "1.0.0"
|
|
22819
22929
|
* @memberof bb
|
|
22820
22930
|
*/
|
|
22821
|
-
version: "3.
|
|
22931
|
+
version: "3.3.0-next.1",
|
|
22822
22932
|
|
|
22823
22933
|
/**
|
|
22824
22934
|
* Generate chart
|
|
@@ -22952,7 +23062,7 @@ var _defaults = {},
|
|
|
22952
23062
|
};
|
|
22953
23063
|
/**
|
|
22954
23064
|
* @namespace bb
|
|
22955
|
-
* @version 3.
|
|
23065
|
+
* @version 3.3.0-next.1
|
|
22956
23066
|
*/
|
|
22957
23067
|
;// CONCATENATED MODULE: ./src/index.ts
|
|
22958
23068
|
/**
|
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.3.0-next.
|
|
8
|
+
* @version 3.3.0-next.2
|
|
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-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}
|