@visactor/vchart 1.13.25 → 1.13.27
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/es5/index.js +1 -1
- package/build/index.es.js +3 -2
- package/build/index.js +3 -2
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/series/liquid/liquid.js +3 -1
- package/cjs/series/liquid/liquid.js.map +1 -1
- package/cjs/series/sankey/tooltip-helper.js +1 -1
- package/cjs/series/sankey/tooltip-helper.js.map +1 -1
- package/esm/series/liquid/liquid.js +3 -1
- package/esm/series/liquid/liquid.js.map +1 -1
- package/esm/series/sankey/tooltip-helper.js +2 -2
- package/esm/series/sankey/tooltip-helper.js.map +1 -1
- package/package.json +3 -3
package/build/index.es.js
CHANGED
|
@@ -86104,7 +86104,7 @@ class SankeySeriesTooltipHelper extends BaseSeriesTooltipHelper {
|
|
|
86104
86104
|
constructor() {
|
|
86105
86105
|
super(...arguments);
|
|
86106
86106
|
this._getDimensionData = (datum) => {
|
|
86107
|
-
if (datum.source) {
|
|
86107
|
+
if (!isNil$1(datum === null || datum === void 0 ? void 0 : datum.source) && !isNil$1(datum === null || datum === void 0 ? void 0 : datum.target)) {
|
|
86108
86108
|
if (isNumber$1(datum.source)) {
|
|
86109
86109
|
const seriesKeys = this.series.getSeriesKeys();
|
|
86110
86110
|
return seriesKeys[datum.source] + ' => ' + seriesKeys[datum.target];
|
|
@@ -88893,7 +88893,8 @@ class LiquidSeries extends BaseSeries {
|
|
|
88893
88893
|
}
|
|
88894
88894
|
viewDataUpdate(d) {
|
|
88895
88895
|
super.viewDataUpdate(d);
|
|
88896
|
-
|
|
88896
|
+
const heightRatio = max$1(...this._data.getLatestData().map((d) => d[this._valueField]));
|
|
88897
|
+
this._heightRatio = heightRatio > 1 ? 1 : heightRatio;
|
|
88897
88898
|
}
|
|
88898
88899
|
initMark() {
|
|
88899
88900
|
this._initLiquidOutlineMark();
|
package/build/index.js
CHANGED
|
@@ -86110,7 +86110,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
86110
86110
|
constructor() {
|
|
86111
86111
|
super(...arguments);
|
|
86112
86112
|
this._getDimensionData = (datum) => {
|
|
86113
|
-
if (datum.source) {
|
|
86113
|
+
if (!isNil$1(datum === null || datum === void 0 ? void 0 : datum.source) && !isNil$1(datum === null || datum === void 0 ? void 0 : datum.target)) {
|
|
86114
86114
|
if (isNumber$1(datum.source)) {
|
|
86115
86115
|
const seriesKeys = this.series.getSeriesKeys();
|
|
86116
86116
|
return seriesKeys[datum.source] + ' => ' + seriesKeys[datum.target];
|
|
@@ -88899,7 +88899,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88899
88899
|
}
|
|
88900
88900
|
viewDataUpdate(d) {
|
|
88901
88901
|
super.viewDataUpdate(d);
|
|
88902
|
-
|
|
88902
|
+
const heightRatio = max$1(...this._data.getLatestData().map((d) => d[this._valueField]));
|
|
88903
|
+
this._heightRatio = heightRatio > 1 ? 1 : heightRatio;
|
|
88903
88904
|
}
|
|
88904
88905
|
initMark() {
|
|
88905
88906
|
this._initLiquidOutlineMark();
|