summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-11-23 11:19:22 +0100
committerGery Debongnie <ged@openerp.com>2013-11-23 11:19:22 +0100
commitebf46e668d6f0ae9695eb693b8ffb6b1498ba6c4 (patch)
treec4ff52345f03ef5a969f837b5cd86d19f70bc471 /addons/web_graph/static/src/js/graph.js
parent1e32b763f0e1da669d835b02fbf680f2deea0f65 (diff)
[REF] moves the data formatting for charts to the charts file (instead of pivot) in addon web_graph
bzr revid: ged@openerp.com-20131123101922-xi429dmnwpqlfsiq
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
-rw-r--r--addons/web_graph/static/src/js/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index da3f4257b33..4d74ad71121 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -172,7 +172,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
this.svg.remove();
this.svg = $('<div><svg></svg></div>');
this.$el.filter('.graph_main_content').append(this.svg);
- Charts[mode](this.pivot_table.get_chart_data());
+ Charts[mode](this.pivot_table);
}
},