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
69d56b8e
Commit
69d56b8e
authored
Dec 11, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Graph: fix for series tooltip when one series is hidden/disabled, #1199
parent
982a5b1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
CHANGELOG.md
+5
-0
src/app/panels/graph/graph.tooltip.js
+3
-3
src/vendor/angular/angular-dragdrop.js
+0
-1
No files found.
CHANGELOG.md
View file @
69d56b8e
# 1.9.1 (unreleased)
**Fixes**
-
[
Issue #1199
](
https://github.com/grafana/grafana/issues/1199
)
. Graph: fix for series tooltip when one series is hidden/disabled
# 1.9.0 (2014-12-02)
**Enhancements**
...
...
src/app/panels/graph/graph.tooltip.js
View file @
69d56b8e
...
...
@@ -99,9 +99,9 @@ function ($) {
lasthoverIndex
=
hoverIndex
;
}
results
.
push
({
value
:
value
,
hoverIndex
:
newhoverIndex
});
results
.
push
({
value
:
value
,
hoverIndex
:
newhoverIndex
,
series
:
series
});
}
else
{
results
.
push
({
value
:
value
,
hoverIndex
:
hoverIndex
});
results
.
push
({
value
:
value
,
hoverIndex
:
hoverIndex
,
series
:
series
});
}
}
...
...
@@ -149,8 +149,8 @@ function ($) {
timestamp
=
dashboard
.
formatDate
(
seriesHoverInfo
.
time
);
for
(
i
=
0
;
i
<
seriesHoverInfo
.
length
;
i
++
)
{
series
=
seriesList
[
i
];
hoverInfo
=
seriesHoverInfo
[
i
];
series
=
hoverInfo
.
series
;
value
=
series
.
formatValue
(
hoverInfo
.
value
);
seriesHtml
+=
'<div class="graph-tooltip-list-item"><div class="graph-tooltip-series-name">'
;
...
...
src/vendor/angular/angular-dragdrop.js
View file @
69d56b8e
...
...
@@ -39,7 +39,6 @@ angular.module("ang-drag-drop",[])
element
.
attr
(
"draggable"
,
false
);
attrs
.
$observe
(
"uiDraggable"
,
function
(
newValue
)
{
console
.
log
(
newValue
);
if
(
newValue
){
element
.
attr
(
"draggable"
,
newValue
);
}
...
...
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