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
Page 1 of 1
FusionCharts.js setDataURL method problem
Other Replies To This Topic
#2
Posted 29 June 2007 - 02:45 AM
Just URL-Encode the entire URL before passing it to FusionCharts.
Thanks,
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
Other Replies To This Topic
#3
Posted 29 June 2007 - 06:58 AM
Thanks it worked.
I had to CGI.escape the whole url.
I had to CGI.escape the whole url.
Other Replies To This Topic
#4
Posted 01 April 2010 - 10:57 AM
To summarize, CGI.escape can be used in RoR to encode the URL which contains parameters.
Keep FusionCharting!
Srividya
regards,
Srividya Sharma
Srividya Sharma
Other Replies To This Topic
Page 1 of 1


Back to top
MultiQuote