Sign in to follow this  
amitporeciti

Multiple Charts On A Page.

Recommended Posts

Hi,

 

Can you please elaborate your query a bit more?

 

We are having 10 charts of same type which we are creating using below.

 

new FusionCharts("FusionCharts/Column2D.swf

Now for each "new FusionCharts()" for the same chart type its making a server hit to get the chart.

The chart type is same for all the 10 charts so its the same swf file then why its making 10 hits to the server to get the same swf file ?

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Whenever FusionCharts constructor is called, it creates an object of the chart.

 

To render a chart, it is mandatory to create instance of the FusionCharts.

 

All the created instances/objects have unique-ids. So whether it is a same chart or a different chart, an object will be created.

 

Hope this helps.

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