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
347f6aed
Commit
347f6aed
authored
Apr 05, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small code cleanup in grafanaGraph
parent
24ea23ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
CHANGELOG.md
+3
-1
src/app/directives/grafanaGraph.js
+16
-5
No files found.
CHANGELOG.md
View file @
347f6aed
# vNext
-
More graphite functions
-
Fix for Text panel, now changes take effect directly (Issue #251)
-
Fix when adding functions without params that did not cause graph to update (issue #267)
-
Fix when adding functions without params that did not cause graph to update (Issue #267)
-
Graphite errors are now much easier to see and troubleshoot with the new inspector (Issue #265)
-
Use influxdb aliases to distinguish between multiple columns (Issue #283)
# 1.5.2 (2013-03-24)
### New Features and improvements
...
...
src/app/directives/grafanaGraph.js
View file @
347f6aed
...
...
@@ -52,14 +52,25 @@ function (angular, $, kbn, moment, _) {
}
}
// Function for rendering panel
function
render_panel
()
{
if
(
!
data
)
{
return
;
}
if
(
scope
.
otherPanelInFullscreenMode
())
{
return
;
}
if
(
!
setElementHeight
())
{
return
;
}
function
shouldAbortRender
()
{
if
(
!
data
)
{
return
true
;
}
if
(
$rootScope
.
fullscreen
&&
!
scope
.
fullscreen
)
{
return
true
;
}
if
(
!
setElementHeight
())
{
return
true
;
}
if
(
_
.
isString
(
data
))
{
render_panel_as_graphite_png
(
data
);
return
true
;
}
}
// Function for rendering panel
function
render_panel
()
{
if
(
shouldAbortRender
())
{
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