victor.pereira Report post Posted August 10, 2012 Hi, I use fusioncharts for a while, and i always rendered my charts using flash. Now i need to render them using javascript, and i'm having problems with jQuery compatibility. The version of jQuery in Richfaces is 1.3.2 The newer version of fusioncharts needs the 1.7 version. I'm trying to use both version at the same time, but am having difficulties. There's a way to pass the jQuery reference object to fusioncharts javascript API? When i change the references, the chart is rendered, but all the richfaces effects and ajax doesn't work anymore. Thanks. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted August 11, 2012 Hi, I use fusioncharts for a while, and i always rendered my charts using flash. Now i need to render them using javascript, and i'm having problems with jQuery compatibility. The version of jQuery in Richfaces is 1.3.2 The newer version of fusioncharts needs the 1.7 version. I'm trying to use both version at the same time, but am having difficulties. There's a way to pass the jQuery reference object to fusioncharts javascript API? When i change the references, the chart is rendered, but all the richfaces effects and ajax doesn't work anymore. Thanks. Hi, Please share the sample code for further testing. Let us also know the version of FusionCharts suite that you are currently using. Share this post Link to post Share on other sites
victor.pereira Report post Posted August 13, 2012 Hi, Please share the sample code for further testing. Let us also know the version of FusionCharts suite that you are currently using. I'm using the 3.2.3 version and Richfaces 3.3. When i do this: var chart_GraficoConsumoEmpresa = new FusionCharts('grafico/FusionCharts/MSCombiDY2D.swf?ChartNoDataText=Sem Dados&XMLLoadingText=Por favor, aguarde', 'GraficoConsumoEmpresa', '700', '500', '0', '0', '', '', '', '', ''); chart_GraficoConsumoEmpresa.setDataXML("<graph></graph>"); chart_GraficoConsumoEmpresa.render('GraficoConsumoEmpresaDiv'); I get the error: Uncaught RangeError: Maximum call stack size exceeded The error occurs because of the version of jQuery presents in Richfaces, that is 1.3.2. When i load the new version, it works, but richfaces components stop working. Is there a way to use and older version to render fusioncharts charts or pass the newer version to javascript sources? I'm trying to use two version of jQuery in my app, this way: http://tudip.blogspot.com.br/2012/04/use-newer-version-of-jquery-with.html but with no success. Thanks Share this post Link to post Share on other sites
Guest Bindhu Report post Posted August 14, 2012 Hi, Please refer to the link below, http://forum.fusioncharts.com/topic/11679-browser-freezes-when-rendering-in-javascript/page__p__45789__hl__1.3.2__fromsearch__1#entry45789 Hope this helps! Share this post Link to post Share on other sites