From b5608760c8109fe1a2ff08fc07329e9e088ef9db Mon Sep 17 00:00:00 2001 From: Atonaltzin Date: Thu, 10 May 2018 20:04:28 -0500 Subject: [PATCH] fix(web): Se modifca el archivo web_graph_improved para agregar una rotacion de -15 grados Se agregan -15 grados a las etiquetas para que estas no quedenencimadas unas con otras --- web_graph_improved/static/src/js/web_graph_improved.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web_graph_improved/static/src/js/web_graph_improved.js b/web_graph_improved/static/src/js/web_graph_improved.js index 56cfc575..1df96b9e 100644 --- a/web_graph_improved/static/src/js/web_graph_improved.js +++ b/web_graph_improved/static/src/js/web_graph_improved.js @@ -65,7 +65,9 @@ openerp.web_graph_improved = function(instance) { nv.addGraph(function () { var chart = nv.models.multiBarChart() .stacked(self.bar_ui === 'stack') - .showControls(show_controls); + .showControls(show_controls) + .rotateLabels(-15) + ; d3.select(self.svg) .datum(data)