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
9b4c0cca
Commit
9b4c0cca
authored
Jun 28, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(flot): fixed flot issue introduced in alerting branch
parent
346ca3fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
docker/blocks/collectd/fig
+1
-1
public/app/plugins/panel/graph/jquery.flot.events.js
+8
-0
public/vendor/flot/jquery.flot.js
+1
-5
No files found.
docker/blocks/collectd/fig
View file @
9b4c0cca
...
...
@@ -9,4 +9,4 @@ collectd:
COLLECT_INTERVAL: 10
links:
- graphite
- memcached
#
- memcached
public/app/plugins/panel/graph/jquery.flot.events.js
View file @
9b4c0cca
...
...
@@ -365,12 +365,20 @@ function ($, _, angular, Drop) {
plot
.
hooks
.
draw
.
push
(
function
(
plot
)
{
var
options
=
plot
.
getOptions
();
var
container
=
plot
.
getPlaceholder
();
var
containerElem
=
container
[
0
];
if
(
containerElem
.
removeEventsElements
)
{
container
.
find
(
".events_line"
).
remove
();
containerElem
.
removeEventsElements
=
false
;
}
if
(
eventMarkers
.
eventsEnabled
)
{
// check for first run
if
(
eventMarkers
.
getEvents
().
length
<
1
)
{
eventMarkers
.
setTypes
(
options
.
events
.
types
);
eventMarkers
.
setupEvents
(
options
.
events
.
data
);
containerElem
.
removeEventsElements
=
true
;
}
else
{
eventMarkers
.
updateEvents
();
}
...
...
public/vendor/flot/jquery.flot.js
View file @
9b4c0cca
...
...
@@ -1316,14 +1316,10 @@ Licensed under the MIT license.
}
function
setupCanvases
()
{
// Make sure the placeholder is clear of everything except canvases
// from a previous plot in this container that we'll try to re-use.
placeholder
.
css
(
"padding"
,
0
)
// padding messes up the positioning
.
children
().
filter
(
function
(){
return
$
(
this
).
hasClass
(
"flot-text"
);
}).
remove
();
placeholder
.
find
(
".flot-text"
).
remove
();
if
(
placeholder
.
css
(
"position"
)
==
'static'
)
placeholder
.
css
(
"position"
,
"relative"
);
// for positioning labels and overlay
...
...
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