mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Closes #164, typeahead / autocomplete for adding graphite functions to a target expression
This commit is contained in:
@@ -245,8 +245,8 @@ function (_) {
|
||||
name: 'lowestCurrent',
|
||||
category: categories.Filter,
|
||||
params: [ { name: "count", type: "int" } ],
|
||||
defaultParams: [5]
|
||||
});
|
||||
defaultParams: [5]
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'movingAverage',
|
||||
@@ -260,7 +260,7 @@ function (_) {
|
||||
category: categories.Filter,
|
||||
params: [ { name: "count", type: "int" } ],
|
||||
defaultParams: [5]
|
||||
});
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'lowestAverage',
|
||||
@@ -318,6 +318,10 @@ function (_) {
|
||||
return new FuncInstance(funcDef);
|
||||
},
|
||||
|
||||
getFuncDef: function(name) {
|
||||
return index[name];
|
||||
},
|
||||
|
||||
getCategories: function() {
|
||||
return categories;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user