[FIX]Fixed the issue of IE text rotation in graphview, as IE doesn't support text...
authormsh-openerp <msh@tinyerp.com>
Fri, 4 May 2012 11:55:13 +0000 (17:25 +0530)
committermsh-openerp <msh@tinyerp.com>
Fri, 4 May 2012 11:55:13 +0000 (17:25 +0530)
bzr revid: msh@tinyerp.com-20120504115513-nmxm1oarh3c9p272

addons/web_graph/static/src/js/graph.js

index b7b6063..96cdbbc 100644 (file)
@@ -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);