dumorian Report post Posted February 28, 2007 PHP5 and Flash 8. I am using the html from the examples site to create a linear graph from the code below. Running the same code when not generated by PHP works. If I comment out the 'object' tag from below, the script runs. When I try to use this, I eventually get a flash failure warning. I get the same results in both MSIE and Firefox. I'm left wondering if there is some interference with the new Object model in PHP5? Here is my PHP xml generation code. Again, I'm running this using the provided html for this chart, with only the xmlurl changed to xmldata.php so that this executes. [? echo "[Chart upperLimit=100' lowerLimit='0' decimalPrecision='0' numberSuffix='%25' chartLeftMargin='15' chartRightMargin='15' chartTopMargin='5' chartBottomMargin='5' bgAlpha='20]"; echo "[colorRange]"; echo ""; echo ""; echo ""; echo "[/colorRange]"; echo "[value]33[/value]"; echo "[customObjects]"; echo " [objectGroup xPos=0' yPos='0' showBelowChart='1]"; echo " [object xpos='15' ypos='10' toxpos='235' toypos='32' type='rectangle' fillAsGradient='1' fillColor='009900,FFDD22,CC0000' fillAlpha='100,50,100' fillRatio='1,59,40' radius='0' /]"; echo " [/objectGroup]"; echo "[/customObjects]"; echo "[/Chart]"; ?] Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 26, 2010 FusionCharts now provides wrapper functions in PHP (renderChart/renderChartHTML) which can be effectly be used in this scenario. These are defined in FusionCharts.php present in the pack. Share this post Link to post Share on other sites