Sign in to follow this  
antoine fourage

Issue With Differents Firefox And Chrome

Recommended Posts

hi

 

i am using fusioncharts for filemaker for now a few years..

 

I discover last week the new XT Version and Javascript possibilities for IOS...

so i tested the démo version with succes.. very nice JOB!

Then i Tried to build a simple HTML with XML data file. it works perfectly with IE9 but not on fireworks nor Chrome.. WHY ?

 

Here is the code:

 

HTML FILE

<html>

<head>

<title>My First chart using FusionCharts XT</title>

<script type="text/javascript" src="FusionCharts/FusionCharts.js">

</script>

</head>

<body>

<div id="chartContainer">FusionCharts XT will load here!</div>

<script type="text/javascript"><!--

 

FusionCharts.setCurrentRenderer('javascript')

 

var myChart = new FusionCharts( "FusionCharts/Doughnut3D.swf", "myChartId", "450", "250", "0", "0" );

 

myChart.setXMLUrl("Fruits.xml");

 

myChart.render("chartContainer");

 

// -->

</script>

</body>

</html>

 

 

 

XML File (Fruits.xml)

 

<chart caption = "Fruits">

 

<set label='Apples' value='13' />

<set label='Bananas' value='11' />

<set label='Oranges' value='23' />

 

</chart>

 

 

when Ii open it With IE I get a beautiful Doughnut! but when i tried this with firefox and Chrome I get an "invalid data" error with just the "FusionChart" TradeMark

 

could you explain me why?

 

Of course i have all the fusionscharts javascript files in proper folder,( from your demo version)

 

thanks for your help....

Antoine

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