[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
This commit is contained in:
Gery Debongnie 2013-12-11 15:50:56 +01:00
parent b04f21ea12
commit 8da86807b6
1 changed files with 1 additions and 1 deletions

View File

@ -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);