gtoogood Report post Posted July 6, 2012 Hey guys, Having a problem rendering a line chart using Javascript. When rendering as flash the chart works great however when forcing it to render as javascript with "FusionCharts.setCurrentRenderer('javascript');" it fails on one of our line charts. It goes into an endless loop which in firebug prints out as ""p is undefined"... I have attached a snapshot of the graph rendered in flash and one rendered in javascript and perhaps you might know what I could be doing wrong.. This is wrapped in a jquery "tabs" div but I don't thing that is causing the issue.. well I don't actually know Currently using the following version of FusionCharts.HC.js /* FusionCharts JavaScript Library Copyright FusionCharts Technologies LLP License Information at <http://www.fusioncharts.com/license> @author FusionCharts Technologies LLP @version fusioncharts/3.2.3-release.4749 */ Share this post Link to post Share on other sites
Guest Sumedh Report post Posted July 6, 2012 Hey guys, Having a problem rendering a line chart using Javascript. When rendering as flash the chart works great however when forcing it to render as javascript with "FusionCharts.setCurrentRenderer('javascript');" it fails on one of our line charts. It goes into an endless loop which in firebug prints out as ""p is undefined"... I have attached a snapshot of the graph rendered in flash and one rendered in javascript and perhaps you might know what I could be doing wrong.. This is wrapped in a jquery "tabs" div but I don't thing that is causing the issue.. well I don't actually know Currently using the following version of FusionCharts.HC.js /* FusionCharts JavaScript Library Copyright FusionCharts Technologies LLP License Information at <http://www.fusioncharts.com/license> @author FusionCharts Technologies LLP @version fusioncharts/3.2.3-release.4749 */ Hi, Can you paste your sample code here? Also send us the XML code. Share this post Link to post Share on other sites
gtoogood Report post Posted July 9, 2012 Hi, Can you paste your sample code here? Also send us the XML code. Yeah all good now. I wasn't disposing of the chart before I hid the surrounding div .. if ( FusionCharts( "SomeChartID" ) ) FusionCharts( "SomeChartID" ).dispose(); Works awesome now Share this post Link to post Share on other sites
Guest Sumedh Report post Posted July 9, 2012 Hi, I am glad that you have managed to resolve your issue. Share this post Link to post Share on other sites