Explorar el Código

added min and max

Aaron Bassett hace 11 años
padre
commit
8d7669bc08
Se han modificado 1 ficheros con 12 adiciones y 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]
   });
 
+  addFuncDef({
+    name: 'maxSeries',
+    shortName: 'max',
+    category: categories.Combine,
+  });
+
+  addFuncDef({
+    name: 'minSeries',
+    shortName: 'min',
+    category: categories.Combine,
+  });
+
   addFuncDef({
     name: 'averageSeriesWithWildcards',
     category: categories.Combine,