@visactor/vchart 1.13.26 → 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/index.es.js CHANGED
@@ -88893,7 +88893,8 @@ class LiquidSeries extends BaseSeries {
88893
88893
  }
88894
88894
  viewDataUpdate(d) {
88895
88895
  super.viewDataUpdate(d);
88896
- this._heightRatio = max$1(...this._data.getLatestData().map((d) => d[this._valueField]));
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
@@ -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
- this._heightRatio = max$1(...this._data.getLatestData().map((d) => d[this._valueField]));
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();