rapid-spreadjs 1.0.47 → 1.0.48

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
@@ -7716,10 +7716,13 @@ const EChartsUtils = {
7716
7716
  * @param GC GC对象
7717
7717
  * @param spread 工作簿对象
7718
7718
  * @param sheet 工作表对象
7719
- * @param config 折现配置
7719
+ * @param config 折线配置
7720
7720
  * @param isHideChart 是否隐藏图表
7721
7721
  */
7722
7722
  create: (GC_1, spread_1, sheet_1, config_1, ...args_1) => __awaiter(void 0, [GC_1, spread_1, sheet_1, config_1, ...args_1], void 0, function* (GC, spread, sheet, config, isHideChart = false) {
7723
+ if (config.chartIdStr && config.chartIdStr.length > 0) {
7724
+ config.chartId = config.chartIdStr;
7725
+ }
7723
7726
  // 获取扩展配置
7724
7727
  const chartExtJson = config.chartExtJson == null || config.chartExtJson == undefined ? null : JSON.parse(config.chartExtJson);
7725
7728
  // 如果isShowCon配置存在,则验证isShowCon对应单元格的值是否和输入的配置chartExtJson.isShowVal相等,不相等的话,就不创建图表