rapid-spreadjs 1.0.82 → 1.0.84

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
@@ -5648,10 +5648,6 @@ const EChartsUtilsAll = {
5648
5648
  if (yData.some((item) => item != null && item != undefined && item != '/')) {
5649
5649
  yValIsAllNull = false;
5650
5650
  }
5651
- console.log(111, config);
5652
- console.log(222, xDataArr);
5653
- console.log(333, yDataArr);
5654
- console.log(444, yValIsAllNull);
5655
5651
  let option = {
5656
5652
  grid: {
5657
5653
  // show: true,//是否显示外边框线
@@ -8090,7 +8086,7 @@ const EChartsUtilsAll = {
8090
8086
  seriesData.push({
8091
8087
  name: item.legend,
8092
8088
  type: 'line',
8093
- data: xDataArr[0].map((x, idx) => [x, yDataArr[index][idx]]),
8089
+ data: xDataArr[0].filter((x) => x != 0 && x != null && x != undefined && x != '/').map((x, idx) => [x, yDataArr[index][idx]]),
8094
8090
  symbol: index == 0 ? 'triangle' : index == 1 ? 'circle' : 'rect',
8095
8091
  lineStyle: {
8096
8092
  color: item.lineColor,
@@ -8513,7 +8509,9 @@ const EChartsUtils = {
8513
8509
  retArr.dataOneArr.push(Number(curCellVal));
8514
8510
  }
8515
8511
  else {
8516
- retArr.dataOneArr.push(curCellVal == null ? 0 : curCellVal);
8512
+ retArr.dataOneArr.push(curCellVal == null || (curCellVal != null && curCellVal != undefined && curCellVal._error != null && curCellVal._error != undefined)
8513
+ ? 0
8514
+ : curCellVal);
8517
8515
  }
8518
8516
  });
8519
8517
  return retArr;