rapid-spreadjs 1.0.127 → 1.0.128

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
@@ -4480,7 +4480,7 @@ const EChartsUtilsAll = {
4480
4480
  }
4481
4481
  // console.log(config);
4482
4482
  let isTwoLine = xDataArr.length == 2;
4483
- if (!yDataArr[1].some((x) => x != null && x != undefined && x != '/')) {
4483
+ if (yDataArr.length > 1 && !yDataArr[1].some((x) => x != null && x != undefined && x != '/')) {
4484
4484
  isTwoLine = false;
4485
4485
  }
4486
4486
  let xDataSource1 = xDataArr[0], // [1.6, 2.4, 3.5, 4.6, 5.3],