Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem with IE10 & IE11 setImmediate

    Hi,

    We have a small application with SmartGWT LGPL 4.1p and GWT Visualizations.
    Lately, without changes in our app, GWT Visualization PieChart stop working in IE10 and IE11.
    It shows well in Chrome and Firefox.
    The only reasonable explication is that Google have done changes in their jsapi.

    I create a standalone testcase like this :
    - I start from apure HTML example of GWT Visualization PieChart that work fine in IE10 and IE11.
    - Then I start adding SmartGWT libraries.
    - If I use ISC_Containers.js, pages don't show correctly in IE10 and IE11
    The error is : Unable to get value of the property "setImmediate" object is null or undefined
    - If I comment the use of ISC_Containers.js, pages shows correctly.

    I test with the last nightlies for 4.1p et 5.0p to reproduced this.

    Are SmartClient libraries conflicting with GWT Visualization API ?

    Code:
    <!doctype html>
    <html>  <head>    
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>    
    <script type="text/javascript">      
    	google.load("visualization", "1", {packages:["corechart"]});   
    	google.setOnLoadCallback(drawChart);      
    	function drawChart() {        
    		var data = google.visualization.arrayToDataTable([          
    			['Task', 'Hours per Day'], ['Work',     11], ['Eat',      2], ['Commute',  2], ['Watch TV', 2], ['Sleep',    7]        
    		]);       
    		var options = {  title: 'My Daily Activities', is3D:true  };        
    		var chart = new google.visualization.PieChart(document.getElementById('piechart'));        
    		chart.draw(data, options);      
    	}    
    </script>
    </head>  
    <body>
    	<div id="piechart" style="width: 900px; height: 500px;"></div> 
    			
    <script type="text/javascript" src="test41p/ISC_Core.js"></script>
    <script type="text/javascript" src="test41p/ISC_Foundation.js"></script>
    <script type="text/javascript" src="test41p/ISC_Containers.js"></script>
    
    </body>
    </html>
    Attached Files
    Last edited by costy; 24 Feb 2015, 09:29. Reason: More info

    #2
    Hi,

    Can anyone reproduce this issue ?
    Am I the only one ?

    Thanks,
    Costy

    Comment


      #3
      Hi,

      No, same case for me with "Table" of GWT-Visualization.
      I have to use the compatibility mode of IE to get the representation.

      Comment


        #4
        Hi,

        Can Isomorphic help me on this ?

        I have to use IE=9 meta to make it work on ie11.
        It is a shame now that that IE11 use the same GWT compile setting as Firefox. We expect to work the same way.

        Comment


          #5
          Hi,

          I asked the same thing to Google Charts Team.
          For those interested you can follow this link
          https://groups.google.com/forum/#!topic/google-visualization-api/YXrYAu069T0

          Comment

          Working...
          X