anila Report post Posted September 7, 2009 Hi, I am very new to fusion chart development. i m using java,jsp to build charts. i want to call one javascript function on clicking on any where in the chart. As of my knowledge we can call on bars and lines by using link property as part of set tag. but i want same functnality for entire chart. let me know is it possible. Share this post Link to post Share on other sites
Guest Rajroop Report post Posted September 7, 2009 Hello Anila, A most hearty welcome to the FusionCharts Forum. This is very much possible. Could you please refer to the following link to our online documentation page? Ref: http://www.fusioncharts.com/docs/Contents/DrillDown/ClickURL.html I hope this helps. Share this post Link to post Share on other sites
anila Report post Posted September 8, 2009 Hi, Thank u very much for ur response Asap. which page you reffered to me,i read already. here they r calling particular html page as url. insted of that shal i call javascript function like javascript:download('DwnNPS',4). if i have the js file as external file. Thanks Alot..... Share this post Link to post Share on other sites
anila Report post Posted September 8, 2009 Hi, I used like this in my jsp. <chart labelDisplay='Rotate' slantLabels='1' connectNullData='1' baseFont='Ge Inspira' useRoundEdges='1' legendPosition='RIGHT' yAxisName='NPS' legendBorderAlpha='0' shownames='1' showvalues='0' clickURL='download('DwnNPS',2)'> by puting javascript function in head tag in same page. <script language="javascript"> function download(feed,ctl){ var form = document.forms[0]; form.method="POST"; form.action="ExtDXAction.do?type="+feed+"&cn="+ctl; form.submit(); } </script> it is showing invalid xml data. may i know where i did the mistake. Thanks, Anila Share this post Link to post Share on other sites
srividya_sharma Report post Posted April 2, 2010 Hi Like communicated to you, please use %26apos; instead of single quote for javascript parameter. Hope this helps other users too. Srividya Share this post Link to post Share on other sites