diff --git a/lib/torque/provider.json.js b/lib/torque/provider.json.js index 1331e67..4fea510 100644 --- a/lib/torque/provider.json.js +++ b/lib/torque/provider.json.js @@ -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) {