Przeglądaj źródła

Added graphite function 'useSeriesAbove'

Darren Worrall 11 lat temu
rodzic
commit
edb2cf2cf2
1 zmienionych plików z 11 dodań i 0 usunięć
  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');
   });