rapid-spreadjs 1.0.103 → 1.0.104

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
@@ -4071,6 +4071,40 @@ const EChartsUtilsAll = {
4071
4071
  xDataSource2 = isTwoLine ? xDataArr[1] : [], // [1.5, 2.4, 3.6, 4.3, 5.4],
4072
4072
  yDataSource1 = yDataArr[0], // [2.25, 2.29, 2.34, 2.29, 2.23],
4073
4073
  yDataSource2 = isTwoLine ? yDataArr[1] : []; // [2.27, 2.32, 2.36, 2.33, 2.26];
4074
+ let xDataLs1 = [], yDataLs1 = [];
4075
+ xDataSource1.forEach((x, index) => {
4076
+ if (x != '/' &&
4077
+ x != 0 &&
4078
+ x != null &&
4079
+ x != undefined &&
4080
+ yDataSource1[index] != '/' &&
4081
+ yDataSource1[index] != 0 &&
4082
+ yDataSource1[index] != null &&
4083
+ yDataSource1[index] != undefined) {
4084
+ xDataLs1.push(x);
4085
+ yDataLs1.push(yDataSource1[index]);
4086
+ }
4087
+ });
4088
+ xDataSource1 = xDataLs1;
4089
+ yDataSource1 = yDataLs1;
4090
+ if (isTwoLine) {
4091
+ let xDataLs2 = [], yDataLs2 = [];
4092
+ xDataSource2.forEach((x, index) => {
4093
+ if (x != '/' &&
4094
+ x != 0 &&
4095
+ x != null &&
4096
+ x != undefined &&
4097
+ yDataSource2[index] != '/' &&
4098
+ yDataSource2[index] != 0 &&
4099
+ yDataSource2[index] != null &&
4100
+ yDataSource2[index] != undefined) {
4101
+ xDataLs2.push(x);
4102
+ yDataLs2.push(yDataSource2[index]);
4103
+ }
4104
+ });
4105
+ xDataSource2 = xDataLs2;
4106
+ yDataSource2 = yDataLs2;
4107
+ }
4074
4108
  let title = config.chartTitle, xName = config.chartXName, yName = config.chartYName, legendName = '图例1';
4075
4109
  const lineFunc = (xDataSource, yDataSource, isShowMarkPoint, isShowMarkLine, isTwoLineData) => {
4076
4110
  //原始数据
@@ -8612,7 +8646,7 @@ const EChartsUtilsAll = {
8612
8646
  return option;
8613
8647
  },
8614
8648
  /**
8615
- * 最大剪应力与法向应力关系曲线
8649
+ * 土工合成材料(拉拔摩擦特性)
8616
8650
  * @param config 折线配置
8617
8651
  * @param xDataArr x轴原始数据(二维数组)
8618
8652
  * @param yDataArr y轴原始数据(二维数组)