fixes not concerning graphics

- default is no graphics
- use send_file instead of response (proper mimetype)
- fix issues with parameter blocks
This commit is contained in:
l_samenv
2021-09-17 15:37:04 +02:00
parent fbe70ce68a
commit b55e51fc65
8 changed files with 34 additions and 38 deletions

View File

@ -798,6 +798,7 @@ let graphs = (function (){
}
function resizeHandler() {
if (blocks) { // prevent error when graphics are not used
createGraphs();
adjustLegends();
if (cursorLinePos) {
@ -805,6 +806,7 @@ let graphs = (function (){
cursorLine(null);
update();
}
}
}
window.addEventListener('resize', resizeHandler);
@ -1463,4 +1465,4 @@ function updateCharts2(graph){
function createCharts2(arg) {
console.log('C2', arg)
}
}