@vizabi/bubblechart 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/build/bubblechart.js +10 -8
- package/build/bubblechart.js.map +1 -1
- package/build/stats.html +1371 -616
- package/package.json +2 -2
package/build/bubblechart.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// https://github.com/vizabi/bubblechart#readme v3.14.
|
|
1
|
+
// https://github.com/vizabi/bubblechart#readme v3.14.3 build 1664476338438 Copyright 2022 Gapminder Foundation and contributors
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('VizabiSharedComponents'), require('mobx')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['VizabiSharedComponents', 'mobx'], factory) :
|
|
5
5
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BubbleChart = factory(global.VizabiSharedComponents, global.mobx));
|
|
6
|
-
}(this, (function (VizabiSharedComponents, mobx) { 'use strict';
|
|
6
|
+
})(this, (function (VizabiSharedComponents, mobx) { 'use strict';
|
|
7
7
|
|
|
8
8
|
class PanZoom {
|
|
9
9
|
|
|
@@ -1185,8 +1185,8 @@
|
|
|
1185
1185
|
selected: this.model.encoding.selected,
|
|
1186
1186
|
highlighted: this.model.encoding.highlighted,
|
|
1187
1187
|
superHighlighted: this.model.encoding.superhighlighted,
|
|
1188
|
-
y: this.model.encoding[this.state.alias
|
|
1189
|
-
x: this.model.encoding[this.state.alias
|
|
1188
|
+
y: this.model.encoding[this.state.alias?.y || "y"],
|
|
1189
|
+
x: this.model.encoding[this.state.alias?.x || "x"],
|
|
1190
1190
|
size: this.model.encoding.size,
|
|
1191
1191
|
color: this.model.encoding.color,
|
|
1192
1192
|
label: this.model.encoding.label,
|
|
@@ -2544,7 +2544,7 @@
|
|
|
2544
2544
|
}
|
|
2545
2545
|
|
|
2546
2546
|
_alias(enc) {
|
|
2547
|
-
return this.state.alias[enc] || enc;
|
|
2547
|
+
return this.state.alias?.[enc] || enc;
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
2550
|
|
|
@@ -2601,7 +2601,7 @@
|
|
|
2601
2601
|
|
|
2602
2602
|
constructor(config){
|
|
2603
2603
|
|
|
2604
|
-
const markerName = config.options
|
|
2604
|
+
const markerName = config.options?.markerNames?.bubble || "bubble";
|
|
2605
2605
|
const fullMarker = config.model.markers[markerName];
|
|
2606
2606
|
config.Vizabi.utils.applyDefaults(fullMarker.config, BubbleChart.DEFAULT_CORE(markerName));
|
|
2607
2607
|
|
|
@@ -2703,6 +2703,8 @@
|
|
|
2703
2703
|
}
|
|
2704
2704
|
};
|
|
2705
2705
|
|
|
2706
|
+
BubbleChart.mainComponent = VizabiBubbleChart;
|
|
2707
|
+
|
|
2706
2708
|
BubbleChart.DEFAULT_CORE = (markerName) => ({
|
|
2707
2709
|
requiredEncodings: ["x", "y", "size"],
|
|
2708
2710
|
encoding: {
|
|
@@ -2749,9 +2751,9 @@
|
|
|
2749
2751
|
}
|
|
2750
2752
|
});
|
|
2751
2753
|
|
|
2752
|
-
BubbleChart.versionInfo = { version: "3.14.
|
|
2754
|
+
BubbleChart.versionInfo = { version: "3.14.3", build: 1664476338438, package: {"homepage":"https://github.com/vizabi/bubblechart#readme","name":"@vizabi/bubblechart","description":"Vizabi bubble chart"}, sharedComponents: VizabiSharedComponents.versionInfo};
|
|
2753
2755
|
|
|
2754
2756
|
return BubbleChart;
|
|
2755
2757
|
|
|
2756
|
-
}))
|
|
2758
|
+
}));
|
|
2757
2759
|
//# sourceMappingURL=bubblechart.js.map
|