diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2012-05-08 01:06:29 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2012-05-08 01:06:29 +0200 |
| commit | f7176205863b3335e8fb551ffc554dbc58276f71 (patch) | |
| tree | 73e987d90ee274acbda8240457900bc63ec47579 /addons/web_graph/static/src/js | |
| parent | 3baa750e38aff196caa36c33cd1823eb1284f142 (diff) | |
[IMP] fix
bzr revid: fp@openerp.com-20120507230629-5ohl37bzcg6livlp
Diffstat (limited to 'addons/web_graph/static/src/js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index e70e6fb062f..d994a84c1c7 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -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) } ); |
