rapid-spreadjs 1.0.108 → 1.0.110

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/dist/index.esm.js CHANGED
@@ -4678,6 +4678,12 @@ const EChartsUtilsAll = {
4678
4678
  xDataXx.filter((x) => x[1] == 0).length == xDataXx.length) {
4679
4679
  yValIsAllNull = true;
4680
4680
  }
4681
+ if (!yDataArr[0].some((x) => x != '' && x != '/' && x != null && x != undefined) &&
4682
+ !yDataArr[1].some((x) => x != '' && x != '/' && x != null && x != undefined) &&
4683
+ !yDataArr[2].some((x) => x != '' && x != '/' && x != null && x != undefined)) {
4684
+ yValIsAllNull = true;
4685
+ }
4686
+ console.log(yValIsAllNull);
4681
4687
  let option = {
4682
4688
  grid: {
4683
4689
  // show: true,// 是否显示外边框线
@@ -4767,7 +4773,11 @@ const EChartsUtilsAll = {
4767
4773
  },
4768
4774
  },
4769
4775
  ],
4770
- series: [getLineObj(1, xData), getLineObj(2, xDataSx), getLineObj(3, xDataXx)],
4776
+ series: [
4777
+ !yValIsAllNull ? getLineObj(1, xData) : [],
4778
+ !yValIsAllNull ? getLineObj(2, xDataSx) : [],
4779
+ !yValIsAllNull ? getLineObj(3, xDataXx) : [],
4780
+ ],
4771
4781
  };
4772
4782
  return option;
4773
4783
  },