Browse Source

Merge pull request #85 from ohTHATaaronbrown/master

Fixes #84: Added implementation of fund parameter ...
Torkel Ödegaard 12 years ago
parent
commit
45ab6d7c5e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/app/services/graphite/gfunc.js

+ 2 - 2
src/app/services/graphite/gfunc.js

@@ -176,8 +176,8 @@ function (_) {
   addFuncDef({
     name: 'summarize',
     category: categories.Transform,
-    params: [ { name: "interval", type: "string" }],
-    defaultParams: ['1h']
+    params: [ { name: "interval", type: "string" }, { name: "func", type: "select", options: ['sum', 'avg', 'min', 'max', 'last'] }],
+    defaultParams: ['1h', 'sum']
   });
 
   addFuncDef({