diff --git a/PythonServer/screens/ts2_helevpres.py b/PythonServer/screens/ts2_helevpres.py index 633c215cdb15999f68544fbbb87295891b42bf4d..6f7383d1c81768cf95e9ee8024980030d28a3a51 100755 --- a/PythonServer/screens/ts2_helevpres.py +++ b/PythonServer/screens/ts2_helevpres.py @@ -136,7 +136,7 @@ class ts2_helevpresScreen(Thread): pv == "TS2-010CRM:Cryo-LT-001:MeasValue" or pv == "TS2-010CRM:Cryo-LT-002:MeasValue" ): - if counter % 7200 == 0: + if counter % 600 == 0: json_dict[pv] = {} for interval in intervals: start_date = ( diff --git a/WebSites/ts2_helevpres/dashboard.json b/WebSites/ts2_helevpres/dashboard.json index edcef6acbf7a670208fb0df5eabf844c04b0115d..02dfb10ab6b9da651b4d81393d5947196aee376e 100644 --- a/WebSites/ts2_helevpres/dashboard.json +++ b/WebSites/ts2_helevpres/dashboard.json @@ -168,7 +168,7 @@ { "type": "html", "settings": { - "html": "<script>\n function setDatasource(event) {\n\t\tfreeboard.showLoadingIndicator(true);\n\t};\n</script>\n<div style=\"position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;\">\n <select onchange=\"setDatasource()\" id=\"time-series\">\n <option value=\"2w\">Two Weeks</option>\n <option value=\"1w\">One Week</option>\n <option value=\"2d\">Two Days</option>\n <option value=\"1d\">One Day</option>\n <option value=\"live\">Live</option>\n </select>\n</div>", + "html": "<script>\n function setDatasource(event) {\n\t\tfreeboard.showLoadingIndicator(true);\n\t};\n</script>\n<div style=\"position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;\">\n <select style=\"padding:0px 0px\" onchange=\"setDatasource()\" id=\"time-series\">\n <option value=\"2w\">Two Weeks</option>\n <option value=\"1w\">One Week</option>\n <option value=\"2d\">Two Days</option>\n <option value=\"1d\">One Day</option>\n <option value=\"live\">Live</option>\n </select>\n</div>", "height": 1 } }