rapid-spreadjs 1.0.102 → 1.0.103

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
@@ -8640,7 +8640,7 @@ const EChartsUtilsAll = {
8640
8640
  * @param yDataArr y轴原始数据(二维数组)
8641
8641
  * @returns 返回ECharts配置项
8642
8642
  */
8643
- chart450: (config, xDataArr, yDataArr, sheet) => {
8643
+ chart450: (config, xDataArr, yDataArr) => {
8644
8644
  let lineData = JSON.parse(config.chartLinesJson);
8645
8645
  // const chartExtJson = config.chartExtJson == null || config.chartExtJson == undefined ? null : JSON.parse(config.chartExtJson);
8646
8646
  let title = config.chartTitle, xName = config.chartXName, yName = config.chartYName, color = lineData[0].lineColor;
@@ -9067,6 +9067,9 @@ const EChartsUtils = {
9067
9067
  else if (config.chartType == 430) {
9068
9068
  option = EChartsUtilsAll.chart430(config, xDataArr, yDataArr, sheet);
9069
9069
  }
9070
+ else if (config.chartType == 450) {
9071
+ option = EChartsUtilsAll.chart450(config, xDataArr, yDataArr);
9072
+ }
9070
9073
  if (option && typeof option === 'object') {
9071
9074
  //如果是隐藏的图表,则需要禁用ECharts的动画效果
9072
9075
  //原因是:如果ECharts使用了动画效果,图表渲染完成可能需要0.5秒,但是在导出ECharts统计图为图片的场景下时,可能在图表还没有渲染完成(动画效果还没结束)前就要获取图像了,此时可能就会造成获取到的图像内容丢失的情况