Sign in to follow this  
yanxianggt

Funsioncharts With Extjs Used In Safari

Recommended Posts

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

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

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 by yanxianggt

Share this post


Link to post
Share on other sites
Guest Bindhu

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

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
Guest Bindhu

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

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

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 by Bindhu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this