Loko

Javascript error xhen rendering chart

Recommended Posts

Hello

 

 

 

I get "Object Doesn't support this property or method" 3 times when rendering the chart. Strangely, I get this error only on some box but not on others, while all our box have precisely the same IE7 version.

 

 

 

After this JS error occurs the chart renders corretly, but if I use the contextual link "save as jpeg" there's a progress bar and the exporter gets active but it does not work (the "save as" system window never appears).

 

 

 

Here is the code :

 


chart_total_personnes = new FusionCharts("/PORTLETS_COMMUNS/FusionCharts/Charts/MSLine.swf", "chart_total_personnes", "600", "350", "0", "1"); 



var myExportComponent = new FusionChartsExportObject("fcExporter1", "http://.../PORTLETS_COMMUNS/FusionCharts/Charts/FCExporter.swf");

myExportComponent.componentAttributes.btnDisabledTitle = 'Enregistrer';

myExportComponent.componentAttributes.btnSaveTitle     = 'Enregistrer';

myExportComponent.componentAttributes.btnWidth         = '120';

myExportComponent.Render("fcexpDiv");



chart_total_personnes.setDataXML(donnees_xml_total_personnes);   

chart_total_personnes.render("chart_total_personnes_div");

 

 

 

and the XML date received from my server starts with :

 

< chart palette='1' caption='Nombre de voyageurs par mois et

 

par soci

Edited by Guest

Share this post


Link to post
Share on other sites

hey there, i need help fixing this problem everytime i try to view my messages i get this error on the site and i cannot view the problem can anyone help me? i dun kno much bout computer problems.

 

 

 

microsoft vbscript runtime error '800a01a8' object required: 'mydoc.documentelement' line 55

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello ,

 

 

 

Could you please elaborate your query a bit more?

 

 

 

Looking forward to your reply.

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