@cryptotaxi247 / netdata-1 / commits / 258efd76f

disabled clearChart() to avoid flashing in firefox

Costa Tsaousis (ktsaou) committed Mar 28, 2014 at 02:35 UTC 258efd76fe64ce5a33df07aa40a65f092d273182
1 file changed +3 -3
web/netdata.js
+3 -3
@@ -14,7 +14,7 @@
14 if(charts[index].chart != null) {
15 if(charts[index].chart.getSelection()[0]) return;
16
17 - if(charts[index].refreshCount >= 1) {
17 + if(charts[index].refreshCount >= 9999999) {
18 charts[index].jsondata = null;
19 charts[index].datatable = null;
20 charts[index].chart.clearChart();
@@ -46,8 +46,8 @@
46
47 var hAxisTitle = null;
48 var vAxisTitle = null;
49 - if(height >= 200) hAxisTitle = "Time of Day";
50 - if(width >= 400) vAxisTitle = charts[index].vtitle;
49 + if(height >= 250) hAxisTitle = "Time of Day";
50 + if(width >= 450) vAxisTitle = charts[index].vtitle;
51
52 var title = charts[index].title;
53