Sign in to follow this  
Wally Kolcz

Not Switching To Js On Apple

Recommended Posts

I would love to just have a JS version on our web site and not flash, but seems that the Charts are not going to JS when they are on apple devices.

 

i am using the PHP version of the library and here is my page call:

 

echo renderChart("../assets/FusionCharts/MSLine.swf?registerWithJS=1", "../Data/lineChartYearXML.php?dataSetID=37&forYear=$datayear&yAxis=&maxValue=100", "", "chart37", 425, 300, false, true);

 

From the iDevices it says invalid data but works fine from all browsers. Any ideas?

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Please note, as the Flash is not supported on the Apple devices, so the JavaScript version of chart will be rendered automatically. (if all the necessary JavaScript libraries are present in your project folder.)

 

"Invalid data" error message is occurring because your XML data is not properly formatted. As, the JavaScript chart follows strict validation for XML.

 

So, you would need to maintain spaces between each and every chart attribute.

 

Also, chart attribute shouldn't be repeated.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?Introduction/JSChartingCapabilities.html

 

Hope this helps!

 

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