summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_graph/static/src')
-rw-r--r--addons/web_graph/static/src/js/graph.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index 6a70a9c4459..ffc94e6dd84 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -594,10 +594,9 @@ instance.web_graph.Graph = instance.web.Widget.extend({
.height(self.height)
.reduceXTicks(false)
.stacked(self.bar_ui === 'stack')
- .showControls(false)
- .staggerLabels(true);
+ .showControls(false);
- if (self.width / data[0].values.length < 100) {
+ if (self.width / data[0].values.length < 80) {
chart.rotateLabels(-15);
chart.reduceXTicks(true);
chart.margin({bottom:40});