Commit aa27c13b by Torkel Ödegaard

Merge pull request #208 from fstern/master

Added graphite functions: nPercentile and keepLastValue
parents 336cf768 2ea21e1f
...@@ -51,6 +51,13 @@ function (_) { ...@@ -51,6 +51,13 @@ function (_) {
}); });
addFuncDef({ addFuncDef({
name: "nPercentile",
category: categories.Calculate,
params: [ { name: "Nth percentile", type: 'int' } ],
defaultParams: [95]
});
addFuncDef({
name: 'sumSeries', name: 'sumSeries',
shortName: 'sum', shortName: 'sum',
category: categories.Combine, category: categories.Combine,
...@@ -164,6 +171,11 @@ function (_) { ...@@ -164,6 +171,11 @@ function (_) {
}); });
addFuncDef({ addFuncDef({
name: 'keepLastValue',
category: categories.Special,
});
addFuncDef({
name: 'scale', name: 'scale',
category: categories.Transform, category: categories.Transform,
params: [ { name: "factor", type: "int", } ], params: [ { name: "factor", type: "int", } ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment