mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add support for graphite func substr
This commit is contained in:
parent
2b0152f6f4
commit
e441e97030
@ -152,6 +152,16 @@ function (_) {
|
|||||||
defaultParams: [3]
|
defaultParams: [3]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addFuncDef({
|
||||||
|
name: 'substr',
|
||||||
|
category: categories.Special,
|
||||||
|
params: [
|
||||||
|
{ name: "start", type: "int", options: [-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,12] },
|
||||||
|
{ name: "stop", type: "int", options: [-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,12] },
|
||||||
|
],
|
||||||
|
defaultParams: [0, 0]
|
||||||
|
});
|
||||||
|
|
||||||
addFuncDef({
|
addFuncDef({
|
||||||
name: 'sortByName',
|
name: 'sortByName',
|
||||||
category: categories.Special
|
category: categories.Special
|
||||||
|
Loading…
Reference in New Issue
Block a user