Autorefresh
public/javascripts/datetiume.js - added parameter 'params' - refresh all graphics aftter refreshrate public/javascripts/global.js - call showDate with params
This commit is contained in:
@@ -4,7 +4,6 @@ import {DateTime} from './luxon.min.js'
|
||||
export const colors = {'eq': '#0000FF', 'max': '#FF0000', 'min': '#008000', 'peaks': '#DAA520'};
|
||||
|
||||
// Defaults für die Mittelwertbildungen
|
||||
const refreshRate = 5; // Grafik so oft auffrischen (in Minuten)
|
||||
let txtMeldung = false; // falls keine Daten da sind, Text melden
|
||||
const avgTime = 30; // defaul average time für particulate matter
|
||||
let doUpdate = true; // update every 5 min
|
||||
|
||||
Reference in New Issue
Block a user