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.cjs.js CHANGED
@@ -4093,6 +4093,40 @@ const EChartsUtilsAll = {
4093
4093
  xDataSource2 = isTwoLine ? xDataArr[1] : [], // [1.5, 2.4, 3.6, 4.3, 5.4],
4094
4094
  yDataSource1 = yDataArr[0], // [2.25, 2.29, 2.34, 2.29, 2.23],
4095
4095
  yDataSource2 = isTwoLine ? yDataArr[1] : []; // [2.27, 2.32, 2.36, 2.33, 2.26];
4096
+ let xDataLs1 = [], yDataLs1 = [];
4097
+ xDataSource1.forEach((x, index) => {
4098
+ if (x != '/' &&
4099
+ x != 0 &&
4100
+ x != null &&
4101
+ x != undefined &&
4102
+ yDataSource1[index] != '/' &&
4103
+ yDataSource1[index] != 0 &&
4104
+ yDataSource1[index] != null &&
4105
+ yDataSource1[index] != undefined) {
4106
+ xDataLs1.push(x);
4107
+ yDataLs1.push(yDataSource1[index]);
4108
+ }
4109
+ });
4110
+ xDataSource1 = xDataLs1;
4111
+ yDataSource1 = yDataLs1;
4112
+ if (isTwoLine) {
4113
+ let xDataLs2 = [], yDataLs2 = [];
4114
+ xDataSource2.forEach((x, index) => {
4115
+ if (x != '/' &&
4116
+ x != 0 &&
4117
+ x != null &&
4118
+ x != undefined &&
4119
+ yDataSource2[index] != '/' &&
4120
+ yDataSource2[index] != 0 &&
4121
+ yDataSource2[index] != null &&
4122
+ yDataSource2[index] != undefined) {
4123
+ xDataLs2.push(x);
4124
+ yDataLs2.push(yDataSource2[index]);
4125
+ }
4126
+ });
4127
+ xDataSource2 = xDataLs2;
4128
+ yDataSource2 = yDataLs2;
4129
+ }
4096
4130
  let title = config.chartTitle, xName = config.chartXName, yName = config.chartYName, legendName = '图例1';
4097
4131
  const lineFunc = (xDataSource, yDataSource, isShowMarkPoint, isShowMarkLine, isTwoLineData) => {
4098
4132
  //原始数据
@@ -8634,7 +8668,7 @@ const EChartsUtilsAll = {
8634
8668
  return option;
8635
8669
  },
8636
8670
  /**
8637
- * 最大剪应力与法向应力关系曲线
8671
+ * 土工合成材料(拉拔摩擦特性)
8638
8672
  * @param config 折线配置
8639
8673
  * @param xDataArr x轴原始数据(二维数组)
8640
8674
  * @param yDataArr y轴原始数据(二维数组)