IDForums Report post Posted May 1, 2009 (edited) I am getting this error "FusionCharts cannot be resolved to a type" when I am using the following code in my JSP. script language = "Javascript" src = "Files/FusionCharts.js"> div id="TowHourTest">The chart will appear within this DIV. This text will be replaced by the chart. script type="text/javascript"> var myChart = new FusionCharts("Charts/FI2_RT_Bulb.swf", "TwoHrTst", "200", "200", "0", "0"); myChart.setDataURL("bulb1.xml"); myChart.render("TowHourTest"); /script> Edited May 1, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 4, 2009 Hi, Please make sure you are not using any script tag which is suppsed to run at server side but where you might have put client side code. Please note that the new FusionCharts(...) would run as client side JavaScript and not server side java. Share this post Link to post Share on other sites
IDForums Report post Posted May 4, 2009 The code which I posted earlier is from index.jsp which is on client side. Please suggest. Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 4, 2009 (edited) Please check that FusionCharts.js is present in the appropriate directory. You have included Files/FusionCharts.js - please veriy in this path. Also, I notice that the swf file has been referred from Charts directory. Please verify both these paths. Edited May 4, 2009 by Guest Share this post Link to post Share on other sites