ktsha Report post Posted March 29, 2009 Hi all, there is another query, In Fusion chart Documentation its written as Instead of using simple links, you can also set JavaScript links using FusionCharts. That is, you can invoke a JavaScript function present in the same page (in which the chart is present) when the end viewer clicks a data element on the chart. My javascript function is under a public folder ,ie under public i have a 'js' package, under than my Chart.js , inside there is my function named updateFusionChart(......); When i tried to run the application ie, by click on the fusionchart to call the javascript function i was getting an error Cannot find resource 'j-updateFusionChart("' in the public path of module 'com.xxx.dashboard.yyy.Main' So how can i give the exact path for the javascript function. My currentlink attribute is given below. xStreamWriter2.writeAttribute("link","j-updateFusionChart(""+newCondQuery+"",""+funcNameList.get(k)+"","" +statusNameList.get(k)+"",""+DrillDownKPI+"")"); Share this post Link to post Share on other sites
FusionCharts Support Report post Posted March 30, 2009 Hi shajeerkt, Could you please send us the XML that is being generated. Please also specify whether you are using dataXML or dataURL method. You might pass us the code that you are using to render the chart. It seems that there might be some issue with the quote that is encapsulating the parameter that for the link. Share this post Link to post Share on other sites
ktsha Report post Posted March 30, 2009 Hope you are able to view my code.if else please tell me how to post the code. i had put the code in between Share this post Link to post Share on other sites
FusionCharts Support Report post Posted March 30, 2009 Hi, Please attache the file. Share this post Link to post Share on other sites
ktsha Report post Posted March 31, 2009 Hi sudipto, please find the attachments .xml,js,java xml.txt js.txt java.txt Share this post Link to post Share on other sites
Dhruva Report post Posted March 31, 2009 Hello shajeerkt, Please check this link for a possible solution: http://www.fusioncharts.com/forum/FindPost12823.aspx Share this post Link to post Share on other sites