Sign in to follow this  
satishssrc

issue with radio buttons and drill down charts using Combining FusionCharts, PHP & JavaScript (dataURL) method

Recommended Posts

Hello all,

 

 

 

I am trying to do a drill down on a stacked chart by using the same method as mentioned in the fusion charts documentation Combining FusionCharts, PHP & JavaScript (dataURL) method .

 

I have four radio buttons using which I generate a chart that needs to be drilled down. Initially I clicked the radio button say "radio2",and the drill down worked fine. But now the I changed the radio button to "radio1", "radio3", "radio4" and my charts are created but the javascript function 'updateProductChart' IS not invoked.

 

What could be the reason? I think the behavior is a little weird:crazy: I do not understand if the function updateProductChart is invoked for one radio button why does is not work with other radio's too????.

 

 

 

Please help...!!!

 

 

 

thanks,

 

satish

Share this post


Link to post
Share on other sites

Hello all,

 

I have figured out why the javascript function was not invoked, the issue was I was sending something like "2010-8-12 to 2010-8-19" as one of my parameters. And I guess this was not working.

 

 

 

But now the issue is that I have to send something like that, I can't do with out it. So, how do I have to encode it or something that will allow me to even send 2010-8-12 to 2010-8-19 in my javascript function updateProductChart().

 

 

 

Please help!!!!

 

 

 

thanks,

 

satish

Share this post


Link to post
Share on other sites

Hi Satishssrc,

You can use [font= 'Courier New'; COLOR: rgb(41,30,64); FONT-SIZE: 12px" class=Apple-style-span>link="JavaScript:myJS('USA, 235')" to pass your arguments in your js function.

You can also refer to the following link.

 

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