[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:
parent
b04f21ea12
commit
8da86807b6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue