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
43b844fb
Commit
43b844fb
authored
Dec 06, 2013
by
yamakatu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify the function so that does not show 0, when two or more lines are drawn.
parent
678b96d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/app/panels/histogram/timeSeries.js
+3
-1
No files found.
src/app/panels/histogram/timeSeries.js
View file @
43b844fb
...
@@ -222,7 +222,9 @@ function (_, Interval) {
...
@@ -222,7 +222,9 @@ function (_, Interval) {
var
next
,
expected_next
,
prev
,
expected_prev
;
var
next
,
expected_next
,
prev
,
expected_prev
;
// add the current time
// add the current time
result
.
push
([
time
,
this
.
_data
[
time
]
||
0
]);
if
(
this
.
_data
[
time
]){
result
.
push
([
time
,
this
.
_data
[
time
]]);
}
return
result
;
return
result
;
};
};
...
...
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