Browse Source

Fixed groups not being filtered after setOptions

v3_develop
jos 10 years ago
parent
commit
d97fcd6379
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      lib/timeline/component/LineGraph.js

+ 5
- 0
lib/timeline/component/LineGraph.js View File

@ -240,6 +240,11 @@ LineGraph.prototype.setOptions = function(options) {
this.groups[UNGROUPED].setOptions(options); this.groups[UNGROUPED].setOptions(options);
} }
} }
// this is used to redraw the graph if the visibility of the groups is changed.
if (this.dom.frame) {
this.redraw(true);
}
}; };
/** /**

Loading…
Cancel
Save