Explorar o código

Added graphite function 'useSeriesAbove'

Darren Worrall %!s(int64=11) %!d(string=hai) anos
pai
achega
edb2cf2cf2
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      src/app/services/graphite/gfunc.js

+ 11 - 0
src/app/services/graphite/gfunc.js

@@ -561,6 +561,17 @@ function (_) {
     defaultParams: [5]
   });
 
+  addFuncDef({
+    name: 'useSeriesAbove',
+    category: categories.Filter,
+    params: [
+      { name: "value", type: "int" },
+      { name: "search", type: "string" },
+      { name: "replace", type: "string" }
+    ],
+    defaultParams: [0]
+  });
+
   _.each(categories, function(funcList, catName) {
     categories[catName] = _.sortBy(funcList, 'name');
   });