@visactor/vchart 2.0.5-alpha.4 → 2.0.5-alpha.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/index.es.js CHANGED
@@ -58310,7 +58310,7 @@ const lookup = (data, opt) => {
58310
58310
  });
58311
58311
  };
58312
58312
 
58313
- const version = "2.0.5-alpha.4";
58313
+ const version = "2.0.5-alpha.5";
58314
58314
 
58315
58315
  const addVChartProperty = (data, op) => {
58316
58316
  const context = op.beforeCall();
@@ -84996,7 +84996,7 @@ class SankeySeries extends CartesianSeries {
84996
84996
  }
84997
84997
  if (!colorDomain || isNil$1(colorDomain[0])) {
84998
84998
  colorDomain = this.getNodeList();
84999
- if (colorDomain.length > 10) {
84999
+ if (colorDomain && colorDomain.length > 10) {
85000
85000
  colorRange = (_c = this._getDataScheme()[1]) === null || _c === void 0 ? void 0 : _c.scheme;
85001
85001
  }
85002
85002
  }
package/build/index.js CHANGED
@@ -58316,7 +58316,7 @@
58316
58316
  });
58317
58317
  };
58318
58318
 
58319
- const version = "2.0.5-alpha.4";
58319
+ const version = "2.0.5-alpha.5";
58320
58320
 
58321
58321
  const addVChartProperty = (data, op) => {
58322
58322
  const context = op.beforeCall();
@@ -85002,7 +85002,7 @@
85002
85002
  }
85003
85003
  if (!colorDomain || isNil$1(colorDomain[0])) {
85004
85004
  colorDomain = this.getNodeList();
85005
- if (colorDomain.length > 10) {
85005
+ if (colorDomain && colorDomain.length > 10) {
85006
85006
  colorRange = (_c = this._getDataScheme()[1]) === null || _c === void 0 ? void 0 : _c.scheme;
85007
85007
  }
85008
85008
  }