yanxianggt Report post Posted May 3, 2012 Hi,teachersa project use Funsionchart with EXTJS ,but now get a problem it can display and load data smoothly in IE, but can not in Safari anticly, not in every safari it can not work, but can work well in only one PC(window7) with Safari some code as follows:FusionCharts.setCurrentRenderer(GALLERY_RENDERER); var DailyReportByWSchart = new FusionCharts("/RPT/FCF/Charts/MSColumn3D.swf", "DailyReportByWSchartChartId", "360", "260", "0", "0"); var s=document.getElementById("DailyReportByWSchartChartId"); if(s){ DailyReportByWSchart.setXMLData( DailyReportByWSString +DailyReportByWSTitle+DailyReportByWSvalues+DailyReportByWSEnd); }else{ DailyReportByWSchart.setXMLData( DailyReportByWSString +DailyReportByWSTitle+DailyReportByWSvalues+DailyReportByWSEnd); DailyReportByWSchart.render("DailyReportByWS01"); } First in IE.bmp First in safari.bmp Second in safari.bmp Share this post Link to post Share on other sites
yanxianggt Report post Posted May 3, 2012 I am very sorry for the format,Hi,teachers,a project use Funsionchart with EXTJS ,but now get a problem it can display and load data smoothly in IE, but can not in Safari anticly, not in every safari it can not work, but can work well in only one PC(window7) with Safari . Share this post Link to post Share on other sites
yanxianggt Report post Posted May 3, 2012 (edited) some code as follows:FusionCharts.setCurrentRenderer(GALLERY_RENDERER); var DailyReportByWSchart = new FusionCharts("/RPT/FCF/Charts/MSColumn3D.swf", "DailyReportByWSchartChartId", "360", "260", "0", "0"); var s=document.getElementById("DailyReportByWSchartChartId"); if(s){ DailyReportByWSchart.setXMLData( DailyReportByWSString +DailyReportByWSTitle+DailyReportByWSvalues+DailyReportByWSEnd); }else{ DailyReportByWSchart.setXMLData( DailyReportByWSString +DailyReportByWSTitle+DailyReportByWSvalues+DailyReportByWSEnd); DailyReportByWSchart.render("DailyReportByWS01"); } Edited May 3, 2012 by yanxianggt Share this post Link to post Share on other sites
Guest Bindhu Report post Posted May 3, 2012 Hi, FusionCharts.setCurrentRenderer(GALLERY_RENDERER); // Can you please let us know what does GALLERY_RENDERER means here ? You can set the renderer to either Flash or JavaScript only. Please post the XML data to test from out end. Also, please let us know the version of FusionCharts that you are currently using along with the chart type that you are using. Share this post Link to post Share on other sites
yanxianggt Report post Posted May 4, 2012 Hi, FusionCharts.setCurrentRenderer(GALLERY_RENDERER); // Can you please let us know what does GALLERY_RENDERER means here ? You can set the renderer to either Flash or JavaScript only. Please post the XML data to test from out end. Also, please let us know the version of FusionCharts that you are currently using along with the chart type that you are using. GALLERY_RENDERER = 'JavaScript' ;The version of fusioncharts is V3.2.2Thank you Share this post Link to post Share on other sites
yanxianggt Report post Posted May 4, 2012 Debug info tell me, " first in safari" can load *.SWF file, but "second in safari" can not, who can tell me why ?thank you, international friends Share this post Link to post Share on other sites
Guest Bindhu Report post Posted May 4, 2012 Hi, We would need the XML data or the sample demo project to test from our end. Share this post Link to post Share on other sites
yanxianggt Report post Posted May 4, 2012 Hi, We would need the XML data or the sample demo project to test from our end. Sir,first thank your help , after I install adobe flash player , I can open with safari in WIN7, ipad I need try again, XML data I will upload next week. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted May 4, 2012 Hi, Glad to know Share this post Link to post Share on other sites
yanxianggt Report post Posted May 7, 2012 Ipad can not play 'flash' , do i need to use 'Javascript' ?what the difference between 'flash' and 'Javascript' in coding? Share this post Link to post Share on other sites
Guest Bindhu Report post Posted May 7, 2012 (edited) Hi, Yes, you need to use JavaScript mode of rendering the charts. Starting FusionCharts v3.2, you can now render the charts on devices where Flash player is not supported (like in iPhone or iPad), is not installed or is disabled using the built-in JavaScript rendering capabilities. The charts rendered by this module are purely using JavaScript and do not need Flash Player at all. FusionCharts gives you the option of either using automatic fallback, wherein the charts figure out the best mode of rendering (either Flash or JavaScript, based on availability of Flash Player), or lets you configure whether to render charts exclusively using JavaScript. If you are already using FusionCharts and wish to add JavaScript fallback, you just need to replace the old SWF and JavaScript files with the new ones - without changing a single line of code. In case you wish to render JavaScript charts only, irrespective of whether Flash Player is installed or not, all you need to do is add a single line of code to your existing implementation. Ref. Code: FusionCharts.setCurrentRenderer('javascript'); For more details on 'JavaScript Charting capabilities', please refer to the link below, http://docs.fusioncharts.com/charts/contents/?Introduction/JSChartingCapabilities.html For more details on 'Using JavaScript (HTML5) renderer', please refer to the link below, http://docs.fusioncharts.com/charts/contents/?FirstChart/UsingPureJS.html Hope this helps ! Edited May 7, 2012 by Bindhu Share this post Link to post Share on other sites