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.cjs.js CHANGED
@@ -4700,6 +4700,12 @@ const EChartsUtilsAll = {
4700
4700
  xDataXx.filter((x) => x[1] == 0).length == xDataXx.length) {
4701
4701
  yValIsAllNull = true;
4702
4702
  }
4703
+ if (!yDataArr[0].some((x) => x != '' && x != '/' && x != null && x != undefined) &&
4704
+ !yDataArr[1].some((x) => x != '' && x != '/' && x != null && x != undefined) &&
4705
+ !yDataArr[2].some((x) => x != '' && x != '/' && x != null && x != undefined)) {
4706
+ yValIsAllNull = true;
4707
+ }
4708
+ console.log(yValIsAllNull);
4703
4709
  let option = {
4704
4710
  grid: {
4705
4711
  // show: true,// 是否显示外边框线
@@ -4789,7 +4795,11 @@ const EChartsUtilsAll = {
4789
4795
  },
4790
4796
  },
4791
4797
  ],
4792
- series: [getLineObj(1, xData), getLineObj(2, xDataSx), getLineObj(3, xDataXx)],
4798
+ series: [
4799
+ !yValIsAllNull ? getLineObj(1, xData) : [],
4800
+ !yValIsAllNull ? getLineObj(2, xDataSx) : [],
4801
+ !yValIsAllNull ? getLineObj(3, xDataXx) : [],
4802
+ ],
4793
4803
  };
4794
4804
  return option;
4795
4805
  },