better visability of peak charts

utilities/errortexts.js
   - typos corrected

sensorspecials/noise.js
   - accept only values for span lower than default values

sensorspecials/noiseChart.js
   - add zIndex to options
This commit is contained in:
rxf
2023-04-05 20:56:08 +02:00
parent 9ef468cf74
commit e66e09e63b
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import * as noiseChart from "./noiseChart.js";
const setoptionfromtable = (opt,tabval) => {
let ret = opt
if ((opt === null) || (opt === '')) {
if ((opt === null) || (opt === '') || (opt < tabval)){
ret = tabval
}
return ret