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
41b57ef6
Commit
41b57ef6
authored
Dec 27, 2013
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug with series toggle
parent
c679a24c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/app/panels/graphite/module.js
+4
-4
No files found.
src/app/panels/graphite/module.js
View file @
41b57ef6
...
@@ -460,22 +460,22 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
...
@@ -460,22 +460,22 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
delete
hiddenData
[
alias
];
delete
hiddenData
[
alias
];
}
}
render_panel
(
data
);
render_panel
();
});
});
// Receive render events
// Receive render events
scope
.
$on
(
'render'
,
function
(
event
,
d
)
{
scope
.
$on
(
'render'
,
function
(
event
,
d
)
{
data
=
d
||
data
;
data
=
d
||
data
;
render_panel
(
data
);
render_panel
();
});
});
// Re-render if the window is resized
// Re-render if the window is resized
angular
.
element
(
window
).
bind
(
'resize'
,
function
()
{
angular
.
element
(
window
).
bind
(
'resize'
,
function
()
{
render_panel
(
data
);
render_panel
();
});
});
// Function for rendering panel
// Function for rendering panel
function
render_panel
(
data
)
{
function
render_panel
()
{
if
(
!
data
)
{
if
(
!
data
)
{
return
;
return
;
}
}
...
...
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