mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added movingAverage function
This commit is contained in:
parent
8904a6f4e9
commit
9adc3941b9
@ -206,6 +206,13 @@ function (_) {
|
||||
defaultParams: [5]
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'movingAverage',
|
||||
category: categories.Filter,
|
||||
params: [ { name: "window size", type: "int" } ],
|
||||
defaultParams: [10]
|
||||
});
|
||||
|
||||
_.each(categories, function(funcList, catName) {
|
||||
categories[catName] = _.sortBy(funcList, 'name');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user