abbottmw Report post Posted January 13, 2010 Im trying to add a javascript link in my chart like so.. <set label="2000" value="15695" link="j-myJS-Malaysia, 121" /> i have a myJS() function on my page just taken from the examples. function myJS(myVar){window.alert(myVar);} When i run the chart, and i click on a bar, it acts like j-myJS-Malaysia, 121 is a link to a file, and not a javascript function. When i switch it to javascript:myJS('Malaysia, 121') it works fine. Am i missing something? Share this post Link to post Share on other sites
abbottmw Report post Posted January 13, 2010 Okay I went back and grabbed the latest FusionCharts.js file, and everything is good. Apparently I had an old FusionCharts.js file. Share this post Link to post Share on other sites
abbottmw Report post Posted January 13, 2010 Okay i seem to be back to square one. It worked for a second, but i cleaned my cache, and now im back to the first problem. it is treating it like a real link and not a js link. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 13, 2010 Hello, Could you please attach the entire code along with the XML? We have not encountered such an issue before. Share this post Link to post Share on other sites
abbottmw Report post Posted January 14, 2010 I downloaded fusioncharts evaluation again and extracted the charts, js, cleared my cache, and tried it one more time and it works. I apologize. Thanks! -Matthew Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 14, 2010 Hey Matthew, That's great! Happy FusionCharting. Share this post Link to post Share on other sites