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
90c9d9ef
Commit
90c9d9ef
authored
Dec 11, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move plot off scope object
parent
db34054c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/app/panels/histogram/module.js
+2
-2
src/vendor/jquery/jquery.flot.js
+2
-2
No files found.
src/app/panels/histogram/module.js
View file @
90c9d9ef
...
@@ -527,7 +527,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
...
@@ -527,7 +527,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
restrict
:
'A'
,
restrict
:
'A'
,
template
:
'<div></div>'
,
template
:
'<div></div>'
,
link
:
function
(
scope
,
elem
)
{
link
:
function
(
scope
,
elem
)
{
var
data
;
var
data
,
plot
;
scope
.
$on
(
'refresh'
,
function
(){
scope
.
$on
(
'refresh'
,
function
(){
scope
.
get_data
();
scope
.
get_data
();
...
@@ -699,7 +699,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
...
@@ -699,7 +699,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
data
[
i
].
data
=
_d
;
data
[
i
].
data
=
_d
;
}
}
scope
.
plot
=
$
.
plot
(
elem
,
data
,
options
);
plot
=
$
.
plot
(
elem
,
data
,
options
);
}
catch
(
e
)
{
}
catch
(
e
)
{
// Nothing to do here
// Nothing to do here
...
...
src/vendor/jquery/jquery.flot.js
View file @
90c9d9ef
...
@@ -2438,9 +2438,9 @@ Licensed under the MIT license.
...
@@ -2438,9 +2438,9 @@ Licensed under the MIT license.
radius
=
series
.
points
.
radius
,
radius
=
series
.
points
.
radius
,
symbol
=
series
.
points
.
symbol
;
symbol
=
series
.
points
.
symbol
;
// If the user sets the line width to 0, we change it to a very
// If the user sets the line width to 0, we change it to a very
// small value. A line width of 0 seems to force the default of 1.
// small value. A line width of 0 seems to force the default of 1.
// Doing the conditional here allows the shadow setting to still be
// Doing the conditional here allows the shadow setting to still be
// optional even with a lineWidth of 0.
// optional even with a lineWidth of 0.
if
(
lw
==
0
)
if
(
lw
==
0
)
...
...
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