Neil Hawkins Report post Posted October 4, 2010 Hi is it possible to build in querystrings to the myChart.setDataURL this would enable me to build a more interactive chart... Thx example: <script type="text/javascript"> var myChart = new FusionCharts("../FusionCharts_Professional/Charts/MSLine.swf", "myChartId", "1150", "400", "0", "0"); myChart.setDataURL("nnw_risk/Performance.asp?indexId0=HFRICAI Index&indexId1=MSAUAAPF Index"); myChart.setTransparent(true); myChart.render("nnwperf"); </script> Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted October 5, 2010 Hi, Please try encoding the code that you are using:- Ref.- mychart.setDataURL(encode("nnw_risk/Performance.asp?indexId0=HFRICAI Index&indexId1=MSAUAAPF Index")); I hope this helps. Share this post Link to post Share on other sites
Neil Hawkins Report post Posted October 5, 2010 Hi, Please try encoding the code that you are using:- Ref.- mychart.setDataURL(encode("nnw_risk/Performance.asp?indexId0=HFRICAI Index&indexId1=MSAUAAPF Index")); I hope this helps. What does ecode do? The ASP page has Response.ContentType = "text/xml" which writes out the string as xml... is it the same? so far I can only get the first querystring to work, encode does nothing... subsquent QS do not work, i have checked everything... typos..everything.... thx for any further help on this Share this post Link to post Share on other sites
DannyR Report post Posted October 5, 2010 Neil, I assume he meant escape, not encode (unless FC provides an encode method on window). Check out the following page on w3schools.com: JavaScript escape() Function Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted October 6, 2010 Hi Danny, We apologize for the inconvenience caused. As you have stated, please try using the code using "escape" in place of "encode". Hope this helps. Share this post Link to post Share on other sites
Neil Hawkins Report post Posted October 6, 2010 Hi Danny, We apologize for the inconvenience caused. As you have stated, please try using the code using "escape" in place of "encode". Hope this helps. Works, Thanks very much. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted October 6, 2010 Hi Neil, You are welcome. We are glad that your issue is resolved. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites