allowing update of torque-aggregation-function (aka countby)
This commit is contained in:
parent
bcee499b93
commit
6a3018dfea
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user