Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
fcc54cc7
Commit
fcc54cc7
authored
Jan 27, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a memory leak in jqplot
parent
74c0cb6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
graph.php
Web/htdocs/gui/panels/footjs/graph.php
+6
-2
No files found.
Web/htdocs/gui/panels/footjs/graph.php
View file @
fcc54cc7
...
...
@@ -18,8 +18,12 @@ function plotGraph(settings)
success
:
function
(
res
){
res
.
data
.
opt
.
axes
.
xaxis
.
renderer
=
$
.
jqplot
.
DateAxisRenderer
;
res
.
data
.
opt
.
axes
.
xaxis
.
tickRenderer
=
$
.
jqplot
.
CanvasAxisTickRenderer
;
$
(
"#"
+
t
.
settings
.
eid
).
empty
();
$
.
jqplot
(
t
.
settings
.
eid
,
res
.
data
.
data
,
res
.
data
.
opt
);
//$("#"+t.settings.eid).empty();
if
(
typeof
(
t
.
jq
)
!=
'undefined'
)
t
.
jq
.
destroy
();
t
.
jq
=
$
.
jqplot
(
t
.
settings
.
eid
,
res
.
data
.
data
,
res
.
data
.
opt
);
//t.jq.destroy();
}
});
}
...
...
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