Sign in to follow this  
FusionCharts Support

Data URL not passing all arguments to XML Request

Recommended Posts

We are evaluating Fusion to include in our own products and we have run into an issue that we cannot figure out and wondered if anyone else has seen (or solved) this problem. Our application is ROR 2.3.3 and we are using some simple views (at the moment) to render the charts. Since there are several chart types we are passing arguments back from the VIEW to the Controller using standard RoR methods. Our URL (/charts/current_piple_line_by_stage.xml?chart_model=opportunity&type=funnel) is properly in the dataURL section and retrieves data, however the 3rd argument type=funnel is never sent to the controller. If I paste that URL directly into the browser all arguments are valid, so we are assuming that somewhere it is being stripped out.

 

 

 

Has anyone successfully passed more that one argument (not counting the :id) ? Is there something about the dataUrl that Fusion strips items out ? Any insight would be very helpful.

Share this post


Link to post
Share on other sites

That seems to not make a difference. I pulled the object code out :

 

 

 

 

 

 

 

 

 

 

 

 

We do not get the test value returned as a parameter. If we run that on the URL directly, the proper parameters are passed and the XML data is properly returned. It seems like something is stripping any other parameter after the first. We even tried passing it as an array and only the first entry in the array (index = 0) is in the parameter.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

You are most welcome. :)

Glad that could help you.

Happy FusionCharting.

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