|
|
@ -324,7 +324,7 @@ LineGraph.prototype.setGroups = function(groups) { |
|
|
|
// unsubscribe from current dataset
|
|
|
|
if (this.groupsData) { |
|
|
|
util.forEach(this.groupListeners, function (callback, event) { |
|
|
|
me.groupsData.unsubscribe(event, callback); |
|
|
|
me.groupsData.off(event, callback); |
|
|
|
}); |
|
|
|
|
|
|
|
// remove all drawn groups
|
|
|
|