[IMP] fix

bzr revid: fp@openerp.com-20120507230629-5ohl37bzcg6livlp
This commit is contained in:
Fabien Pinckaers
2012-05-08 01:06:29 +02:00
parent 3baa750e38
commit f717620586
+7 -1
View File
@@ -256,7 +256,13 @@ instance.web_graph.GraphView = instance.web.View.extend({
return this.graph_get_data(mode_options,
function (result) {
// TODO: apply mode_options on all results
// TODO: apply mode_options on all result.data
var i;
if (self.mode=='area')
for (i=0; i<result.data.length; i++) {
result.data[i].lines = {fill: true}
}
self.graph_render_all(options, result)
}
);