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
7f33bec7
Commit
7f33bec7
authored
Sep 25, 2014
by
toni-moreno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing the previous fix, now working fine
parent
3ea94c34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/app/directives/grafanaGraph.js
+5
-4
No files found.
src/app/directives/grafanaGraph.js
View file @
7f33bec7
...
...
@@ -356,10 +356,11 @@ function (angular, $, kbn, moment, _) {
if
(
_
.
uniq
(
l
).
length
===
1
)
{
s
=
''
;
series
=
data
[
0
];
j
=
0
;
do
{
++
j
;
}
while
(
series
.
data
[
j
][
0
]
<
pos
.
x
&&
j
<
series
.
length
);
for
(
j
=
0
;
j
<
series
.
data
.
length
;
j
++
)
{
if
(
series
.
data
[
j
][
0
]
>
pos
.
x
){
break
;
}
}
j
--
;
//we take previous value in time.
//now we know the current X (j) position for X and Y values
timestamp
=
dashboard
.
formatDate
(
series
.
data
[
j
][
0
]);
...
...
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