billboard.js 3.14.0 → 3.14.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/dist/billboard.css +1 -1
- package/dist/billboard.js +13 -12
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +9 -9
- package/dist/billboard.pkgd.js +1554 -913
- package/dist/billboard.pkgd.min.js +18 -18
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +3 -3
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +3 -3
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +3 -3
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +3 -3
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +3 -3
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +1607 -967
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +5 -5
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +1608 -968
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +7 -7
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +1609 -969
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +15 -15
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +1610 -970
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +8 -8
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +1611 -971
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +7 -7
- package/dist/theme/dark.css +1 -1
- package/dist/theme/dark.min.css +1 -1
- 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/theme/modern.css +1 -1
- package/dist/theme/modern.min.css +1 -1
- package/dist-esm/billboard.js +20 -20
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +4 -77
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +4 -77
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +4 -77
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +3 -66
- package/package.json +20 -20
- package/src/ChartInternal/interactions/eventrect.ts +1 -4
- package/src/ChartInternal/internals/tooltip.ts +4 -5
- package/src/ChartInternal/shape/point.ts +7 -6
package/dist/theme/dark.css
CHANGED
package/dist/theme/dark.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.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#4a7fff;#b02c2c;#1ca46c;#b47300;#49baf3;#ed7e13;#cfaa00;#a6cd19;#dccb52;#f5d194;)}.bb svg{font-size:12px;font-family:Helvetica,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#8d9cab}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#8d9cab;font-size:11px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid,.bb-line{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#8d9cab}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#8d9cab}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#5c666e}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ccd9e6}.bb-text.bb-empty{fill:#8d9cab}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px;stroke:8d9cab}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.selection{stroke:none;fill:#ccd9e6}.bb-selected-circle{fill:#ccd9e6;stroke-width:2px}.bb-bar{stroke-width:.5px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.5!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.5}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.25;fill:#ccd9e6}.bb-brush .extent{fill-opacity:.5}.bb-legend-item{user-select:none}.bb-legend-item line{stroke-width:10px;stroke-dasharray:3px}.bb-legend-item text{transform:translateY(-1px)}.bb-legend-item-hidden{opacity:.5}.bb-legend-background{opacity:.75;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#8d9cab;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #828181;border-radius:5px;background-color:#000;text-align:left;font-size:11px;color:#fff;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:solid 1px #828181}.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{display:inline-block;width:7px;height:7px;margin:-1px 6px 0 0;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;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{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.5}.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:#3f3f3f;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#828181;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#b6c2ce;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:#b6c2ce}.bb-chart-arc rect{stroke:#8d9cab;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#000;color:#fff;padding:5px;border-radius:5px;cursor:pointer}
|
package/dist/theme/datalab.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.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;)}.bb svg{font-size:11px;font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#000}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-font-smoothing:antialiased;user-select:none;fill:#555;font-size:11px}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{stroke-width:.7px}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.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:#27c9030d}.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-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;stroke-width:8px;transform:translate(7px,1px);stroke-dasharray:1 20}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#000;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;border-radius:2px;empty-cells:show;border:1px solid #999;background-color:#fff;text-align:left;font-size:11px;-webkit-font-smoothing:antialiased;white-space:nowrap}.bb-tooltip th{font-size:13px;padding:2px 8px;text-align:left;border-bottom:solid 2px #ff2d2d;background-color:#0b00b1;color:#fffdfd}.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{display:inline-block;width:8px;height:8px;margin-right:6px;border:solid 1px #000;border-radius:3px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;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{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:11px}.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-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:18px!important;fill:#000;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-line{shape-rendering:crispEdges}.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{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:.7px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer}
|
package/dist/theme/graph.css
CHANGED
package/dist/theme/graph.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.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;)}.bb svg{font-size:12px;font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#8c8c8c}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:12px;letter-spacing:-.3px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.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:#27c9030d}.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_{stroke-width:2px}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-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1px}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;border-radius:2px;background-color:#fff;text-align:left;font-size:12px;box-shadow:.5px .5px 1px #999;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:center;border-bottom:dotted 1px #000;background-color:#efefef;color:#000}.bb-tooltip tr:last-child td{border-bottom:none}.bb-tooltip td{padding:3px 6px;background-color:#fff;border-bottom:solid 1px #eee}.bb-tooltip td:first-child{padding-left:5px;border-right:solid 1px #eee}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:5px;height:12px;margin-right:6px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;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{line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800}.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-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#8c8c8c;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{font-size:1.15em;font-weight:700;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer;opacity:.8;box-shadow:1px 1px 2px #ccc}
|
package/dist/theme/insight.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.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#00c73c;#fa7171;#2ad0ff;#7294ce;#e3e448;#cc7e6e;#fb6ccf;#c98dff;#4aea99;#bbbbbb;)}.bb svg{font-size:12px;font-family:sans-serif,Arial,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#c4c4c4}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:11px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.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:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{fill:#fff!important;stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:sans-serif,Arial,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;background-color:#fff;text-align:left;font-size:11px;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:solid 1px #eee}.bb-tooltip td{padding:4px 6px;background-color:#fff}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:5px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;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{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer}
|
package/dist/theme/modern.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.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#7ea9fa;#ffcd1e;#d33043;#41c464;#c86b74;#006bc2;#2a7e41;#f27c00;#c159ff;#bed017;)}.bb svg{font-size:12px;font-family:-apple-system,"system-ui",Noto Sans,Malgun Gothic,\b9d1\c740 \ace0\b515,helvetica,Apple SD Gothic Neo,sans-serif;line-height:1}.bb path,.bb line{fill:none;stroke:#cecece}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:10.5px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.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:#27c9030d}.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:#d2bad8}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#71808d}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.1;fill:#838181}.bb-brush .extent{fill-opacity:.1}.bb-brush .selection{fill:#838181;fill-opacity:.2}.bb-brush path{stroke:#838181}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;transform:translate(7px,1px);stroke-dasharray:1 20}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#000;stroke-width:.5px}.bb-tooltip-container{z-index:10;font-family:-apple-system,"system-ui",Noto Sans,Malgun Gothic,\b9d1\c740 \ace0\b515,helvetica,Apple SD Gothic Neo,sans-serif;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;color:#fff;border-radius:5px;background-color:#404244;text-align:left;font-size:11px;white-space:nowrap;opacity:.9}.bb-tooltip th{font-size:11px;padding:3px 6px 0;text-align:left}.bb-tooltip td{padding:3px}.bb-tooltip td:first-child{padding-left:7px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:5px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;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{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.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:#ccc}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:1.8em;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#cecece;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:11px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#cecece;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#cecece;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:1px solid #999;background-color:#404244;color:#fff;opacity:.9;padding:5px;border-radius:5px;cursor:pointer}
|
package/dist-esm/billboard.js
CHANGED
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
*/
|
|
10
10
|
import { pointer, select, namespaces, selectAll } from 'd3-selection';
|
|
11
11
|
import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
|
|
12
12
|
import { brushSelection, brushY, brushX } from 'd3-brush';
|
|
13
|
-
import {
|
|
13
|
+
import { tsvParse, tsvParseRows, csvParse, csvParseRows } from 'd3-dsv';
|
|
14
14
|
import { drag as drag$1 } from 'd3-drag';
|
|
15
|
-
import { scaleOrdinal, scaleLinear,
|
|
15
|
+
import { scaleOrdinal, scaleLinear, scaleUtc, scaleTime, scaleLog, scaleSymlog } from 'd3-scale';
|
|
16
16
|
import { transition } from 'd3-transition';
|
|
17
|
-
import {
|
|
17
|
+
import { curveStepBefore, curveStepAfter, curveStep, curveLinear, curveLinearClosed, curveNatural, curveMonotoneY, curveMonotoneX, curveCatmullRomOpen, curveCatmullRomClosed, curveCatmullRom, curveCardinalOpen, curveCardinalClosed, curveCardinal, curveBundle, curveBasisOpen, curveBasisClosed, curveBasis, arc, pie as pie$1, area as area$1, line as line$1 } from 'd3-shape';
|
|
18
18
|
import { axisLeft, axisBottom, axisTop, axisRight } from 'd3-axis';
|
|
19
19
|
import { easeLinear } from 'd3-ease';
|
|
20
20
|
import { interpolate } from 'd3-interpolate';
|
|
21
|
-
import {
|
|
21
|
+
import { hierarchy, treemapResquarify, treemapSquarify, treemapSliceDice, treemapSlice, treemapDice, treemapBinary, treemap as treemap$1 } from 'd3-hierarchy';
|
|
22
22
|
import { zoomIdentity, zoomTransform, zoom as zoom$2 } from 'd3-zoom';
|
|
23
23
|
|
|
24
24
|
/******************************************************************************
|
|
@@ -8887,13 +8887,13 @@ var tooltip$1 = {
|
|
|
8887
8887
|
$$.setExpand(idx, null, true);
|
|
8888
8888
|
}
|
|
8889
8889
|
}
|
|
8890
|
-
// for Arc & Treemap
|
|
8891
8890
|
}
|
|
8892
|
-
else {
|
|
8891
|
+
else { // for Arc & Treemap
|
|
8893
8892
|
var clientX_1 = event.clientX, clientY_1 = event.clientY;
|
|
8894
8893
|
setTimeout(function () {
|
|
8895
|
-
var target =
|
|
8896
|
-
|
|
8894
|
+
var target = [clientX_1, clientY_1].every(Number.isFinite) &&
|
|
8895
|
+
doc.elementFromPoint(clientX_1, clientY_1);
|
|
8896
|
+
var data = target && select(target).datum();
|
|
8897
8897
|
if (data) {
|
|
8898
8898
|
var d = $$.hasArcType() ?
|
|
8899
8899
|
$$.convertToArcData($$.updateAngle(data)) :
|
|
@@ -14691,14 +14691,13 @@ var eventrect = {
|
|
|
14691
14691
|
clickHandlerForMultipleXS: function (ctx) {
|
|
14692
14692
|
var $$ = ctx;
|
|
14693
14693
|
var config = $$.config, state = $$.state;
|
|
14694
|
-
var pointSensitivity = config.point_sensitivity;
|
|
14695
14694
|
var targetsToShow = $$.filterTargetsToShow($$.data.targets);
|
|
14696
14695
|
if ($$.hasArcType(targetsToShow)) {
|
|
14697
14696
|
return;
|
|
14698
14697
|
}
|
|
14699
14698
|
var mouse = getPointer(state.event, this);
|
|
14700
14699
|
var closest = $$.findClosestFromTargets(targetsToShow, mouse);
|
|
14701
|
-
var sensitivity =
|
|
14700
|
+
var sensitivity = $$.getPointSensitivity(closest);
|
|
14702
14701
|
if (!closest) {
|
|
14703
14702
|
return;
|
|
14704
14703
|
}
|
|
@@ -20510,22 +20509,20 @@ var shapePoint = {
|
|
|
20510
20509
|
!$$.hasType("bubble") && !$$.hasType("scatter") && !$$.hasArcType(null, ["radar"]);
|
|
20511
20510
|
},
|
|
20512
20511
|
isWithinCircle: function (node, r) {
|
|
20513
|
-
var
|
|
20512
|
+
var state = this.state;
|
|
20514
20513
|
var mouse = getPointer(state.event, node);
|
|
20515
20514
|
var element = select(node);
|
|
20516
20515
|
var prefix = this.isCirclePoint(node) ? "c" : "";
|
|
20517
|
-
var
|
|
20518
|
-
node.getAttribute("r") :
|
|
20519
|
-
config.point_sensitivity;
|
|
20516
|
+
var pointSensitivity = this.getPointSensitivity(element === null || element === void 0 ? void 0 : element.datum());
|
|
20520
20517
|
var cx = +element.attr("".concat(prefix, "x"));
|
|
20521
20518
|
var cy = +element.attr("".concat(prefix, "y"));
|
|
20522
20519
|
// if node don't have cx/y or x/y attribute value
|
|
20523
20520
|
if (!(cx || cy) && node.nodeType === 1) {
|
|
20524
|
-
var
|
|
20521
|
+
var _a = getBoundingRect(node), x = _a.x, y = _a.y;
|
|
20525
20522
|
cx = x;
|
|
20526
20523
|
cy = y;
|
|
20527
20524
|
}
|
|
20528
|
-
return Math.sqrt(Math.pow(cx - mouse[0], 2) + Math.pow(cy - mouse[1], 2)) < (r ||
|
|
20525
|
+
return Math.sqrt(Math.pow(cx - mouse[0], 2) + Math.pow(cy - mouse[1], 2)) < (r || pointSensitivity);
|
|
20529
20526
|
},
|
|
20530
20527
|
/**
|
|
20531
20528
|
* Get data point sensitivity radius
|
|
@@ -20535,7 +20532,10 @@ var shapePoint = {
|
|
|
20535
20532
|
getPointSensitivity: function (d) {
|
|
20536
20533
|
var $$ = this;
|
|
20537
20534
|
var sensitivity = $$.config.point_sensitivity;
|
|
20538
|
-
if (
|
|
20535
|
+
if (!d) {
|
|
20536
|
+
return sensitivity;
|
|
20537
|
+
}
|
|
20538
|
+
else if (isFunction(sensitivity)) {
|
|
20539
20539
|
sensitivity = sensitivity.call($$.api, d);
|
|
20540
20540
|
}
|
|
20541
20541
|
else if (sensitivity === "radius") {
|
|
@@ -24607,7 +24607,7 @@ var zoomModule = function () {
|
|
|
24607
24607
|
var defaults = {};
|
|
24608
24608
|
/**
|
|
24609
24609
|
* @namespace bb
|
|
24610
|
-
* @version 3.14.
|
|
24610
|
+
* @version 3.14.1
|
|
24611
24611
|
*/
|
|
24612
24612
|
var bb = {
|
|
24613
24613
|
/**
|
|
@@ -24617,7 +24617,7 @@ var bb = {
|
|
|
24617
24617
|
* bb.version; // "1.0.0"
|
|
24618
24618
|
* @memberof bb
|
|
24619
24619
|
*/
|
|
24620
|
-
version: "3.14.
|
|
24620
|
+
version: "3.14.1",
|
|
24621
24621
|
/**
|
|
24622
24622
|
* Generate chart
|
|
24623
24623
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -100,7 +100,7 @@ var Plugin = /** @class */ (function () {
|
|
|
100
100
|
delete _this[key];
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
|
-
Plugin.version = "3.14.
|
|
103
|
+
Plugin.version = "3.14.1";
|
|
104
104
|
return Plugin;
|
|
105
105
|
}());
|
|
106
106
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -49,17 +49,7 @@ var __assign = function() {
|
|
|
49
49
|
return t;
|
|
50
50
|
};
|
|
51
51
|
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
function __spreadArray(to, from, pack) {
|
|
55
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
56
|
-
if (ar || !(i in from)) {
|
|
57
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
58
|
-
ar[i] = from[i];
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
62
|
-
}
|
|
52
|
+
};
|
|
63
53
|
|
|
64
54
|
/**
|
|
65
55
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
@@ -255,50 +245,6 @@ var doc = win === null || win === void 0 ? void 0 : win.document;
|
|
|
255
245
|
|
|
256
246
|
var isDefined = function (v) { return typeof v !== "undefined"; };
|
|
257
247
|
var isObjectType = function (v) { return typeof v === "object"; };
|
|
258
|
-
/**
|
|
259
|
-
* Check if is array
|
|
260
|
-
* @param {Array} arr Data to be checked
|
|
261
|
-
* @returns {boolean}
|
|
262
|
-
* @private
|
|
263
|
-
*/
|
|
264
|
-
var isArray = function (arr) { return Array.isArray(arr); };
|
|
265
|
-
/**
|
|
266
|
-
* Check if is object
|
|
267
|
-
* @param {object} obj Data to be checked
|
|
268
|
-
* @returns {boolean}
|
|
269
|
-
* @private
|
|
270
|
-
*/
|
|
271
|
-
var isObject = function (obj) { return obj && !(obj === null || obj === void 0 ? void 0 : obj.nodeType) && isObjectType(obj) && !isArray(obj); };
|
|
272
|
-
/**
|
|
273
|
-
* Merge object returning new object
|
|
274
|
-
* @param {object} target Target object
|
|
275
|
-
* @param {object} objectN Source object
|
|
276
|
-
* @returns {object} merged target object
|
|
277
|
-
* @private
|
|
278
|
-
*/
|
|
279
|
-
function mergeObj(target) {
|
|
280
|
-
var objectN = [];
|
|
281
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
282
|
-
objectN[_i - 1] = arguments[_i];
|
|
283
|
-
}
|
|
284
|
-
if (!objectN.length || (objectN.length === 1 && !objectN[0])) {
|
|
285
|
-
return target;
|
|
286
|
-
}
|
|
287
|
-
var source = objectN.shift();
|
|
288
|
-
if (isObject(target) && isObject(source)) {
|
|
289
|
-
Object.keys(source).forEach(function (key) {
|
|
290
|
-
var value = source[key];
|
|
291
|
-
if (isObject(value)) {
|
|
292
|
-
!target[key] && (target[key] = {});
|
|
293
|
-
target[key] = mergeObj(target[key], value);
|
|
294
|
-
}
|
|
295
|
-
else {
|
|
296
|
-
target[key] = isArray(value) ? value.concat() : value;
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
return mergeObj.apply(void 0, __spreadArray([target], objectN, false));
|
|
301
|
-
}
|
|
302
248
|
// emulate event
|
|
303
249
|
({
|
|
304
250
|
mouse: (function () {
|
|
@@ -329,26 +275,7 @@ function mergeObj(target) {
|
|
|
329
275
|
el.dispatchEvent(mouseEvent);
|
|
330
276
|
};
|
|
331
277
|
}
|
|
332
|
-
})()
|
|
333
|
-
touch: function (el, eventType, params) {
|
|
334
|
-
var touchObj = new Touch(mergeObj({
|
|
335
|
-
identifier: Date.now(),
|
|
336
|
-
target: el,
|
|
337
|
-
radiusX: 2.5,
|
|
338
|
-
radiusY: 2.5,
|
|
339
|
-
rotationAngle: 10,
|
|
340
|
-
force: 0.5
|
|
341
|
-
}, params));
|
|
342
|
-
el.dispatchEvent(new TouchEvent(eventType, {
|
|
343
|
-
cancelable: true,
|
|
344
|
-
bubbles: true,
|
|
345
|
-
shiftKey: true,
|
|
346
|
-
touches: [touchObj],
|
|
347
|
-
targetTouches: [],
|
|
348
|
-
changedTouches: [touchObj]
|
|
349
|
-
}));
|
|
350
|
-
}
|
|
351
|
-
});
|
|
278
|
+
})()});
|
|
352
279
|
|
|
353
280
|
/**
|
|
354
281
|
* Load configuration option
|
|
@@ -443,7 +370,7 @@ var Plugin = /** @class */ (function () {
|
|
|
443
370
|
delete _this[key];
|
|
444
371
|
});
|
|
445
372
|
};
|
|
446
|
-
Plugin.version = "3.14.
|
|
373
|
+
Plugin.version = "3.14.1";
|
|
447
374
|
return Plugin;
|
|
448
375
|
}());
|
|
449
376
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -55,17 +55,7 @@ var __assign = function() {
|
|
|
55
55
|
return t;
|
|
56
56
|
};
|
|
57
57
|
return __assign.apply(this, arguments);
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
function __spreadArray(to, from, pack) {
|
|
61
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
62
|
-
if (ar || !(i in from)) {
|
|
63
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
64
|
-
ar[i] = from[i];
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
68
|
-
}
|
|
58
|
+
};
|
|
69
59
|
|
|
70
60
|
/**
|
|
71
61
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
@@ -269,50 +259,6 @@ var isEmpty = function (o) { return (isUndefined(o) || o === null ||
|
|
|
269
259
|
(isString(o) && o.length === 0) ||
|
|
270
260
|
(isObjectType(o) && !(o instanceof Date) && Object.keys(o).length === 0) ||
|
|
271
261
|
(isNumber(o) && isNaN(o))); };
|
|
272
|
-
/**
|
|
273
|
-
* Check if is array
|
|
274
|
-
* @param {Array} arr Data to be checked
|
|
275
|
-
* @returns {boolean}
|
|
276
|
-
* @private
|
|
277
|
-
*/
|
|
278
|
-
var isArray = function (arr) { return Array.isArray(arr); };
|
|
279
|
-
/**
|
|
280
|
-
* Check if is object
|
|
281
|
-
* @param {object} obj Data to be checked
|
|
282
|
-
* @returns {boolean}
|
|
283
|
-
* @private
|
|
284
|
-
*/
|
|
285
|
-
var isObject = function (obj) { return obj && !(obj === null || obj === void 0 ? void 0 : obj.nodeType) && isObjectType(obj) && !isArray(obj); };
|
|
286
|
-
/**
|
|
287
|
-
* Merge object returning new object
|
|
288
|
-
* @param {object} target Target object
|
|
289
|
-
* @param {object} objectN Source object
|
|
290
|
-
* @returns {object} merged target object
|
|
291
|
-
* @private
|
|
292
|
-
*/
|
|
293
|
-
function mergeObj(target) {
|
|
294
|
-
var objectN = [];
|
|
295
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
296
|
-
objectN[_i - 1] = arguments[_i];
|
|
297
|
-
}
|
|
298
|
-
if (!objectN.length || (objectN.length === 1 && !objectN[0])) {
|
|
299
|
-
return target;
|
|
300
|
-
}
|
|
301
|
-
var source = objectN.shift();
|
|
302
|
-
if (isObject(target) && isObject(source)) {
|
|
303
|
-
Object.keys(source).forEach(function (key) {
|
|
304
|
-
var value = source[key];
|
|
305
|
-
if (isObject(value)) {
|
|
306
|
-
!target[key] && (target[key] = {});
|
|
307
|
-
target[key] = mergeObj(target[key], value);
|
|
308
|
-
}
|
|
309
|
-
else {
|
|
310
|
-
target[key] = isArray(value) ? value.concat() : value;
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
return mergeObj.apply(void 0, __spreadArray([target], objectN, false));
|
|
315
|
-
}
|
|
316
262
|
/**
|
|
317
263
|
* Get range
|
|
318
264
|
* @param {number} start Start number
|
|
@@ -359,26 +305,7 @@ var getRange = function (start, end, step) {
|
|
|
359
305
|
el.dispatchEvent(mouseEvent);
|
|
360
306
|
};
|
|
361
307
|
}
|
|
362
|
-
})()
|
|
363
|
-
touch: function (el, eventType, params) {
|
|
364
|
-
var touchObj = new Touch(mergeObj({
|
|
365
|
-
identifier: Date.now(),
|
|
366
|
-
target: el,
|
|
367
|
-
radiusX: 2.5,
|
|
368
|
-
radiusY: 2.5,
|
|
369
|
-
rotationAngle: 10,
|
|
370
|
-
force: 0.5
|
|
371
|
-
}, params));
|
|
372
|
-
el.dispatchEvent(new TouchEvent(eventType, {
|
|
373
|
-
cancelable: true,
|
|
374
|
-
bubbles: true,
|
|
375
|
-
shiftKey: true,
|
|
376
|
-
touches: [touchObj],
|
|
377
|
-
targetTouches: [],
|
|
378
|
-
changedTouches: [touchObj]
|
|
379
|
-
}));
|
|
380
|
-
}
|
|
381
|
-
});
|
|
308
|
+
})()});
|
|
382
309
|
/**
|
|
383
310
|
* Get parsed date value
|
|
384
311
|
* (It must be called in 'ChartInternal' context)
|
|
@@ -501,7 +428,7 @@ var Plugin = /** @class */ (function () {
|
|
|
501
428
|
delete _this[key];
|
|
502
429
|
});
|
|
503
430
|
};
|
|
504
|
-
Plugin.version = "3.14.
|
|
431
|
+
Plugin.version = "3.14.1";
|
|
505
432
|
return Plugin;
|
|
506
433
|
}());
|
|
507
434
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.14.
|
|
8
|
+
* @version 3.14.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -49,17 +49,7 @@ var __assign = function() {
|
|
|
49
49
|
return t;
|
|
50
50
|
};
|
|
51
51
|
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
function __spreadArray(to, from, pack) {
|
|
55
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
56
|
-
if (ar || !(i in from)) {
|
|
57
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
58
|
-
ar[i] = from[i];
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
62
|
-
}
|
|
52
|
+
};
|
|
63
53
|
|
|
64
54
|
/**
|
|
65
55
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
@@ -88,50 +78,6 @@ var doc = win === null || win === void 0 ? void 0 : win.document;
|
|
|
88
78
|
var isNumber = function (v) { return typeof v === "number"; };
|
|
89
79
|
var isDefined = function (v) { return typeof v !== "undefined"; };
|
|
90
80
|
var isObjectType = function (v) { return typeof v === "object"; };
|
|
91
|
-
/**
|
|
92
|
-
* Check if is array
|
|
93
|
-
* @param {Array} arr Data to be checked
|
|
94
|
-
* @returns {boolean}
|
|
95
|
-
* @private
|
|
96
|
-
*/
|
|
97
|
-
var isArray = function (arr) { return Array.isArray(arr); };
|
|
98
|
-
/**
|
|
99
|
-
* Check if is object
|
|
100
|
-
* @param {object} obj Data to be checked
|
|
101
|
-
* @returns {boolean}
|
|
102
|
-
* @private
|
|
103
|
-
*/
|
|
104
|
-
var isObject = function (obj) { return obj && !(obj === null || obj === void 0 ? void 0 : obj.nodeType) && isObjectType(obj) && !isArray(obj); };
|
|
105
|
-
/**
|
|
106
|
-
* Merge object returning new object
|
|
107
|
-
* @param {object} target Target object
|
|
108
|
-
* @param {object} objectN Source object
|
|
109
|
-
* @returns {object} merged target object
|
|
110
|
-
* @private
|
|
111
|
-
*/
|
|
112
|
-
function mergeObj(target) {
|
|
113
|
-
var objectN = [];
|
|
114
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
115
|
-
objectN[_i - 1] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
if (!objectN.length || (objectN.length === 1 && !objectN[0])) {
|
|
118
|
-
return target;
|
|
119
|
-
}
|
|
120
|
-
var source = objectN.shift();
|
|
121
|
-
if (isObject(target) && isObject(source)) {
|
|
122
|
-
Object.keys(source).forEach(function (key) {
|
|
123
|
-
var value = source[key];
|
|
124
|
-
if (isObject(value)) {
|
|
125
|
-
!target[key] && (target[key] = {});
|
|
126
|
-
target[key] = mergeObj(target[key], value);
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
target[key] = isArray(value) ? value.concat() : value;
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
return mergeObj.apply(void 0, __spreadArray([target], objectN, false));
|
|
134
|
-
}
|
|
135
81
|
// emulate event
|
|
136
82
|
({
|
|
137
83
|
mouse: (function () {
|
|
@@ -162,26 +108,7 @@ function mergeObj(target) {
|
|
|
162
108
|
el.dispatchEvent(mouseEvent);
|
|
163
109
|
};
|
|
164
110
|
}
|
|
165
|
-
})()
|
|
166
|
-
touch: function (el, eventType, params) {
|
|
167
|
-
var touchObj = new Touch(mergeObj({
|
|
168
|
-
identifier: Date.now(),
|
|
169
|
-
target: el,
|
|
170
|
-
radiusX: 2.5,
|
|
171
|
-
radiusY: 2.5,
|
|
172
|
-
rotationAngle: 10,
|
|
173
|
-
force: 0.5
|
|
174
|
-
}, params));
|
|
175
|
-
el.dispatchEvent(new TouchEvent(eventType, {
|
|
176
|
-
cancelable: true,
|
|
177
|
-
bubbles: true,
|
|
178
|
-
shiftKey: true,
|
|
179
|
-
touches: [touchObj],
|
|
180
|
-
targetTouches: [],
|
|
181
|
-
changedTouches: [touchObj]
|
|
182
|
-
}));
|
|
183
|
-
}
|
|
184
|
-
});
|
|
111
|
+
})()});
|
|
185
112
|
/**
|
|
186
113
|
* Process the template & return bound string
|
|
187
114
|
* @param {string} tpl Template string
|
|
@@ -290,7 +217,7 @@ var Plugin = /** @class */ (function () {
|
|
|
290
217
|
delete _this[key];
|
|
291
218
|
});
|
|
292
219
|
};
|
|
293
|
-
Plugin.version = "3.14.
|
|
220
|
+
Plugin.version = "3.14.1";
|
|
294
221
|
return Plugin;
|
|
295
222
|
}());
|
|
296
223
|
|