billboard.js 3.4.0 → 3.5.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -4
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +3901 -1451
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +8350 -5297
- package/dist/billboard.pkgd.min.js +3 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +29 -13
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +377 -92
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +447 -109
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +341 -74
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +337 -75
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +4233 -3792
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +4635 -3889
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +4823 -3937
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +4594 -3866
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +4606 -3874
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist-esm/billboard.js +796 -387
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +47 -75
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +68 -86
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +52 -77
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +49 -76
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +49 -76
- package/package.json +40 -40
- package/src/Chart/api/chart.ts +4 -1
- package/src/Chart/api/data.ts +2 -2
- package/src/Chart/api/flow.ts +125 -115
- package/src/ChartInternal/Axis/AxisRenderer.ts +29 -3
- package/src/ChartInternal/ChartInternal.ts +55 -18
- package/src/ChartInternal/data/IData.ts +2 -2
- package/src/ChartInternal/data/convert.helper.ts +226 -0
- package/src/ChartInternal/data/convert.ts +43 -210
- package/src/ChartInternal/data/load.ts +5 -4
- package/src/ChartInternal/interactions/zoom.ts +17 -4
- package/src/ChartInternal/internals/color.ts +59 -36
- package/src/ChartInternal/internals/grid.ts +5 -3
- package/src/ChartInternal/internals/redraw.ts +5 -2
- package/src/ChartInternal/internals/scale.ts +3 -1
- package/src/ChartInternal/internals/size.axis.ts +5 -2
- package/src/ChartInternal/internals/text.ts +118 -17
- package/src/ChartInternal/shape/area.ts +14 -7
- package/src/ChartInternal/shape/bar.ts +19 -10
- package/src/ChartInternal/shape/point.ts +15 -9
- package/src/ChartInternal/shape/polar.ts +1 -1
- package/src/Plugin/sparkline/index.ts +22 -11
- package/src/Plugin/stanford/index.ts +10 -7
- package/src/Plugin/textoverlap/index.ts +4 -1
- package/src/config/Options/Options.ts +2 -0
- package/src/config/Options/common/boost.ts +31 -0
- package/src/config/Options/common/main.ts +15 -1
- package/src/config/Options/common/tooltip.ts +1 -1
- package/src/config/Options/data/data.ts +11 -3
- package/src/config/Options/shape/area.ts +6 -1
- package/src/config/Store/State.ts +3 -0
- package/src/module/browser.ts +2 -1
- package/src/module/generator.ts +18 -16
- package/src/module/util.ts +115 -1
- package/types/chart.d.ts +2 -2
- package/types/options.d.ts +45 -8
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
<
|
|
1
|
+
<picture>
|
|
2
|
+
<source srcset="https://naver.github.io/billboard.js/img/logo/billboard.js-white.svg" media="(prefers-color-scheme: dark)">
|
|
3
|
+
<img src="https://naver.github.io/billboard.js/img/logo/billboard.js.svg" width="350" alt="billboard.js"><br>
|
|
4
|
+
</picture>
|
|
2
5
|
|
|
3
6
|
[![Latest Version][badge-latest]][link-version] [![Next version][badge-next]][link-version] [![semantic-release][badge-semantic-release]][link-semantic-release]
|
|
4
7
|
|
|
@@ -40,7 +43,7 @@ If you have any questions, checkout the previous posts or create a new one at:
|
|
|
40
43
|
- [Issue with 'question' label](https://github.com/naver/billboard.js/issues?utf8=%E2%9C%93&q=label%3Aquestion)
|
|
41
44
|
|
|
42
45
|
## Supported chart types
|
|
43
|
-
<img src="https://naver.github.io/billboard.js/img/chart-types.png?v=
|
|
46
|
+
<img src="https://naver.github.io/billboard.js/img/chart-types.png?v=10" width=800>
|
|
44
47
|
|
|
45
48
|
## Download and Installation
|
|
46
49
|
|
|
@@ -147,11 +150,15 @@ If you want to use 'billboard.js' without installation, load files directly from
|
|
|
147
150
|
|
|
148
151
|
## Supported Browsers
|
|
149
152
|
|
|
150
|
-
> Basically will work on all SVG supported browsers.
|
|
153
|
+
> - Basically will work on all SVG supported browsers.
|
|
154
|
+
> - <sup>*</sup>Notes for legacy browsers:
|
|
155
|
+
> - Recommended to use `packaged` build or construct your own build following [`How to bundle for legacy browsers?`](https://github.com/naver/billboard.js/wiki/How-to-bundle-for-legacy-browsers%3F) instruction.
|
|
156
|
+
> - D3.js dropped the support of legacy browsers since [v6](https://observablehq.com/@d3/d3v6-migration-guide).
|
|
157
|
+
> - The support isn't fully guaranteed.
|
|
151
158
|
|
|
152
159
|
|Internet Explorer|Chrome|Firefox|Safari|iOS|Android|
|
|
153
160
|
|---|---|---|---|---|---|
|
|
154
|
-
|9
|
|
161
|
+
|9+<sup>*</sup>|Latest|Latest|Latest|8+|4+|
|
|
155
162
|
|
|
156
163
|
|
|
157
164
|
## Dependency by version
|