allowing update of torque-aggregation-function (aka countby)

This commit is contained in:
Pascal 2013-12-10 18:45:42 +01:00
parent bcee499b93
commit 6a3018dfea

View File

@ -383,6 +383,11 @@
refresh = true;
}
if(opt.countby !== undefined && opt.countby !== this.options.countby) {
this.options.countby = opt.countby;
refresh = true;
}
if(opt.data_aggregation !== undefined) {
var c = opt.data_aggregation === 'cumulative';
if (this.options.cumulative !== c) {