From 743044da855597b64f7559958e6a12ede0c810dc Mon Sep 17 00:00:00 2001 From: msh-openerp Date: Fri, 4 May 2012 17:25:13 +0530 Subject: [PATCH] [FIX]Fixed the issue of IE text rotation in graphview, as IE doesn't support text rotation in degrees, also The rotation property of the BasicImage filter can accept one of four values: 0, 1, 2, or 3 which will rotate the element 0, 90, 180 or 270 degress respectively. bzr revid: msh@tinyerp.com-20120504115513-nmxm1oarh3c9p272 --- addons/web_graph/static/src/js/graph.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index b7b6063189f..96cdbbcd796 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -338,6 +338,8 @@ openerp.web_graph.GraphView = openerp.web.View.extend({ charts.attachEvent("onItemClick", function(id) { self.open_list_view(charts.get(id)); }); + //Fixed IE rotation text issue as IE doesn't support text transform rotation. + jQuery(self.$element.find(".dhx_axis_item_x")).css('filter', 'progid:DXImageTransform.Microsoft.BasicImage(rotation=0)'); }; if (this.renderer) { clearTimeout(this.renderer);