Commits

Anonymous committed c1bbd32

In flux fixes for IE compatability. Not Stable.

Comments (0)

Files changed (3)

src/plugins/jqplot.canvasAxisLabelRenderer.js

 
         // don't use the canvas manager with excanvas.
         if ($.jqplot.use_excanvas) {
-            window.G_vmlCanvasManager.uninitElement(elem);
             elem = document.createElement('canvas');
         }
         else {
     };
     
     $.jqplot.CanvasAxisLabelRenderer.prototype.pack = function() {
-        if ($.jqplot.use_excanvas) {
-            //window.G_vmlCanvasManager.init_(document);
-            this._elem.get(0) = window.G_vmlCanvasManager.initElement(this._elem.get(0));
-        }
+        // if ($.jqplot.use_excanvas) {
+        //     //window.G_vmlCanvasManager.init_(document);
+        //     this._elem.get(0) = window.G_vmlCanvasManager.initElement(this._elem.get(0));
+        // }
         this._textRenderer.draw(this._elem.get(0).getContext("2d"), this.label);
     };
     

src/plugins/jqplot.canvasAxisTickRenderer.js

 
         // don't use the canvas manager with excanvas.
         if ($.jqplot.use_excanvas) {
-            window.G_vmlCanvasManager.uninitElement(elem);
             elem = document.createElement('canvas');
         }
         else {
     };
     
     $.jqplot.CanvasAxisTickRenderer.prototype.pack = function() {
-        if ($.jqplot.use_excanvas) {
-            //window.G_vmlCanvasManager.init_(document);
-            this._elem.get(0) = window.G_vmlCanvasManager.initElement(this._elem.get(0));
-        }
+        // if ($.jqplot.use_excanvas) {
+        //     //window.G_vmlCanvasManager.init_(document);
+        //     this._elem.get(0) = window.G_vmlCanvasManager.initElement(this._elem.get(0));
+        // }
         this._textRenderer.draw(this._elem.get(0).getContext("2d"), this.label);
     };
     

src/plugins/jqplot.enhancedLegendRenderer.js

                             if (this.seriesToggle) {
                                 var speed;
                                 if (typeof(this.seriesToggle) == 'string' || typeof(this.seriesToggle) == 'number') {
-                                    if (!$.browser.msie || !this.disableIEFading) {
+                                    if (!$.jqplot.use_excanvas || !this.disableIEFading) {
                                         speed = this.seriesToggle;
                                     }
                                 }