summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theme/list_lib.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 124cd780c..135a0f9e6 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -949,6 +949,11 @@ function canvas_draw()
0
]);
}
+ if (plot1)
+ {
+ $('chart1').unbind();
+ plot1.destroy();
+ }
plot1 = $.jqplot('chart1', [
depthData,
pressureData,