callagga

Multiple URL parameters passed in .setDataURL does not work???

Recommended Posts

Hi,

 

 

 

I need to pass two URL parameters via the "setDataURL" method, however when I set more than 1 (one) parameter it seems the 2nd is not recognised. For example I have the following in the view:

 

 

 

categoriesChart.setDataURL("/graph/categories?begin_date=xxx&finish_date=ttt");

 

 

 

When the fusionchart calls ther server to get the data the only URL parameters are: "begin_date"=>"xxx", "FCTime"=>"222" (i.e. the "finish_date" is missing).

 

 

 

Is there a way to work around this? That is how can I pass more than one URL parameter back to my server when the fusion chart goes back to get the XML data?

 

 

 

Thanks

Share this post


Link to post
Share on other sites

hi,

  could you please use encoded url and try again.

  var dataUrl=escape("/graph/categories?begin_date=xxx&finish_date=ttt");

  categoriesChart.setDataURL(dataUrl);

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