From 8da86807b6d459a7c6d010e447ea006c61790923 Mon Sep 17 00:00:00 2001 From: Gery Debongnie Date: Wed, 11 Dec 2013 15:50:56 +0100 Subject: [PATCH] [FIX] quick fix to make sure charts have a minimal height that is not too small (addon web_graph) bzr revid: ged@openerp.com-20131211145056-nzpnir06xx3q0n9y --- addons/web_graph/static/src/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index f1d08968626..0b0078e7ff1 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -185,7 +185,7 @@ instance.web_graph.GraphView = instance.web.View.extend({ mode: this.mode, pivot: this.pivot_table, width: this.width, - height: this.height - 30, + height: Math.max(this.height - 45, 250), measure_label: this.measure_label() }; openerp.web_graph.draw_chart(options);