Sign in to follow this  
michael.zhang

setDataXML(External Interface) has problem with IE

Recommended Posts

Hello All,

 

 

 

I have reported the issue here: http://www.fusioncharts.com/forum/Topic22378-35-1.aspx

 

 

 

Now, I reproduced the problem in a very simple situation.

 

 

 

Unzip the file attached to a web server's doc root,

 

 

 

access the hello.html in IE browser,

 

 

 

click on 'Tab 1' you see 'iiiiiiiiiiiiiiiiii',

 

 

 

click on 'Tab 2' you see the chart, and click the button 'Change Data' to change the chart data,

 

 

 

then click on the column B to drill down to 'Tab 1', click on 'Tab 2' to go back to the chart,

 

 

 

now, the buttons do not work, you can not change the data anymore by using setDataXML.

 

 

 

You can see the IE js error: "Object doesn't suport this property or method".

 

 

 

Had anyone experienced anything similar?

app.zip

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Instead of hiding the chart, could you please try with setting the chart at an absolute position which is negative to the top or left of the page?

Share this post


Link to post
Share on other sites

Hi Madhumita,

 

 

 

Thank you for the reply!

 

 

 

Absolute position does solve this simple situation, but we can not control gwt to use 'position' or 'visibility' when gwt compiles java codes to javascript/css.

 

 

 

What I'm looking for is a better javascript solution to embed fusion chart into web page. Interestingly, I found a simple js library called swfobject(http://code.google.com/p/swfobject/). By using swfobject, fusion chart works perfectly and the IE/external interface issue gone. The thing is we built our project heavily relied on the FusionCharts.js from FusionCharts, and we had already done all the work to put fusion chart together with gwt. If we discard the FusionCharts.js file, it's really a big change to the project.

 

 

 

Any suggestions from FusionCharts team will be appreciated.

Share this post


Link to post
Share on other sites

Greetings,

 

 

 

If swfObject has solved your issue, we would certainly look into it on a priority basis and see what are the workarounds that are implemented there.

 

 

 

In the meanwhile, you would speed up the process if you could send in another scaled down demo of an exact same of your previous sample that you sent. Except that this time, you use an swfObject.

 

 

 

I presume that you already have something similar ready, hence it would help us to look into the matter.

Share this post


Link to post
Share on other sites

Hi Shamasis,

 

 

 

The scaled down demo attached has the similar idea as the one attached earlier.

 

 

 

Please click on the 1996 data - Quarter 1 column to drill down.

 

 

 

The swfobject did all the magic.

 

 

 

Hope this demo does something good:)

 

 

 

Thanks!

 

Michael

app.zip

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

FusionCharts.js is a morphed version of swfobject version 1.

Since you pointed out that our chart is working with swfobejct version 2.2, we will definitely try to implement a morphed version of it with FusionCharts.js .

Share this post


Link to post
Share on other sites
Madhumita (1/19/2010)
Hello,

 

 

 

FusionCharts.js is a morphed version of swfobject version 1.

 

 

 

Since you pointed out that our chart is working with swfobejct version 2.2, we will definitely try to implement a morphed version of it with FusionCharts.js .

 

 

 

That will be excellent!

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Thanks.

Please bear with us and we will definitely let you know as soon as we come up with the implementation. :D

Happy FusionCharting.

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
Sign in to follow this