My charts are generated by server side PHP and supplied data from an XML object. Rendered using the PHP renderchart function.
They display perfectly in firefox 3.6.8 and IE8 but I only get some text saying "Chart" when I view the exact same page with Chrome or Safari. The chrome Developer Tools pane tells me "Uncaught ReferenceError: FusionCharts is not defined" and points to the tag of my index.html as the source of the problem ( I presume this is uninformative).
The PHP script that outputs the chart is essentially..
include("../../FusionCharts/Includes/FusionCharts.php");
include("../../FusionCharts/Includes/FC_Colors.php");
?>
html>
head>
SCRIPT LANGUAGE="Javascript" SRC="../FusionCharts/FusionCharts/FusionCharts.js">
/head>
body>
.................. Form the xml object, $strXML ..................
//Create the chart - Column 3D Chart with data contained in strXML
echo renderChart("../FusionCharts/FusionCharts/FCF_MSColumn2DLineDY.swf", "", $strXML, "MortOut", 700, 400);
?>
Page 1 of 1
Charts not showing in Chrome/Safari, do work in IE8 and FF
#1
Posted 23 August 2010 - 07:17 AM
This topic is locked