Explorar o código

added min and max

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

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

@@ -83,6 +83,18 @@ function (_) {
     defaultParams: [3]
     defaultParams: [3]
   });
   });
 
 
+  addFuncDef({
+    name: 'maxSeries',
+    shortName: 'max',
+    category: categories.Combine,
+  });
+
+  addFuncDef({
+    name: 'minSeries',
+    shortName: 'min',
+    category: categories.Combine,
+  });
+
   addFuncDef({
   addFuncDef({
     name: 'averageSeriesWithWildcards',
     name: 'averageSeriesWithWildcards',
     category: categories.Combine,
     category: categories.Combine,