|
|
@ -190,7 +190,7 @@ Graph2d.prototype.getLegend = function(groupId, width, height) { |
|
|
|
*/ |
|
|
|
Graph2d.prototype.isGroupVisible = function(groupId) { |
|
|
|
if (this.linegraph.groups[groupId] !== undefined) { |
|
|
|
return (this.linegraph.groups[groupId].visible && (this.options.groups.visibility[groupId] === undefined || this.options.groups.visibility[groupId] == true)); |
|
|
|
return (this.linegraph.groups[groupId].visible && (this.linegraph.options.groups.visibility[groupId] === undefined || this.linegraph.options.groups.visibility[groupId] == true)); |
|
|
|
} |
|
|
|
else { |
|
|
|
return false; |
|
|
|