pca Report post Posted September 22, 2008 Hi everyone I'm trying to use a Java method as a link for drill down charts and I would like to know if there is a way to call the Java method from the chart XML. I'm trying to avoid going to the resulting JavaScript from my code because I don't think that it is a good way to solve my problem. Thanks in advance Share this post Link to post Share on other sites
FusionCharts Support Report post Posted September 23, 2008 Hi, I am afraid, you can not call a Java method. You would need to drilldown to a jsp file. Share this post Link to post Share on other sites
pca Report post Posted September 23, 2008 I downloaded the Election Dashboard example (http://www.fusioncharts.com/demos/Electoral/), after seeing it online, and the links in the states are not working. I am currently using Evaluation versions of Fusion Charts, Maps and Widgets. Am I missing something or is it the evaluation versions that do not support drill down charts functionality? Thanks in advance Share this post Link to post Share on other sites
Pallav Report post Posted September 24, 2008 Can you make sure you're running it from a server (localhost, remote etc.)? Share this post Link to post Share on other sites
pca Report post Posted September 24, 2008 I wasn't. But I tried it using tomcat and now it's working I also had to change the path for the pie chart and the stacked chart from 'chart/xxxx.swf' to 'Chart/xxxx.swf' in Index.html because in linux the paths are case sensitive. Thank you for your help Share this post Link to post Share on other sites
pca Report post Posted October 6, 2008 In case there is someone with the same problem of calling java methods from javascript, I solved it using JSNI. I created a javascript method which calls a java method. I haven't tried it but I think it is also possible doing the same thing with JNI Share this post Link to post Share on other sites