creadtibe

Data Not Display In Ie10

Recommended Posts

Hi,

 

I have a problem with IE10, only show the message "Data no display" and not the charts.

Others web browsers show the charts correctly.

 

I render the charts in Javascript:

$.post( Drupal.settings.basePath + Drupal.settings.enefgy.currentLanguage + "/intranet/ajax/activa", { id_nodo: id, inicio: inicio, fin: fin, hasFlash: hasFlash, formato: formato},
        function(data){ 
            if (typeof(data) == 'object' && window.ActiveXObject) { var str = data.xml; } //for IE covert xml to a string
            else { str = data; } // code for Mozilla, Firefox, Opera, etc.
        
            if (! window.ActiveXObject) var str = (new XMLSerializer()).serializeToString(data); // code for Mozilla, Firefox, Opera, etc.
            var myChartActiva = new FusionCharts( Drupal.settings.basePath + path_fusionCharts + "ZoomLine.swf","myChartActivaId", width, height, "0", "1");
            myChartActiva.setXMLData(str);
            myChartActiva.render(divUsar); 
        });
 

 

Attach test.xml.

 

Thank you.

Greetings,

Jose.

 

 

test.xml

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

I am afraid, we are able to render the chart in IE10 using your XML and latest FusionCharts XT V 3.3.0 files. Please find the attached scrren shot of the same for your reference.

 

Could you please upgrade to the latest version and see if it helps?

 

If you are still facing the issue, please provide the scaled down sample to test form our end.

 

Hope this helps!

post-23588-0-98935400-1364993760_thumb.png

Edited by Sashibhusan

Share this post


Link to post
Share on other sites

Thanks Sashibhunsan.

My solution is only change the javascript codE:

 

$.post( Drupal.settings.basePath + Drupal.settings.enefgy.currentLanguage + "/intranet/ajax/activa", { id_nodo: id, inicio: inicio, fin: fin, hasFlash: hasFlash, formato: formato},
        function(data){ 
            if (typeof(data) == 'object' && window.ActiveXObject && ! isIE10()) { var str = data.xml; } //for IE covert xml to a string
            else { str = data; } // code for Mozilla, Firefox, Opera, etc.
        
            if (! window.ActiveXObject || isIE10()) var str = (new XMLSerializer()).serializeToString(data); // code for Mozilla, Firefox, Opera, IE10 etc.
            var myChartActiva = new FusionCharts( Drupal.settings.basePath + path_fusionCharts + "ZoomLine.swf","myChartActivaId", width, height, "0", "1");
            myChartActiva.setXMLData(str);
            myChartActiva.render(divUsar); 
        });
Edited by creadtibe

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

I am glad to hear that you have managed of your own to resolve your issue. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now