billboard.js 3.13.0-next.2 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +5 -17
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +5 -5
- package/dist/billboard.pkgd.js +144 -58
- package/dist/billboard.pkgd.min.js +17 -17
- 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.pkgd.js +139 -41
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +5 -5
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +139 -41
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +6 -6
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +139 -41
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +8 -8
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +139 -41
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +7 -7
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +139 -41
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +6 -6
- 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 +14 -26
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +3 -3
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +3 -3
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +3 -3
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +3 -3
- package/package.json +18 -18
- package/src/ChartInternal/Axis/AxisRendererHelper.ts +1 -2
- package/src/ChartInternal/ChartInternal.ts +1 -1
- package/src/ChartInternal/data/IData.ts +1 -1
- package/src/ChartInternal/interactions/zoom.ts +2 -1
- package/src/ChartInternal/internals/size.ts +1 -1
- package/src/ChartInternal/internals/tooltip.ts +1 -1
- package/src/config/Options/axis/y2.ts +0 -13
- package/src/config/Options/interaction/zoom.ts +2 -2
- package/src/module/generator.ts +1 -1
- package/src/module/util.ts +2 -2
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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
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,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.13.0
|
|
8
|
+
* @version 3.13.0
|
|
9
9
|
*/
|
|
10
10
|
import { pointer, select, namespaces, selectAll } from 'd3-selection';
|
|
11
11
|
import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
|
|
@@ -2367,7 +2367,7 @@ function getPointer(event, element) {
|
|
|
2367
2367
|
try {
|
|
2368
2368
|
pointer$1 = pointer(touches || event, element);
|
|
2369
2369
|
}
|
|
2370
|
-
catch (
|
|
2370
|
+
catch (_b) { }
|
|
2371
2371
|
return pointer$1.map(function (v) { return (isNaN(v) ? 0 : v); });
|
|
2372
2372
|
}
|
|
2373
2373
|
/**
|
|
@@ -2732,7 +2732,7 @@ var emulateEvent = {
|
|
|
2732
2732
|
el.dispatchEvent(new MouseEvent(eventType, params));
|
|
2733
2733
|
};
|
|
2734
2734
|
}
|
|
2735
|
-
catch (
|
|
2735
|
+
catch (_a) {
|
|
2736
2736
|
// Polyfills DOM4 MouseEvent
|
|
2737
2737
|
return function (el, eventType, params) {
|
|
2738
2738
|
if (params === void 0) { params = getParams(); }
|
|
@@ -3438,7 +3438,7 @@ function generateWait() {
|
|
|
3438
3438
|
try {
|
|
3439
3439
|
t.transition();
|
|
3440
3440
|
}
|
|
3441
|
-
catch (
|
|
3441
|
+
catch (_b) {
|
|
3442
3442
|
done++;
|
|
3443
3443
|
}
|
|
3444
3444
|
}
|
|
@@ -7277,7 +7277,7 @@ var size = {
|
|
|
7277
7277
|
try {
|
|
7278
7278
|
v = parent.getBoundingClientRect()[key];
|
|
7279
7279
|
}
|
|
7280
|
-
catch (
|
|
7280
|
+
catch (_a) {
|
|
7281
7281
|
if (offsetName in parent) {
|
|
7282
7282
|
// In IE in certain cases getBoundingClientRect
|
|
7283
7283
|
// will cause an "unspecified error"
|
|
@@ -8730,7 +8730,7 @@ var tooltip$1 = {
|
|
|
8730
8730
|
try {
|
|
8731
8731
|
c.tooltip[show && isNotSameIndex ? "show" : "hide"]({ index: index });
|
|
8732
8732
|
}
|
|
8733
|
-
catch (
|
|
8733
|
+
catch (_b) { }
|
|
8734
8734
|
}
|
|
8735
8735
|
});
|
|
8736
8736
|
}
|
|
@@ -9886,7 +9886,7 @@ var ChartInternal = /** @class */ (function () {
|
|
|
9886
9886
|
labelsBGColor || ((_a = $$.hasLegendDefsPoint) === null || _a === void 0 ? void 0 : _a.call($$))) {
|
|
9887
9887
|
$el.defs = $el.svg.append("defs");
|
|
9888
9888
|
if (hasAxis) {
|
|
9889
|
-
["id", "idXAxis", "idYAxis", "
|
|
9889
|
+
["id", "idXAxis", "idYAxis", "idGrid"].forEach(function (v) {
|
|
9890
9890
|
$$.appendClip($el.defs, state.clip[v]);
|
|
9891
9891
|
});
|
|
9892
9892
|
}
|
|
@@ -12609,8 +12609,6 @@ var AxisRendererHelper = /** @class */ (function () {
|
|
|
12609
12609
|
size.h = height;
|
|
12610
12610
|
}
|
|
12611
12611
|
}
|
|
12612
|
-
catch (e) {
|
|
12613
|
-
}
|
|
12614
12612
|
finally {
|
|
12615
12613
|
el.text("");
|
|
12616
12614
|
}
|
|
@@ -12709,7 +12707,7 @@ var AxisRendererHelper = /** @class */ (function () {
|
|
|
12709
12707
|
try {
|
|
12710
12708
|
transitionSelection = selection.transition(config.transition);
|
|
12711
12709
|
}
|
|
12712
|
-
catch (
|
|
12710
|
+
catch (_a) { }
|
|
12713
12711
|
}
|
|
12714
12712
|
return transitionSelection;
|
|
12715
12713
|
};
|
|
@@ -16847,18 +16845,6 @@ var y = {
|
|
|
16847
16845
|
* y2 Axis config options
|
|
16848
16846
|
*/
|
|
16849
16847
|
var y2 = {
|
|
16850
|
-
/**
|
|
16851
|
-
* Set clip-path attribute for y2 axis element
|
|
16852
|
-
* - **NOTE**: `clip-path` attribute for y2 Axis is set only when `axis.y2.inner` option is true.
|
|
16853
|
-
* @name axis․y2․clipPath
|
|
16854
|
-
* @memberof Options
|
|
16855
|
-
* @type {boolean}
|
|
16856
|
-
* @default true
|
|
16857
|
-
* @example
|
|
16858
|
-
* // don't set 'clip-path' attribute
|
|
16859
|
-
* clipPath: false
|
|
16860
|
-
*/
|
|
16861
|
-
axis_y2_clipPath: true,
|
|
16862
16848
|
/**
|
|
16863
16849
|
* Show or hide y2 axis.
|
|
16864
16850
|
* - **NOTE**:
|
|
@@ -23717,14 +23703,16 @@ var zoom = {
|
|
|
23717
23703
|
* @private
|
|
23718
23704
|
*/
|
|
23719
23705
|
bindZoomOnEventRect: function () {
|
|
23706
|
+
var _a;
|
|
23720
23707
|
var $$ = this;
|
|
23721
|
-
var config = $$.config,
|
|
23708
|
+
var config = $$.config, _b = $$.$el, eventRect = _b.eventRect, svg = _b.svg;
|
|
23722
23709
|
var behaviour = config.zoom_type === "drag" ? $$.zoomBehaviour : $$.zoom;
|
|
23723
23710
|
// On Safari, event can't be built inside the svg content
|
|
23724
23711
|
// for workaround, register wheel event on <svg> element first
|
|
23725
23712
|
// https://bugs.webkit.org/show_bug.cgi?id=226683#c3
|
|
23726
23713
|
// https://stackoverflow.com/questions/67836886/wheel-event-is-not-fired-on-a-svg-group-element-in-safari
|
|
23727
|
-
if (win.GestureEvent &&
|
|
23714
|
+
if (win.GestureEvent &&
|
|
23715
|
+
/^((?!chrome|android|mobile).)*safari/i.test((_a = win.navigator) === null || _a === void 0 ? void 0 : _a.userAgent)) {
|
|
23728
23716
|
svg.on("wheel", function () { });
|
|
23729
23717
|
}
|
|
23730
23718
|
eventRect === null || eventRect === void 0 ? void 0 : eventRect.call(behaviour).on("dblclick.zoom", null);
|
|
@@ -24399,7 +24387,7 @@ var zoomModule = function () {
|
|
|
24399
24387
|
var defaults = {};
|
|
24400
24388
|
/**
|
|
24401
24389
|
* @namespace bb
|
|
24402
|
-
* @version 3.13.0
|
|
24390
|
+
* @version 3.13.0
|
|
24403
24391
|
*/
|
|
24404
24392
|
var bb = {
|
|
24405
24393
|
/**
|
|
@@ -24409,7 +24397,7 @@ var bb = {
|
|
|
24409
24397
|
* bb.version; // "1.0.0"
|
|
24410
24398
|
* @memberof bb
|
|
24411
24399
|
*/
|
|
24412
|
-
version: "3.13.0
|
|
24400
|
+
version: "3.13.0",
|
|
24413
24401
|
/**
|
|
24414
24402
|
* Generate chart
|
|
24415
24403
|
* - **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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
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.13.0
|
|
103
|
+
Plugin.version = "3.13.0";
|
|
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.13.0
|
|
8
|
+
* @version 3.13.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -318,7 +318,7 @@ function mergeObj(target) {
|
|
|
318
318
|
el.dispatchEvent(new MouseEvent(eventType, params));
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
catch (
|
|
321
|
+
catch (_a) {
|
|
322
322
|
// Polyfills DOM4 MouseEvent
|
|
323
323
|
return function (el, eventType, params) {
|
|
324
324
|
if (params === void 0) { params = getParams(); }
|
|
@@ -443,7 +443,7 @@ var Plugin = /** @class */ (function () {
|
|
|
443
443
|
delete _this[key];
|
|
444
444
|
});
|
|
445
445
|
};
|
|
446
|
-
Plugin.version = "3.13.0
|
|
446
|
+
Plugin.version = "3.13.0";
|
|
447
447
|
return Plugin;
|
|
448
448
|
}());
|
|
449
449
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.13.0
|
|
8
|
+
* @version 3.13.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -348,7 +348,7 @@ var getRange = function (start, end, step) {
|
|
|
348
348
|
el.dispatchEvent(new MouseEvent(eventType, params));
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
catch (
|
|
351
|
+
catch (_a) {
|
|
352
352
|
// Polyfills DOM4 MouseEvent
|
|
353
353
|
return function (el, eventType, params) {
|
|
354
354
|
if (params === void 0) { params = getParams(); }
|
|
@@ -501,7 +501,7 @@ var Plugin = /** @class */ (function () {
|
|
|
501
501
|
delete _this[key];
|
|
502
502
|
});
|
|
503
503
|
};
|
|
504
|
-
Plugin.version = "3.13.0
|
|
504
|
+
Plugin.version = "3.13.0";
|
|
505
505
|
return Plugin;
|
|
506
506
|
}());
|
|
507
507
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.13.0
|
|
8
|
+
* @version 3.13.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -151,7 +151,7 @@ function mergeObj(target) {
|
|
|
151
151
|
el.dispatchEvent(new MouseEvent(eventType, params));
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
|
-
catch (
|
|
154
|
+
catch (_a) {
|
|
155
155
|
// Polyfills DOM4 MouseEvent
|
|
156
156
|
return function (el, eventType, params) {
|
|
157
157
|
if (params === void 0) { params = getParams(); }
|
|
@@ -290,7 +290,7 @@ var Plugin = /** @class */ (function () {
|
|
|
290
290
|
delete _this[key];
|
|
291
291
|
});
|
|
292
292
|
};
|
|
293
|
-
Plugin.version = "3.13.0
|
|
293
|
+
Plugin.version = "3.13.0";
|
|
294
294
|
return Plugin;
|
|
295
295
|
}());
|
|
296
296
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.13.0
|
|
8
|
+
* @version 3.13.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -142,7 +142,7 @@ function mergeObj(target) {
|
|
|
142
142
|
el.dispatchEvent(new MouseEvent(eventType, params));
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
catch (
|
|
145
|
+
catch (_a) {
|
|
146
146
|
// Polyfills DOM4 MouseEvent
|
|
147
147
|
return function (el, eventType, params) {
|
|
148
148
|
if (params === void 0) { params = getParams(); }
|
|
@@ -267,7 +267,7 @@ var Plugin = /** @class */ (function () {
|
|
|
267
267
|
delete _this[key];
|
|
268
268
|
});
|
|
269
269
|
};
|
|
270
|
-
Plugin.version = "3.13.0
|
|
270
|
+
Plugin.version = "3.13.0";
|
|
271
271
|
return Plugin;
|
|
272
272
|
}());
|
|
273
273
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "billboard.js",
|
|
3
|
-
"version": "3.13.0
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "Re-usable easy interface JavaScript chart library, based on D3 v4+",
|
|
5
5
|
"homepage": "https://naver.github.io/billboard.js/",
|
|
6
6
|
"main": "dist/billboard.js",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"license": "MIT",
|
|
85
85
|
"readmeFilename": "README.md",
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@types/d3-selection": "^3.0.
|
|
88
|
-
"@types/d3-transition": "^3.0.
|
|
87
|
+
"@types/d3-selection": "^3.0.10",
|
|
88
|
+
"@types/d3-transition": "^3.0.8",
|
|
89
89
|
"d3-axis": "^3.0.0",
|
|
90
90
|
"d3-brush": "^3.0.0",
|
|
91
91
|
"d3-drag": "^3.0.0",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"d3-zoom": "^3.0.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@commitlint/cli": "19.
|
|
104
|
+
"@commitlint/cli": "^19.4.0",
|
|
105
105
|
"@commitlint/config-conventional": "^19.2.2",
|
|
106
|
-
"@eslint/js": "^9.
|
|
106
|
+
"@eslint/js": "^9.9.0",
|
|
107
107
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
108
108
|
"@rollup/plugin-replace": "^5.0.7",
|
|
109
109
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"@vitest/ui": "^2.0.5",
|
|
123
123
|
"better-docs": "^2.7.3",
|
|
124
124
|
"clean-webpack-plugin": "^4.0.0",
|
|
125
|
-
"cloc": "
|
|
126
|
-
"core-js": "^3.
|
|
125
|
+
"cloc": "2.2.0-cloc",
|
|
126
|
+
"core-js": "^3.38.1",
|
|
127
127
|
"coveralls": "^3.1.1",
|
|
128
128
|
"cross-env": "^7.0.3",
|
|
129
129
|
"css-loader": "^7.1.2",
|
|
@@ -134,27 +134,27 @@
|
|
|
134
134
|
"docdash": "^2.0.2",
|
|
135
135
|
"dprint": "^0.47.2",
|
|
136
136
|
"esbuild-loader": "^4.2.2",
|
|
137
|
-
"eslint": "^9.
|
|
137
|
+
"eslint": "^9.9.0",
|
|
138
138
|
"eslint-plugin-import": "^2.29.1",
|
|
139
|
-
"eslint-plugin-jsdoc": "^
|
|
140
|
-
"husky": "^9.1.
|
|
139
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
140
|
+
"husky": "^9.1.5",
|
|
141
141
|
"jsdoc": "^4.0.3",
|
|
142
|
-
"lint-staged": "^15.2.
|
|
143
|
-
"mini-css-extract-plugin": "^2.9.
|
|
144
|
-
"playwright": "^1.46.
|
|
142
|
+
"lint-staged": "^15.2.9",
|
|
143
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
144
|
+
"playwright": "^1.46.1",
|
|
145
145
|
"regenerator-runtime": "^0.14.1",
|
|
146
|
-
"rollup": "^4.
|
|
146
|
+
"rollup": "^4.21.0",
|
|
147
147
|
"rollup-plugin-delete": "^2.0.0",
|
|
148
148
|
"sass": "^1.77.8",
|
|
149
|
-
"sass-loader": "^16.0.
|
|
150
|
-
"semantic-release": "^24.
|
|
149
|
+
"sass-loader": "^16.0.1",
|
|
150
|
+
"semantic-release": "^24.1.0",
|
|
151
151
|
"simulant": "^0.2.2",
|
|
152
152
|
"sinon": "^18.0.0",
|
|
153
153
|
"string-replace-loader": "^3.1.0",
|
|
154
154
|
"style-loader": "^4.0.0",
|
|
155
155
|
"tslib": "^2.6.3",
|
|
156
|
-
"typescript": "5.5.4",
|
|
157
|
-
"typescript-eslint": "^
|
|
156
|
+
"typescript": "^5.5.4",
|
|
157
|
+
"typescript-eslint": "^8.2.0",
|
|
158
158
|
"vitest": "^2.0.5",
|
|
159
159
|
"webpack": "^5.93.0",
|
|
160
160
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
@@ -51,7 +51,6 @@ export default class AxisRendererHelper {
|
|
|
51
51
|
size.w = width;
|
|
52
52
|
size.h = height;
|
|
53
53
|
}
|
|
54
|
-
} catch (e) {
|
|
55
54
|
} finally {
|
|
56
55
|
el.text("");
|
|
57
56
|
}
|
|
@@ -173,7 +172,7 @@ export default class AxisRendererHelper {
|
|
|
173
172
|
// https://github.com/naver/billboard.js/issues/2140
|
|
174
173
|
try {
|
|
175
174
|
transitionSelection = selection.transition(config.transition);
|
|
176
|
-
} catch
|
|
175
|
+
} catch {}
|
|
177
176
|
}
|
|
178
177
|
|
|
179
178
|
return transitionSelection;
|
|
@@ -437,7 +437,7 @@ export default class ChartInternal {
|
|
|
437
437
|
$el.defs = $el.svg.append("defs");
|
|
438
438
|
|
|
439
439
|
if (hasAxis) {
|
|
440
|
-
["id", "idXAxis", "idYAxis", "
|
|
440
|
+
["id", "idXAxis", "idYAxis", "idGrid"].forEach(v => {
|
|
441
441
|
$$.appendClip($el.defs, state.clip[v]);
|
|
442
442
|
});
|
|
443
443
|
}
|
|
@@ -338,7 +338,8 @@ export default {
|
|
|
338
338
|
// https://bugs.webkit.org/show_bug.cgi?id=226683#c3
|
|
339
339
|
// https://stackoverflow.com/questions/67836886/wheel-event-is-not-fired-on-a-svg-group-element-in-safari
|
|
340
340
|
if (
|
|
341
|
-
window.GestureEvent &&
|
|
341
|
+
window.GestureEvent &&
|
|
342
|
+
/^((?!chrome|android|mobile).)*safari/i.test(window.navigator?.userAgent)
|
|
342
343
|
) {
|
|
343
344
|
svg.on("wheel", () => {});
|
|
344
345
|
}
|
|
@@ -48,7 +48,7 @@ export default {
|
|
|
48
48
|
while (v < 30 && parent && parent.tagName !== "BODY") {
|
|
49
49
|
try {
|
|
50
50
|
v = parent.getBoundingClientRect()[key];
|
|
51
|
-
} catch
|
|
51
|
+
} catch {
|
|
52
52
|
if (offsetName in parent) {
|
|
53
53
|
// In IE in certain cases getBoundingClientRect
|
|
54
54
|
// will cause an "unspecified error"
|
|
@@ -6,19 +6,6 @@
|
|
|
6
6
|
* y2 Axis config options
|
|
7
7
|
*/
|
|
8
8
|
export default {
|
|
9
|
-
/**
|
|
10
|
-
* Set clip-path attribute for y2 axis element
|
|
11
|
-
* - **NOTE**: `clip-path` attribute for y2 Axis is set only when `axis.y2.inner` option is true.
|
|
12
|
-
* @name axis․y2․clipPath
|
|
13
|
-
* @memberof Options
|
|
14
|
-
* @type {boolean}
|
|
15
|
-
* @default true
|
|
16
|
-
* @example
|
|
17
|
-
* // don't set 'clip-path' attribute
|
|
18
|
-
* clipPath: false
|
|
19
|
-
*/
|
|
20
|
-
axis_y2_clipPath: true,
|
|
21
|
-
|
|
22
9
|
/**
|
|
23
10
|
* Show or hide y2 axis.
|
|
24
11
|
* - **NOTE**:
|
|
@@ -81,6 +81,6 @@ export default {
|
|
|
81
81
|
zoom_onzoomstart: <Function | undefined>undefined,
|
|
82
82
|
zoom_onzoomend: <Function | undefined>undefined,
|
|
83
83
|
zoom_resetButton: <{text: string} | boolean>true,
|
|
84
|
-
zoom_x_min: <
|
|
85
|
-
zoom_x_max: <
|
|
84
|
+
zoom_x_min: <number | Date | undefined>undefined,
|
|
85
|
+
zoom_x_max: <number | Date | undefined>undefined
|
|
86
86
|
};
|
package/src/module/generator.ts
CHANGED
package/src/module/util.ts
CHANGED
|
@@ -275,7 +275,7 @@ function getPointer(event, element?: Element): number[] {
|
|
|
275
275
|
|
|
276
276
|
try {
|
|
277
277
|
pointer = d3Pointer(touches || event, element);
|
|
278
|
-
} catch
|
|
278
|
+
} catch {}
|
|
279
279
|
|
|
280
280
|
return pointer.map(v => (isNaN(v) ? 0 : v));
|
|
281
281
|
}
|
|
@@ -691,7 +691,7 @@ const emulateEvent = {
|
|
|
691
691
|
return (el: SVGElement | HTMLElement, eventType: string, params = getParams()) => {
|
|
692
692
|
el.dispatchEvent(new MouseEvent(eventType, params));
|
|
693
693
|
};
|
|
694
|
-
} catch
|
|
694
|
+
} catch {
|
|
695
695
|
// Polyfills DOM4 MouseEvent
|
|
696
696
|
return (el: SVGElement | HTMLElement, eventType: string, params = getParams()) => {
|
|
697
697
|
const mouseEvent = document.createEvent("MouseEvent");
|