percentil: refactor

This commit is contained in:
Alexander Zobnin
2017-10-16 15:25:02 +03:00
parent 872f1ac9c8
commit f53eac6f08
12 changed files with 65 additions and 9 deletions

View File

@@ -108,9 +108,9 @@ addFuncDef({
category: 'Aggregate',
params: [
{ name: 'interval', type: 'string' },
{ name: 'percent', type: 'string' }
{ name: 'percent', type: 'float', options: [25, 50, 75, 90, 95, 99, 99.9] }
],
defaultParams: ['1m','95'],
defaultParams: ['1m', 95],
});
addFuncDef({