From 3f29bb43a52cf50904932b154d9f91483e157b3d Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Sun, 12 Feb 2017 01:10:48 +0200 Subject: [PATCH] properly reset charts after max time of refreshes; fixes #1631 --- web/dashboard.js | 3 ++- web/index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/dashboard.js b/web/dashboard.js index 9078b26e..5119a787 100644 --- a/web/dashboard.js +++ b/web/dashboard.js @@ -3139,7 +3139,8 @@ var NETDATA = window.NETDATA || {}; if(this.debug === true) this.log('max updates of ' + this.updates_since_last_creation.toString() + ' reached. Forcing re-generation.'); - this.chart_created = false; + init(); + return; } // check and update the legend diff --git a/web/index.html b/web/index.html index e8e821f4..19a5fd5e 100644 --- a/web/index.html +++ b/web/index.html @@ -3427,4 +3427,4 @@ - + -- 2.39.2