summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2014-03-28 02:35:18 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2014-03-28 02:35:18 +0200
commit258efd76fe64ce5a33df07aa40a65f092d273182 (patch)
tree7fdc7bb1b3bc8b61cbf1b37a7e577c661b61de28 /web
parentd6e99d06f402e0bc858e018d4bbbb3665bc91308 (diff)
disabled clearChart() to avoid flashing in firefox
Diffstat (limited to 'web')
-rw-r--r--web/netdata.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/netdata.js b/web/netdata.js
index 608fe2efab..b5c33411f2 100644
--- a/web/netdata.js
+++ b/web/netdata.js
@@ -14,7 +14,7 @@
if(charts[index].chart != null) {
if(charts[index].chart.getSelection()[0]) return;
- if(charts[index].refreshCount >= 1) {
+ if(charts[index].refreshCount >= 9999999) {
charts[index].jsondata = null;
charts[index].datatable = null;
charts[index].chart.clearChart();
@@ -46,8 +46,8 @@
var hAxisTitle = null;
var vAxisTitle = null;
- if(height >= 200) hAxisTitle = "Time of Day";
- if(width >= 400) vAxisTitle = charts[index].vtitle;
+ if(height >= 250) hAxisTitle = "Time of Day";
+ if(width >= 450) vAxisTitle = charts[index].vtitle;
var title = charts[index].title;