show haxis title if graph is higher than 200 px
box@home root committed
Jun 21, 2013 at 00:47 UTC
61c75d467923e4f817c06c0da0f7facd88ba8afe
1 file changed
+1
-1
netdata.js
+1
-1
@@ -35,7 +35,7 @@
35
36
var hAxisTitle = null;
37
var vAxisTitle = null;
38
- if(height >= 150) hAxisTitle = "Time of Day";
38
+ if(height >= 200) hAxisTitle = "Time of Day";
39
if(width >= 400) vAxisTitle = "Bandwidth in kbps";
40
41
if(charts[index]) charts[index].draw(charts_data[index], {width: width, height: height, title: charts_titles[index], hAxis: {title: hAxisTitle}, vAxis: {title: vAxisTitle, minValue: 10}});