From 1abba4dcf98ad26b776d4d515d2c00c3dc46907c Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Thu, 8 Dec 2016 08:44:10 +0100 Subject: [PATCH] Added support of re-plotting the plotted terms --- var/www/templates/terms_plot_tool.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/var/www/templates/terms_plot_tool.html b/var/www/templates/terms_plot_tool.html index fc5ab017..0205a89f 100644 --- a/var/www/templates/terms_plot_tool.html +++ b/var/www/templates/terms_plot_tool.html @@ -72,7 +72,7 @@
- Date: + Date:
@@ -252,26 +252,28 @@ function addData() { } -function replot(duration) { - console.log(plotted_terms); +function replot() { graph_data = []; + promises = []; for(i=0; i