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.cjs.js +4 -1
- 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 -1
- 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/dist/types/echarts.d.ts +4 -0
- package/dist/utils/echarts.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7738,10 +7738,13 @@ const EChartsUtils = {
|
|
|
7738
7738
|
* @param GC GC对象
|
|
7739
7739
|
* @param spread 工作簿对象
|
|
7740
7740
|
* @param sheet 工作表对象
|
|
7741
|
-
* @param config
|
|
7741
|
+
* @param config 折线配置
|
|
7742
7742
|
* @param isHideChart 是否隐藏图表
|
|
7743
7743
|
*/
|
|
7744
7744
|
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) {
|
|
7745
|
+
if (config.chartIdStr && config.chartIdStr.length > 0) {
|
|
7746
|
+
config.chartId = config.chartIdStr;
|
|
7747
|
+
}
|
|
7745
7748
|
// 获取扩展配置
|
|
7746
7749
|
const chartExtJson = config.chartExtJson == null || config.chartExtJson == undefined ? null : JSON.parse(config.chartExtJson);
|
|
7747
7750
|
// 如果isShowCon配置存在,则验证isShowCon对应单元格的值是否和输入的配置chartExtJson.isShowVal相等,不相等的话,就不创建图表
|