Sign in to follow this  
maveryck21

Fusioncharts On Two Uiwebviews Ios

Recommended Posts

Hey,

 

 

I'm using FusionCharts on an iOS application.

 

Currently I have a view controller with two different UIWebViews that are loading two different charts from different html files.

 

The problem is that both charts are rendered but one of them is invisible as you can see in the screenshot.

 

It only works with one chart at a time. How can I fix this?

 

post-39798-0-58427400-1363880071_thumb.png

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Did you check if there is a duplicate ID? Are you using the latest FusionCharts (3.3.0.18739)?

Share this post


Link to post
Share on other sites

Hey,

 

Thanks for the reply.

 

All charts have a different ID.

 

I'm using the latest version.

 

Any thoughts?

 

Thanks.

Hi,

 

Did you check if there is a duplicate ID? Are you using the latest FusionCharts (3.3.0.18739)?

Share this post


Link to post
Share on other sites

Hey,

 

It seems that I cannot call the FusionCharts library two times in a very short period of time from different files: always need to wait around 1 or 2 seconds because calling the render on the second chart. Why?

 

Thanks

Share this post


Link to post
Share on other sites

Hey,

 

It issue with UIWebview in iOS. Please check out http://double-slash....ebview-objects/ . It can be fixed in two way by adopting a spin lock mechanism or increasing rendering time of run loop by customize the UIWebview.

 

http://stackoverflow.com/questions/15552561/fusioncharts-on-ios-invisible-second-chart/15643070#15643070

 

sourceCode.txt

Edited by sunilkumar

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