@vizabi/bubblechart 4.1.3 → 4.1.5
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 +17 -10
- package/build/bubblechart.js.map +1 -1
- package/build/stats.html +1 -1
- package/package.json +1 -1
package/build/bubblechart.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://github.com/vizabi/bubblechart#readme v4.1.
|
|
1
|
+
// https://github.com/vizabi/bubblechart#readme v4.1.5 build 1724954169997 Copyright 2024 Gapminder Foundation and contributors
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@vizabi/shared-components'), require('d3'), require('mobx')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', '@vizabi/shared-components', 'd3', 'mobx'], factory) :
|
|
@@ -729,6 +729,7 @@
|
|
|
729
729
|
};
|
|
730
730
|
|
|
731
731
|
this.axisTitleComplimentStrings = {Y: "", X: "", S: "", C: ""};
|
|
732
|
+
this.strings = { title: {Y: "", X: "", S: "", C: ""}, title_short: {Y: "", X: "", S: "", C: ""}, subtitle: {Y:"", X: ""}};
|
|
732
733
|
|
|
733
734
|
this._initInfoElements();
|
|
734
735
|
}
|
|
@@ -798,12 +799,6 @@
|
|
|
798
799
|
subtitle: {
|
|
799
800
|
Y: sharedComponents.Utils.getConceptNameMinusShortName(y, this.localise),
|
|
800
801
|
X: sharedComponents.Utils.getConceptNameMinusShortName(x, this.localise)
|
|
801
|
-
},
|
|
802
|
-
unit: {
|
|
803
|
-
Y: sharedComponents.Utils.getConceptUnit(y),
|
|
804
|
-
X: sharedComponents.Utils.getConceptUnit(x),
|
|
805
|
-
S: sharedComponents.Utils.getConceptUnit(size),
|
|
806
|
-
C: sharedComponents.Utils.getConceptUnit(color)
|
|
807
802
|
}
|
|
808
803
|
};
|
|
809
804
|
|
|
@@ -871,6 +866,8 @@
|
|
|
871
866
|
|
|
872
867
|
updateInfoElements() {
|
|
873
868
|
this.services.layout.size;
|
|
869
|
+
this.strings.title.X,
|
|
870
|
+
this.strings.title.Y,
|
|
874
871
|
this.axisTitleComplimentStrings.X;
|
|
875
872
|
this.axisTitleComplimentStrings.Y;
|
|
876
873
|
|
|
@@ -1072,6 +1069,7 @@
|
|
|
1072
1069
|
|
|
1073
1070
|
const decorated = mobx.decorate(BCAxisTitles, {
|
|
1074
1071
|
"MDL": mobx.computed,
|
|
1072
|
+
"strings": mobx.observable,
|
|
1075
1073
|
"axisTitleComplimentStrings": mobx.observable
|
|
1076
1074
|
});
|
|
1077
1075
|
|
|
@@ -2845,8 +2843,17 @@
|
|
|
2845
2843
|
},
|
|
2846
2844
|
"highlighted": { modelType: "selection" },
|
|
2847
2845
|
"superhighlighted": { modelType: "selection" },
|
|
2848
|
-
"x": {
|
|
2849
|
-
|
|
2846
|
+
"x": {
|
|
2847
|
+
scale: {
|
|
2848
|
+
allowedTypes: ["linear", "log", "genericLog", "pow", "time"]
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"y": {
|
|
2852
|
+
modelType: "lane",
|
|
2853
|
+
scale: {
|
|
2854
|
+
allowedTypes: ["linear", "log", "genericLog", "pow", "time", "rank"]
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2850
2857
|
"order": { modelType: "order",
|
|
2851
2858
|
data: {
|
|
2852
2859
|
ref: `markers.${markerName}.encoding.size.data.config`
|
|
@@ -2879,7 +2886,7 @@
|
|
|
2879
2886
|
}
|
|
2880
2887
|
});
|
|
2881
2888
|
|
|
2882
|
-
BubbleChart.versionInfo = { version: "4.1.
|
|
2889
|
+
BubbleChart.versionInfo = { version: "4.1.5", build: 1724954169997, package: {"homepage":"https://github.com/vizabi/bubblechart#readme","name":"@vizabi/bubblechart","description":"Vizabi bubble chart"}, sharedComponents: sharedComponents.versionInfo};
|
|
2883
2890
|
|
|
2884
2891
|
exports.Base = BubbleChart;
|
|
2885
2892
|
|