Hi,
I'm trying to get FusionCharts_Gen.php to generate charts. I have installed the scripts and wsf files into a directory structire exactly the same as the doc suggests. However, when I run the script all I get is the word "Chart" and the HTML that is generated looks like the following. Any ideas?
<html>
<head>
<title>First Chart Using FusionCharts PHP Class</title>
<script language='javascript' src='../fusionCharts/FusionCharts.js'></script>
</head>
<body>
<!-- START Script Block for Chart <?=$chartId;?> -->
<div id="<?=$chartIdDiv?>">
Chart.
</div>
<script type="text/javascript">
//Instantiate the Chart
var chart_<?=$chartId?> = new FusionCharts("<?=$chartSWF?>", "<?=$chartId?>", "<?=$chartWidth?>", "<?=$chartHeight?>", "<?=$ndebugMode?>", "<?=$nregisterWithJS?>", "<?=$this->JSC["bgcolor"]?>","<?=$this->JSC["scalemode"]?>","<?=$this->JSC["lang"]?>");
chart_<?=$chartId?>.setTransparent("<?=$nsetTransparent?>");
<? print $tempData; ?>
//Finally, render the chart.
chart_<?=$chartId?>.render("<?=$chartIdDiv?>");
</script>
<!-- END Script Block for Chart <?=$chartId?> -->
</body>
</html>