@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.
- package/index.js +1 -1
- 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;
|