Chumbak Report post Posted January 13, 2011 Hi Team, i am using fusionchart v3.2 version it works fine with IE8 and FF but does not display the charts(graphs) in ipad simulator/emulator. If i open the fusion chart demo examples on ipad graphs are not displayed. i follwed the steps given in the documentation Pleae suggest if i am missing some link here. let me know if you need more details. Thanks. Share this post Link to post Share on other sites
Guest Angie Report post Posted January 13, 2011 Hi, Welcome to FusionCharts Forum! Please check the following things before rendering FusionCharts on Ipad: 1. Please check the location of FusionCharts js and swf file.Please note that FusionCharts only support relative path, not absolute path. 2. Please set the "registerWithJS" Flag to 1. Ex: var myChart = new FusionCharts( "../FusionCharts/Bubble.swf", "myChartId", "600", "400", "0", "1" ); 3. Please make sure that FusionCharts.js, HighCharts.js,jquery.min.js files are in the same location. You can keep the swf files also in the same location along with js files. Hope this helps. Share this post Link to post Share on other sites
Chumbak Report post Posted January 13, 2011 Hi Angie, Thanks for the quick response. I verified the steps you had provided.seems like i have set the flag to 1. Here is my code snippet. it displays the chart in IE fine. <html> <head> <title>My First chart using FusionCharts - Using JavaScript</title> <script type="text/javascript" src="Charts/FusionCharts.js"></script> <script type="text/javascript" src="Charts/highcharts.js"></script> <script type="text/javascript" src="Charts/jquery.min.js"></script> </head> <body> <div id="chartContainer">FusionCharts will load here!</div> <script type="text/javascript"> //FusionCharts._fallbackJSChartWhenNoFlash(); var myChart = new FusionCharts( "Charts/Pie3D.swf","myChartId", "400", "300", "0", "1" ); myChart.setXMLUrl("Data.xml"); myChart.render("chartContainer"); </script> </body> </html> data.xml <chart showValues='1' valuePosition='auto' rotateValues='1' registerWithJS='1' caption='Monthly Revenue' subcaption='Month' primaryAxisOnLeft='0' yAxisName='Revenue' numberPrefix='$' > <set label='Jan' value='420000' /> <set label='Feb' value='910000' /> <set label='Mar' value='720000' valuePosition='bottom' /> <set label='Apr' value='550000' valuePosition='bottom' /> <set label='May' value='810000' valuePosition='above' /> <set label='Jun' value='510000' valuePosition='auto' /></chart> Pls let me know any thoughts. Share this post Link to post Share on other sites
Guest Angie Report post Posted January 13, 2011 Hi, I am afraid, I am not able to replicate the issue from my end. The code you have provided is working fine in Ipad from our end. Share this post Link to post Share on other sites
Chumbak Report post Posted January 13, 2011 Hi Angie, may be the simulator problem, i wish i could test it on Ipad . Let me check with my counterpart and get back to you. Thank you so much for the help. have a nice time. Thanks Share this post Link to post Share on other sites
Guest Angie Report post Posted January 13, 2011 Hi, Thanks for the appreciation. Keep FusionCharing! Share this post Link to post Share on other sites
Guest Angie Report post Posted January 13, 2011 (edited) Hi, Could you please confirm the FusionCharts version you are using? If you are using older version than FusionCharts v3.2, you need to update the js files. To check the FusionCharts version you are currently using, please set the "debugMode" Flag to 1. Ex: var myChart = new FusionCharts( "../FusionCharts/Bubble.swf", "myChartId", "600", "400", "1", "1" ); Hope this helps. Edited January 13, 2011 by Angie Share this post Link to post Share on other sites
Chumbak Report post Posted January 13, 2011 (edited) Hi, this is what in the FusionChart.js file @version 3.2.1-release, even i tried with debug mode flag set to 1 it shows the same version as above. and i have all the latest files. Thanks Edited January 13, 2011 by Chumbak Share this post Link to post Share on other sites
Guest Angie Report post Posted January 13, 2011 Hi, Thanks for the update. Keep FusionCharting! Share this post Link to post Share on other sites
Chumbak Report post Posted January 19, 2011 I have one more doubt with the upgrading older funsion chart with newer version v3.2. We are using embeded flash chart i.e using class id object. if i simply follow the documentation to upgrade the chart will it work in case of flash charts with class id as well. pls suggest if any changes. thanks. Share this post Link to post Share on other sites
Guest Angie Report post Posted January 19, 2011 (edited) Hi, Welcome to FusionCharts Forum! FusionCharts v 3.2 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 iPad/iPhone fallback, you just need to replace the old SWF and JS files with the new ones - without changing a single line of code. Hope this helps. Edited January 19, 2011 by Angie Share this post Link to post Share on other sites