summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
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, 2 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index 93e8d72cfe8..5a4ff51f2d4 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -144,6 +144,7 @@ var BasicDataView = instance.web.Widget.extend({
// measure: quantity to display. either a field from the model, or
// null, in which case we use the "count" measure
init: function (model, options) {
+ console.log("initializing", model, options);
var self = this;
this.model = model;
this.fields = options.fields;
@@ -422,6 +423,7 @@ var PivotTable = BasicDataView.extend({
build_table: function (data) {
var self = this;
+ this.rows = [];
this.cols = [{
path: [],