dudiq Report post Posted March 16, 2010 Hi, I have a problem to receive data, using javascript functions as link. fusionsCharts examples: <set label='USA' value='235' link="j-myJS('USA',235)"/> <set label='USA' value='235' link="j-myJS-USA,235"/> my examples: 1. <set label='USA' value='235' link="j-myJS('USA-Canada but space',235)"/> 2. <set label='USA' value='235' link="j-myJS-USA-Canada but space,235"/> I have xml data like of my examples, and when press by any column in chart: 1. FireFox generate exception: unterminated string literal [break on this error] try { __flash__toXML(myJS('USA...)")) ; } catch (e) { "<undefined/>"; } because "USA-Canada but space" have a "-" character 2. in this case, parameters are cut off by a space, and i have in output "USA-Canada" instead "USA-Canada but space" What is the problem? In flash or anything else? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 16, 2010 Hi, Welcome to FusionCharts forum. Please try using the format of the link attribute as j:function name(parameters) I hope this helps. Share this post Link to post Share on other sites
dudiq Report post Posted March 17, 2010 So, if I use ":" instead of "-". "j:function name(parameters)" not like "j-function name(parameters)" I can't use in parameters ":" character. For example "USA:CANADA", Am I right? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 17, 2010 Hi, As you have already stated, FusionCharts does not support parameter:parameter format JS function as links. Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 17, 2010 I guess, you could encode the character and use. Hope this helps. Share this post Link to post Share on other sites
dudiq Report post Posted March 19, 2010 This helps, thanx Share this post Link to post Share on other sites
Guest Rajroop Report post Posted March 19, 2010 Srividya ROCKS! Share this post Link to post Share on other sites