rapid-spreadjs 1.0.78 → 1.0.79

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
@@ -5179,7 +5179,8 @@ const EChartsUtilsAll = {
5179
5179
  sheet.setValue(chartExtJson.jxhslSnShScfc.row, chartExtJson.jxhslSnShScfc.col, '/');
5180
5180
  }
5181
5181
  else {
5182
- sheet.setValue(chartExtJson.jxhslSnShScfc.row, chartExtJson.jxhslSnShScfc.col, `Y=${EChartsUtilsComm.getRound(gsS.xl, 0.0001)}X+${EChartsUtilsComm.getRound(gsS.jj, 0.0001)}`);
5182
+ const curXVal = EChartsUtilsComm.getRound(gsS.jj, 0.0001);
5183
+ sheet.setValue(chartExtJson.jxhslSnShScfc.row, chartExtJson.jxhslSnShScfc.col, `Y=${EChartsUtilsComm.getRound(gsS.xl, 0.0001)}X${curXVal >= 0 ? '+' : ''}${curXVal}`);
5183
5184
  }
5184
5185
  }
5185
5186
  }
@@ -8224,7 +8225,8 @@ const EChartsUtilsAll = {
8224
8225
  sheet.setValue(chartExtJson.yhmhlBzHgx.row, chartExtJson.yhmhlBzHgx.col, '/');
8225
8226
  }
8226
8227
  else {
8227
- sheet.setValue(chartExtJson.yhmhlBzHgx.row, chartExtJson.yhmhlBzHgx.col, `Y=${EChartsUtilsComm.getRound(gsS.xl, 0.0001)}X+${EChartsUtilsComm.getRound(gsS.jj, 0.0001)}`);
8228
+ const curXVal = EChartsUtilsComm.getRound(gsS.jj, 0.0001);
8229
+ sheet.setValue(chartExtJson.yhmhlBzHgx.row, chartExtJson.yhmhlBzHgx.col, `Y=${EChartsUtilsComm.getRound(gsS.xl, 0.0001)}X${curXVal >= 0 ? '+' : ''}${curXVal}`);
8228
8230
  }
8229
8231
  }
8230
8232
  }