Sign in to follow this  
Guest Rajroop

progress bar

Recommended Posts

Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :D

Could you please send us the sample code that you are using, so that we might test it in our lab?

Awaiting your reply.

Share this post


Link to post
Share on other sites

This is how I call the chart.

var myChart=new FusionCharts("<%=EXT_LIB_PATH%>/FusionCharts/StackedBar2D.swf","compInfoid","320","200","0","1");

 myChart.setDataURL(escape("claimLCTDashboard.do"));

 myChart.render("compinfo");

claimLCTDashboard.do will take some times to generate the xml for the chart. Therefore, it would be nice to see the progress bar moving when the xml is generating. Thanks.

Ian

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please send us the XML codes that you are using to render the chart so that we might test it in our lab?

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi,

 

In FusionCharts, when the XML is fully received then only the progress bar starts to show the loading bar, as of now.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Madhu,

Thanks for sharing your views.

Happy FusionCharting. :D

Share this post


Link to post
Share on other sites

Thanks for your reply. Since the progress bar doesn't move before the xml is ready. Is there anyway to hide that progress bar? Thanks.

Ian

Share this post


Link to post
Share on other sites
Guest Rajroop

Hi Ian,

 

 

 

Although, FusionCharts natively does not support this functionality, there might be a possible workaround to this. :D

 

 

 

You would have to track the 'FC_Loaded(DOMId)' event keeping the chart's visibility disabled. As this event gets fired, you would then need to enable the visibility of the chart. This would seemingly stop the display of the Progress Bar(PBar) before the chart is rendered.

 

Ref.- http://www.fusioncharts.com/docs/?JS_Events.html

 

 

 

I hope this helps. :D

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