billboard.js 3.14.2 → 3.14.3
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 +7 -6
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +3 -3
- package/dist/billboard.pkgd.js +7 -6
- 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 +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +2 -2
- 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 +377 -376
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +4 -4
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +15 -15
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +13 -13
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +10 -10
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +8 -8
- package/package.json +29 -29
- package/src/ChartInternal/data/data.ts +1 -1
- package/src/ChartInternal/interactions/interaction.ts +1 -1
- package/src/config/Options/shape/gauge.ts +3 -2
- package/types/options.shape.d.ts +3 -2
package/dist/billboard.pkgd.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.14.
|
|
8
|
+
* @version 3.14.3
|
|
9
9
|
*
|
|
10
10
|
* All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills.
|
|
11
11
|
* - @types/d3-selection ^3.0.11
|
|
@@ -27905,7 +27905,7 @@ function getDataKeyForJson(keysParam, config) {
|
|
|
27905
27905
|
if (hasViewBox($el.svg)) {
|
|
27906
27906
|
const pos = [point, 0];
|
|
27907
27907
|
isRotated && pos.reverse();
|
|
27908
|
-
point = getTransformCTM($el.
|
|
27908
|
+
point = getTransformCTM($el.eventRect.node(), ...pos)[isRotated ? "y" : "x"];
|
|
27909
27909
|
} else {
|
|
27910
27910
|
point -= isRotated ? rect.top : rect.left;
|
|
27911
27911
|
}
|
|
@@ -28650,7 +28650,7 @@ function drag_defaultTouchable() {
|
|
|
28650
28650
|
let x = left + (mouse ? mouse[0] : 0) + (isMultipleX || isRotated ? 0 : width / 2);
|
|
28651
28651
|
let y = top + (mouse ? mouse[1] : 0) + (isRotated ? 4 : 0);
|
|
28652
28652
|
if (hasViewBox(svg)) {
|
|
28653
|
-
const ctm = getTransformCTM($$.$el.
|
|
28653
|
+
const ctm = getTransformCTM($$.$el.eventRect.node(), x, y, false);
|
|
28654
28654
|
x = ctm.x;
|
|
28655
28655
|
y = ctm.y;
|
|
28656
28656
|
}
|
|
@@ -48728,8 +48728,9 @@ ${percentValue}%`;
|
|
|
48728
48728
|
* @property {number} [gauge.expand.rate=0.98] Set expand rate.
|
|
48729
48729
|
* @property {number} [gauge.expand.duration=50] Set the expand transition time in milliseconds.
|
|
48730
48730
|
* @property {boolean} [gauge.enforceMinMax=false] Enforce to given min/max value.
|
|
48731
|
-
* -
|
|
48732
|
-
*
|
|
48731
|
+
* - **Note:** Only works for single data series.
|
|
48732
|
+
* - When `gauge.min=50` and given value is `30`, gauge will render as empty value.
|
|
48733
|
+
* - When `gauge.max=100` and given value is `120`, gauge will render till 100, not surpassing max value.
|
|
48733
48734
|
* @property {number} [gauge.min=0] Set min value of the gauge.
|
|
48734
48735
|
* @property {number} [gauge.max=100] Set max value of the gauge.
|
|
48735
48736
|
* @property {number} [gauge.startingAngle=-1 * Math.PI / 2] Set starting angle where data draws.
|
|
@@ -49232,7 +49233,7 @@ const bb = {
|
|
|
49232
49233
|
* bb.version; // "1.0.0"
|
|
49233
49234
|
* @memberof bb
|
|
49234
49235
|
*/
|
|
49235
|
-
version: "3.14.
|
|
49236
|
+
version: "3.14.3",
|
|
49236
49237
|
/**
|
|
49237
49238
|
* Generate chart
|
|
49238
49239
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|