Not sure how many out there are using Fusion but.....
I have just started looking at Fusion Charts for Free and am testing what I can do with it in Version 11.
So, I created an XML file using Crystal Reports (generating a text file with SQL data populating the appropriate sets and categories). I created a web page that contains the Fusion / Flash script (I'm using the JavaScript option) and placed it in the location occupied by my localhost test V11 environment. The charts are in their own Fusion Charts folder in the webroot.
If I double click the file, the page opens up correctly and displays the chart.
I added the page as an option in a TabbedUI and published it to the same location. When I click the item, the page opens BUT I get the dreaded Error in Loading Data message ie the chart/swf has been found but the function cannot locate the XML data when I launch it in the Alpha Five local host.
I have been experimenting by copying the XML data to every folder I can think of and changing the web page accordingly. Each time, the page loads successfully when I double-click it, but I always get the Error in Loading Data error when I launch it from Alpha Five.
I've searched the Fusion Charts forum but to no avail and read through their help pages, so I'm hoping someone here can point me in the right direction.
I'm betting this has more to do with the localhost versus actual folder location than with Alpha Five itself but I'm stuck!
This is the html of the page:
<head>
<script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script>
</head>
<body bgcolor="#ffffff">
<div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>
<script type="text/javascript">
var myChart = new FusionCharts("../FusionCharts/FCF_Column3D.swf", "myChartId", "600", "500");
myChart.setDataURL("FusionTest01.xml");
myChart.render("chartdiv");
</script>
</body>
</html>
The chart is in:
C:\A5Webroot\A5Version11\FusionCharts
The data is, currently, in:
C:\A5Webroot\A5Version11
This URL works:
C:\A5Webroot\A5Version11\Chart01-FCF_Column3D.html
This, generated from the Alpha Five TabbedUI, does not:
http://localhost/A5Version11/Chart01-FCF_Column3D.html
Thanks in advance for any pointers and I apologise if this doesn't really belong in the Version 11 forum.
Regards
Bob
I have just started looking at Fusion Charts for Free and am testing what I can do with it in Version 11.
So, I created an XML file using Crystal Reports (generating a text file with SQL data populating the appropriate sets and categories). I created a web page that contains the Fusion / Flash script (I'm using the JavaScript option) and placed it in the location occupied by my localhost test V11 environment. The charts are in their own Fusion Charts folder in the webroot.
If I double click the file, the page opens up correctly and displays the chart.
I added the page as an option in a TabbedUI and published it to the same location. When I click the item, the page opens BUT I get the dreaded Error in Loading Data message ie the chart/swf has been found but the function cannot locate the XML data when I launch it in the Alpha Five local host.
I have been experimenting by copying the XML data to every folder I can think of and changing the web page accordingly. Each time, the page loads successfully when I double-click it, but I always get the Error in Loading Data error when I launch it from Alpha Five.
I've searched the Fusion Charts forum but to no avail and read through their help pages, so I'm hoping someone here can point me in the right direction.
I'm betting this has more to do with the localhost versus actual folder location than with Alpha Five itself but I'm stuck!
This is the html of the page:
<head>
<script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script>
</head>
<body bgcolor="#ffffff">
<div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>
<script type="text/javascript">
var myChart = new FusionCharts("../FusionCharts/FCF_Column3D.swf", "myChartId", "600", "500");
myChart.setDataURL("FusionTest01.xml");
myChart.render("chartdiv");
</script>
</body>
</html>
The chart is in:
C:\A5Webroot\A5Version11\FusionCharts
The data is, currently, in:
C:\A5Webroot\A5Version11
This URL works:
C:\A5Webroot\A5Version11\Chart01-FCF_Column3D.html
This, generated from the Alpha Five TabbedUI, does not:
http://localhost/A5Version11/Chart01-FCF_Column3D.html
Thanks in advance for any pointers and I apologise if this doesn't really belong in the Version 11 forum.
Regards
Bob
Comment