From f6c791714959d4a167393af9f87ce656d2e6d839 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Mon, 11 Jul 2016 15:05:04 +0200 Subject: [PATCH] Graphs now displayed the highest value. Plotting and filtering is done in its own script. --- var/www/static/js/plot-graph.js | 40 +++++++++++- .../{Tldstrending.html => Trending.html} | 64 +++++++++++-------- 2 files changed, 75 insertions(+), 29 deletions(-) rename var/www/templates/{Tldstrending.html => Trending.html} (71%) diff --git a/var/www/static/js/plot-graph.js b/var/www/static/js/plot-graph.js index 22f2c178..4c9ee382 100644 --- a/var/www/static/js/plot-graph.js +++ b/var/www/static/js/plot-graph.js @@ -1,8 +1,15 @@ -function Graph(id_pannel, path){ +function Graph(id_pannel, path, header_size){ this.path = path; this.id_pannel = id_pannel; - g2 = new Dygraph( + // Hide every header during initialisation + var false_tab = []; + for(i=0; i - - - - - - - + + + + + + + + + - - + + -
-