robbo2601 Report post Posted November 12, 2008 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> Share this post Link to post Share on other sites
Arindam Report post Posted November 12, 2008 (edited) Hi, Could you please on short php tag [ <? ?> ] support from php.ini and please work with this FusionCharts_Gen.php file ? FusionCharts_Gen.zip Edited November 13, 2008 by Guest Share this post Link to post Share on other sites