Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
293fd93e
Commit
293fd93e
authored
Jan 06, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(elasticsearch): fixed predict default value, fixes #7145
parent
6960fb46
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
public/app/plugins/datasource/elasticsearch/bucket_agg.js
+1
-1
public/app/plugins/datasource/elasticsearch/partials/bucket_agg.html
+1
-1
public/app/plugins/datasource/elasticsearch/query_def.js
+1
-1
No files found.
public/app/plugins/datasource/elasticsearch/bucket_agg.js
View file @
293fd93e
...
...
@@ -73,7 +73,7 @@ function (angular, _, queryDef) {
$scope
.
validateModel
=
function
()
{
$scope
.
index
=
_
.
indexOf
(
bucketAggs
,
$scope
.
agg
);
$scope
.
isFirst
=
$scope
.
index
===
0
;
$scope
.
isLast
=
$scope
.
index
===
bucketAggs
.
length
-
1
;
$scope
.
bucketAggCount
=
bucketAggs
.
length
;
var
settingsLinkText
=
""
;
var
settings
=
$scope
.
agg
.
settings
||
{};
...
...
public/app/plugins/datasource/elasticsearch/partials/bucket_agg.html
View file @
293fd93e
...
...
@@ -23,7 +23,7 @@
<label
class=
"gf-form-label"
ng-if=
"isFirst"
>
<a
class=
"pointer"
ng-click=
"addBucketAgg()"
><i
class=
"fa fa-plus"
></i></a>
</label>
<label
class=
"gf-form-label"
ng-if=
"
!isFirst
"
>
<label
class=
"gf-form-label"
ng-if=
"
bucketAggCount > 1
"
>
<a
class=
"pointer"
ng-click=
"removeBucketAgg()"
><i
class=
"fa fa-minus"
></i></a>
</label>
</div>
...
...
public/app/plugins/datasource/elasticsearch/query_def.js
View file @
293fd93e
...
...
@@ -73,7 +73,7 @@ function (_) {
'moving_avg'
:
[
{
text
:
'window'
,
default
:
5
},
{
text
:
'model'
,
default
:
'simple'
},
{
text
:
'predict'
,
default
:
0
}
{
text
:
'predict'
,
default
:
undefined
}
],
'derivative'
:
[
{
text
:
'unit'
,
default
:
undefined
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment