alexhyx4801 Report post Posted December 11, 2009 (edited) I use MSLine.swf and the method setDataXML xml like below: <set value='245' link='JavaScript:myJS(245)' /> JS like: function myJS(a){ alert(a); } When I clicked the data point of the chart, ie closed automatically!No alert was shown! Can anybody help me? God bless you! Edited December 11, 2009 by Guest Share this post Link to post Share on other sites
Guest Rajroop Report post Posted December 11, 2009 Hey Alex, I hope you are doing well. Saptarshi sends his regards too! Could you please try with this: <set value='245' link='myJS("245")' /> I hope this helps. Share this post Link to post Share on other sites
alexhyx4801 Report post Posted January 15, 2010 Dear Rajroop Thank you very much! I use <set value='245' link='JavaScript:myJS(%26apos;245%26apos;)' /> and it is working. <set value='245' link='JavaScript:myJS(245)' /> can not work because my IE has caught virus. I have another find that when I use FusionChartsRenderer.jsp in EXT project error 80020101 occurs. It is because of the HTML comment tag <!-- Finally, render the chart.-->. window.execScript in IE fails when scripts include HTML comment tag. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted January 16, 2010 Hi Alex, You are most welcome. Could you please try using the j-{user function name}-{parameter} format in the "link" attribute of the <set> element? Ref.- http://www.fusioncharts.com/docs?/DrillDown/JavaScript.html Hope this helps. Also, could you please let us know the version of the IE browser that you are using? Awaiting your reply. :hehe: Share this post Link to post Share on other sites
alexhyx4801 Report post Posted January 20, 2010 Dear Basundhara Ghosal Thank you for your advice! It works. The version of my IE is 7.0.5730.13. You are warmhearted! Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 20, 2010 Hello, You are most welcome. Happy that we could help you. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted January 20, 2010 Hi Alex, You are most welcome. I am glad to help you. Please revert in case you face any further issue. Happy FusionCharting. Share this post Link to post Share on other sites