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:
@@ -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
|
||||
|
||||
@@ -238,7 +238,8 @@ export const havgData = (params, values) => {
|
||||
data: series2,
|
||||
color: utils.colors.peaks,
|
||||
type: 'column',
|
||||
yAxis: 1
|
||||
yAxis: 1,
|
||||
zIndex: 2
|
||||
}
|
||||
]
|
||||
// options.plotOptions.column = {
|
||||
@@ -337,6 +338,7 @@ export const havgData = (params, values) => {
|
||||
color: utils.colors.peaks,
|
||||
type: 'column',
|
||||
yAxis: 1,
|
||||
zIndex: 2,
|
||||
}
|
||||
]
|
||||
options.plotOptions.column = {
|
||||
|
||||
Reference in New Issue
Block a user