franee Report post Posted June 28, 2007 Hi, Im using fusion charts with ruby on rails. Im using the dataURL method and i had problems with querystrings getting lost. example: chart_patient_demographics_graph.setDataURL("/reports/main_doctor_reports/render_graph/1?group_id=1&graph=patient_demographics_graph&test=qwer"); On the render_graph action, when i inspect the params object, all i see is the id and the graph_id. No graph and test param keys anywhere. Any ideas? Im pretty sure i don't have filters that munge the params. thanks, /francis Share this post Link to post Share on other sites
Pallav Report post Posted June 29, 2007 Just URL-Encode the entire URL before passing it to FusionCharts. Share this post Link to post Share on other sites
franee Report post Posted June 29, 2007 Thanks it worked. I had to CGI.escape the whole url. Share this post Link to post Share on other sites
srividya_sharma Report post Posted April 1, 2010 To summarize, CGI.escape can be used in RoR to encode the URL which contains parameters. Keep FusionCharting! Srividya Share this post Link to post Share on other sites