summaryrefslogtreecommitdiff
path: root/addons/web_graph/controllers/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_graph/controllers/graph.py')
-rw-r--r--addons/web_graph/controllers/graph.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_graph/controllers/graph.py b/addons/web_graph/controllers/graph.py
index 1535bb37452..4444c734204 100644
--- a/addons/web_graph/controllers/graph.py
+++ b/addons/web_graph/controllers/graph.py
@@ -78,6 +78,7 @@ class GraphView(View):
'label': fields[x]['string']
})
else:
+ xaxis.reverse()
axis = obj.read_group(domain, yaxis+xaxis[0:1], xaxis[0:1], context=context)
for x in axis:
key = x[xaxis[0]]