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 +4 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5626,10 +5626,6 @@ const EChartsUtilsAll = {
|
|
|
5626
5626
|
if (yData.some((item) => item != null && item != undefined && item != '/')) {
|
|
5627
5627
|
yValIsAllNull = false;
|
|
5628
5628
|
}
|
|
5629
|
-
console.log(111, config);
|
|
5630
|
-
console.log(222, xDataArr);
|
|
5631
|
-
console.log(333, yDataArr);
|
|
5632
|
-
console.log(444, yValIsAllNull);
|
|
5633
5629
|
let option = {
|
|
5634
5630
|
grid: {
|
|
5635
5631
|
// show: true,//是否显示外边框线
|
|
@@ -8068,7 +8064,7 @@ const EChartsUtilsAll = {
|
|
|
8068
8064
|
seriesData.push({
|
|
8069
8065
|
name: item.legend,
|
|
8070
8066
|
type: 'line',
|
|
8071
|
-
data: xDataArr[0].map((x, idx) => [x, yDataArr[index][idx]]),
|
|
8067
|
+
data: xDataArr[0].filter((x) => x != 0 && x != null && x != undefined && x != '/').map((x, idx) => [x, yDataArr[index][idx]]),
|
|
8072
8068
|
symbol: index == 0 ? 'triangle' : index == 1 ? 'circle' : 'rect',
|
|
8073
8069
|
lineStyle: {
|
|
8074
8070
|
color: item.lineColor,
|
|
@@ -8491,7 +8487,9 @@ const EChartsUtils = {
|
|
|
8491
8487
|
retArr.dataOneArr.push(Number(curCellVal));
|
|
8492
8488
|
}
|
|
8493
8489
|
else {
|
|
8494
|
-
retArr.dataOneArr.push(curCellVal == null
|
|
8490
|
+
retArr.dataOneArr.push(curCellVal == null || (curCellVal != null && curCellVal != undefined && curCellVal._error != null && curCellVal._error != undefined)
|
|
8491
|
+
? 0
|
|
8492
|
+
: curCellVal);
|
|
8495
8493
|
}
|
|
8496
8494
|
});
|
|
8497
8495
|
return retArr;
|