make Graphics work again
as base for Mathis work
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user