olegasdo

Strange situation

Recommended Posts

Hello

 

I've run into the situation with multiple charts on the page. tried examples from docs and forum none worked.

 

Situation:

 

Page has accordion tabs (made with jquerytools)

 

each accordion tab has simple tabs, on the first of these I want chart to be displayed alongside with the form.

 

 

 

 

 

 

 

FusionCharts

 

 

 

 

 

Javascript:

 


var myChart<?php echo $card_data->id;?> = new FusionCharts("<?php echo $this->config->item('base_url');?>assets/swf/Column3D.swf", "myChart<?php echo $card_data->id;?>Id", "350", "400", "0", "1");



		 myChart<?php echo $card_data->id;?>.setDataXML("");

		 myChart<?php echo $card_data->id;?>.render("chart<?php echo $card_data->id;?>div");

 

 

 

And after loading id does not show charts at all. It shows Div in the code, but nothing else happens.

 

 

 

Same setup works with a single chart on the different page (i.e. without < echo $card_data->id>)

 

 

 

Thank you

 

Olegas

 

 

 

p.s. sorry did not managed to post code in the post, attaching it

code.txt

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Could you please send us the entire codes so that we can test with them?

Awaiting 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