make Graphics work again

as base for Mathis work
This commit is contained in:
l_samenv
2024-07-11 10:05:17 +02:00
parent 3fd8bc6bf3
commit 91be383803
7 changed files with 123 additions and 112 deletions

View File

@ -276,7 +276,7 @@ let graphs = (function (){
tag_dict[block.tag] = gindex;
let dict = {}
for (let curve of block.curves) {
if (curve.show) {
if (curve.show !== false) {
vars_array[gindex].push(curve.name);
dict[curve.name] = curve;
}
@ -752,7 +752,7 @@ let graphs = (function (){
}
// this block is either not shown or only in a hidden graph
for (let curve of block.curves) {
if (curve.show) shown = true;
if (curve.show !== false) shown = true;
}
if (shown) break;
}
@ -834,6 +834,7 @@ let graphs = (function (){
panCallback: panCallback,
receivedVars: receivedVars,
createSelection: createSelection,
createGraphs: createGraphs,
doUpdates: function(){return liveMode},
update: update,
updateAuto: updateAuto,