rapid-spreadjs 1.0.168 → 1.0.169

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
@@ -8716,7 +8716,7 @@ const EChartsUtilsAll = {
8716
8716
  z: 6,
8717
8717
  data: [
8718
8718
  { value: [logX1, y1], realX: x1, realY: y1, name: 'a1' },
8719
- { value: [logX2, y2], realX: x2, realY: +y2.toFixed(2), name: 'a2' },
8719
+ { value: [logX2, y2], realX: x2, realY: isNaN(y2) ? 0 : +y2.toFixed(2), name: 'a2' },
8720
8720
  { value: [logX3, y3], realX: x3, realY: y3, name: 'a3' },
8721
8721
  ],
8722
8722
  symbol: 'circle',
@@ -8743,7 +8743,7 @@ const EChartsUtilsAll = {
8743
8743
  data: [{ coord: [logX2, y2] }],
8744
8744
  label: {
8745
8745
  show: true,
8746
- formatter: '(' + x2 + ', ' + y2.toFixed(2) + ')',
8746
+ formatter: '(' + x2 + ', ' + (isNaN(y2) ? 0 : y2.toFixed(2)) + ')',
8747
8747
  position: 'right',
8748
8748
  distance: 10,
8749
8749
  fontSize: 13,