rapid-spreadjs 1.0.98 → 1.0.99

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
@@ -4485,8 +4485,8 @@ const EChartsUtilsAll = {
4485
4485
  },
4486
4486
  xAxis: {
4487
4487
  type: 'value',
4488
- max: xAxisMax,
4489
- min: xAxisMin,
4488
+ max: !yValIsAllNull ? xAxisMax : 0,
4489
+ min: !yValIsAllNull ? xAxisMin : 0,
4490
4490
  data: xData,
4491
4491
  axisTick: {
4492
4492
  alignWithLabel: true, //使得刻度线和标签对齐
@@ -4496,8 +4496,8 @@ const EChartsUtilsAll = {
4496
4496
  yAxis: [
4497
4497
  {
4498
4498
  type: 'value',
4499
- max: yAxisMax,
4500
- min: yAxisMin,
4499
+ max: !yValIsAllNull ? yAxisMax : 0,
4500
+ min: !yValIsAllNull ? yAxisMin : 0,
4501
4501
  name: yName,
4502
4502
  nameGap: !yValIsAllNull ? 40 : 5,
4503
4503
  nameRotate: 90,
@@ -4516,7 +4516,7 @@ const EChartsUtilsAll = {
4516
4516
  },
4517
4517
  },
4518
4518
  ],
4519
- series: seriesData,
4519
+ series: !yValIsAllNull ? seriesData : [],
4520
4520
  };
4521
4521
  return option;
4522
4522
  },