summaryrefslogtreecommitdiff
path: root/python/gras/query/chart_overall_throughput.js
diff options
context:
space:
mode:
Diffstat (limited to 'python/gras/query/chart_overall_throughput.js')
-rw-r--r--python/gras/query/chart_overall_throughput.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/gras/query/chart_overall_throughput.js b/python/gras/query/chart_overall_throughput.js
index 7b99fa4..280c10a 100644
--- a/python/gras/query/chart_overall_throughput.js
+++ b/python/gras/query/chart_overall_throughput.js
@@ -41,5 +41,7 @@ GrasChartOverallThroughput.prototype.update = function(point)
var options = {
legend: {'position': 'bottom'},
};
+ if (this.gc_resize) options.width = 50;
+ if (this.gc_resize) options.height = 50;
this.chart.draw(chart_data, options);
};