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
e411b8e4
Commit
e411b8e4
authored
Jan 19, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed icons in graph tooltip, not updated after recent font awesome upgrade, Closes #1355
parent
3be11b98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/app/panels/graph/graph.tooltip.js
+2
-2
No files found.
src/app/panels/graph/graph.tooltip.js
View file @
e411b8e4
...
...
@@ -163,7 +163,7 @@ function ($) {
value
=
series
.
formatValue
(
hoverInfo
.
value
);
seriesHtml
+=
'<div class="graph-tooltip-list-item"><div class="graph-tooltip-series-name">'
;
seriesHtml
+=
'<i class="
icon
-minus" style="color:'
+
series
.
color
+
';"></i> '
+
series
.
label
+
':</div>'
;
seriesHtml
+=
'<i class="
fa fa
-minus" style="color:'
+
series
.
color
+
';"></i> '
+
series
.
label
+
':</div>'
;
seriesHtml
+=
'<div class="graph-tooltip-value">'
+
value
+
'</div></div>'
;
plot
.
highlight
(
i
,
hoverInfo
.
hoverIndex
);
}
...
...
@@ -174,7 +174,7 @@ function ($) {
else
if
(
item
)
{
series
=
seriesList
[
item
.
seriesIndex
];
group
=
'<div class="graph-tooltip-list-item"><div class="graph-tooltip-series-name">'
;
group
+=
'<i class="
icon
-minus" style="color:'
+
item
.
series
.
color
+
';"></i> '
+
series
.
label
+
':</div>'
;
group
+=
'<i class="
fa fa
-minus" style="color:'
+
item
.
series
.
color
+
';"></i> '
+
series
.
label
+
':</div>'
;
if
(
scope
.
panel
.
stack
&&
scope
.
panel
.
tooltip
.
value_type
===
'individual'
)
{
value
=
item
.
datapoint
[
1
]
-
item
.
datapoint
[
2
];
...
...
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