@rfkit/charts 1.1.22 → 1.1.23

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -12451,7 +12451,7 @@ const useMarkers = (props)=>{
12451
12451
  left = outsideLeft + insideLeft / multiple;
12452
12452
  const frequencyStr = frequencyFormat(left);
12453
12453
  const frequency = parseFloat(frequencyStr);
12454
- const level = data[xIndex];
12454
+ const level = data[xIndex] || '';
12455
12455
  const virtualLevel = getVirtualLevel(unit, level)?.toFixed?.(1);
12456
12456
  const levelNum = parseFloat(virtualLevel);
12457
12457
  const top = (max - levelNum) / (max - min) * 100;
package/package.json CHANGED
@@ -5,6 +5,6 @@
5
5
  "types": "index.d.ts",
6
6
  "author": "Hxgh",
7
7
  "license": "MIT",
8
- "version": "1.1.22",
8
+ "version": "1.1.23",
9
9
  "private": false
10
10
  }