summaryrefslogtreecommitdiff
path: root/python/gras/query/chart_handler_breakdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'python/gras/query/chart_handler_breakdown.js')
-rw-r--r--python/gras/query/chart_handler_breakdown.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/gras/query/chart_handler_breakdown.js b/python/gras/query/chart_handler_breakdown.js
index f897c5b..459c2d3 100644
--- a/python/gras/query/chart_handler_breakdown.js
+++ b/python/gras/query/chart_handler_breakdown.js
@@ -32,6 +32,8 @@ GrasChartHandlerBreakdown.prototype.update = function(point)
var options = {
chartArea:{left:5,top:0,right:5,bottom:0,width:"100%",height:"100%"},
};
+ if (this.gc_resize) options.width = 50;
+ if (this.gc_resize) options.height = 50;
this.chart.draw(data, options);
};