mimsc Report post Posted June 27, 2012 (edited) I am trying the evaluation out. The chart will not render. This is my code: Some error in FusionCharts.js is being thrown?????? Please help <script src="../js/FusionCharts/FusionCharts.js" type="text/javascript"></script> <script type="text/javascript"> <!-- var myChart = new FusionCharts( "../js/FusionCharts/Column3D.swf", "myChartId", "400", "300", "0", "1" ); myChart.setJSONData( { "chart": { "caption" : "Weekly Sales Summary" , "xAxisName" : "Week", "yAxisName" : "Sales", "numberPrefix" : "$" }, "data" : [ { "label" : "Week 1", "value" : "14400" }, { "label" : "Week 2", "value" : "19600" }, { "label" : "Week 3", "value" : "24000" }, { "label" : "Week 4", "value" : "15700" } ] } ); myChart.render("div_view"); // --> </script> <div id="div_view">FusionCharts will load here!</div> This is where the error is thrown: (function(){var a=FusionCharts(["private","ErrorHandler"]);if(a!==void 0){var i={type:"TypeException",range:"ValueRangeException",impl:"NotImplementedException",param:"ParameterException",run:"RuntimeException",comp:"DesignTimeError",undefined:"UnspecifiedException"},h=function(f,b,e,c,d,o){var h="#"+b+" "+(f?f.id:"unknown-source")+c+" "+o+" >> ";d instanceof Error?(d.name=i[e],d.module="FusionCharts"+c,d.level=o,d.message=h+d.message,h=d.message,window.setTimeout(function(){throw d Edited June 27, 2012 by mimsc Share this post Link to post Share on other sites
mimsc Report post Posted June 27, 2012 I am trying the evaluation out. The chart will not render. This is my code: Some error in FusionCharts.js is being thrown?????? Please help <script src="../js/FusionCharts/FusionCharts.js" type="text/javascript"></script> <script type="text/javascript"> <!-- var myChart = new FusionCharts( "../js/FusionCharts/Column3D.swf", "myChartId", "400", "300", "0", "1" ); myChart.setJSONData( { "chart": { "caption" : "Weekly Sales Summary" , "xAxisName" : "Week", "yAxisName" : "Sales", "numberPrefix" : "$" }, "data" : [ { "label" : "Week 1", "value" : "14400" }, { "label" : "Week 2", "value" : "19600" }, { "label" : "Week 3", "value" : "24000" }, { "label" : "Week 4", "value" : "15700" } ] } ); myChart.render("div_view"); // --> </script> <div id="div_view">FusionCharts will load here!</div> This is where the error is thrown: (function(){var a=FusionCharts(["private","ErrorHandler"]);if(a!==void 0){var i={type:"TypeException",range:"ValueRangeException",impl:"NotImplementedException",param:"ParameterException",run:"RuntimeException",comp:"DesignTimeError",undefined:"UnspecifiedException"},h=function(f,b,e,c,d,o){var h="#"+b+" "+(f?f.id:"unknown-source")+c+" "+o+" >> ";d instanceof Error?(d.name=i[e],d.module="FusionCharts"+c,d.level=o,d.message=h+d.message,h=d.message,window.setTimeout(function(){throw d Fixed it....<div id="div_view">FusionCharts will load here!</div> has tobe BEFORE the JS Share this post Link to post Share on other sites