File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
public/app/plugins/datasource/elasticsearch Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 53
53
< input type ="text " class ="gf-form-input max-width-12 " ng-change ="onChangeInternal() " ng-model ="agg.settings.model " blur ="onChange() " spellcheck ='false '>
54
54
</ div >
55
55
56
+ < div class ="gf-form offset-width-7 " ng-if ="agg.type === 'moving_avg' ">
57
+ < label class ="gf-form-label width-10 "> Predict</ label >
58
+ < input type ="number " class ="gf-form-input max-width-12 " ng-model ="agg.settings.predict " ng-blur ="onChangeInternal() " spellcheck ='false '>
59
+ </ div >
60
+
56
61
< div class ="gf-form offset-width-7 " ng-if ="agg.type === 'percentiles' ">
57
62
< label class ="gf-form-label width-10 "> Percentiles</ label >
58
63
< input type ="text " class ="gf-form-input max-width-12 " ng-model ="agg.settings.percents " array-join ng-blur ="onChange() "> </ input >
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ function (_) {
72
72
pipelineOptions : {
73
73
'moving_avg' : [
74
74
{ text : 'window' , default : 5 } ,
75
- { text : 'model' , default : 'simple' }
75
+ { text : 'model' , default : 'simple' } ,
76
+ { text : 'predict' , default : 0 }
76
77
] ,
77
78
'derivative' : [
78
79
{ text : 'unit' , default : undefined } ,
You can’t perform that action at this time.
0 commit comments