santosh Report post Posted December 17, 2010 Hi All, I have used the Fusion charts to display the charts. Previous we were using render_chart_html, at that time it was plotting the chart properly, Now we need to plot in the JavaScript so I am using render_chart but now it is displaying only charts label. not the chart. Code <%str_xml = render(:file => '/xml_builder/users.builder', :locals=>{:data=>@dashboard_users}) render_chart '/FusionCharts/Bar2D.swf', '', str_xml, 'users_id', 292, 230, false, true,{:renderer=>"javascript"} do-%> <%end%> Can you Please help me in this issue. Regards Santosh Share this post Link to post Share on other sites
santosh Report post Posted December 20, 2010 It only displaying Chart text. I have included all the javascripts. Hi All, I have used the Fusion charts to display the charts. Previous we were using render_chart_html, at that time it was plotting the chart properly, Now we need to plot in the JavaScript so I am using render_chart but now it is displaying only charts label. not the chart. Code <%str_xml = render(:file => '/xml_builder/users.builder', :locals=>{:data=>@dashboard_users}) render_chart '/FusionCharts/Bar2D.swf', '', str_xml, 'users_id', 292, 230, false, true,{:renderer=>"javascript"} do-%> <%end%> Can you Please help me in this issue. Regards Santosh Share this post Link to post Share on other sites
Sanjukta Report post Posted December 20, 2010 Hi, Please make sure you have correctly mentioned the relative paths for the JS files. Hope this helps. Share this post Link to post Share on other sites
santosh Report post Posted December 21, 2010 Thanks for your replay, The problem is with the 's in the caption of xml,after removing the ' in the caption it worked fine. Santosh Hi, Please make sure you have correctly mentioned the relative paths for the JS files. Hope this helps. Share this post Link to post Share on other sites
Guest Angie Report post Posted December 21, 2010 Hi, Thanks for the appreciation! We are glad to know that your issue has been resolved. Happy FusionCharting! Share this post Link to post Share on other sites