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
ca258deb
Commit
ca258deb
authored
Feb 09, 2014
by
Torkel Odegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:torkelo/grafana
parents
79ca0164
bf9c0bb9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/app/directives/grafanaGraph.js
+6
-1
No files found.
src/app/directives/grafanaGraph.js
View file @
ca258deb
...
@@ -141,7 +141,12 @@ function (angular, $, kbn, moment, _) {
...
@@ -141,7 +141,12 @@ function (angular, $, kbn, moment, _) {
});
});
if
(
panel
.
grid
.
threshold2
)
{
if
(
panel
.
grid
.
threshold2
)
{
var
limit2
=
panel
.
grid
.
thresholdLine
?
panel
.
grid
.
threshold2
:
null
;
var
limit2
;
if
(
panel
.
grid
.
thresholdLine
)
{
limit2
=
panel
.
grid
.
threshold2
;
}
else
{
limit2
=
panel
.
grid
.
threshold1
>
panel
.
grid
.
threshold2
?
-
Infinity
:
+
Infinity
;
}
options
.
grid
.
markings
.
push
({
options
.
grid
.
markings
.
push
({
yaxis
:
{
from
:
panel
.
grid
.
threshold2
,
to
:
limit2
},
yaxis
:
{
from
:
panel
.
grid
.
threshold2
,
to
:
limit2
},
color
:
panel
.
grid
.
threshold2Color
color
:
panel
.
grid
.
threshold2Color
...
...
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