nemoestudio Report post Posted October 16, 2010 (edited) Hello Everyone, I'm using this code to generate a PHP array: # Add chart data along with category names $FC->addChartData("462","label=Jan"); $FC->addChartData("857","label=Feb"); $FC->addChartData("671","label=Mar"); $FC->addChartData("494","label=Apr"); $FC->addChartData("761","label=May"); $FC->addChartData("960","label=Jun"); How can I send the "color" parameter to the SWF graph? I used something like this # Add chart data along with category names $FC->addChartData("462","label=Jan", "color=#003399"); $FC->addChartData("857","label=Feb", "color=003399"); But instead of the graphic I get the message "no data to display", do I have to add something to this line? # Store chart attributes in a variable $strParam="caption=Resumen Herramienta de AutoAssesment;xAxisName=Categoria;yAxisName=Porcentaje de Cumplimiento;decimalPrecision=0; formatNumberScale=0;numberSuffix=%;"; any ideas? thanks in advance! Edited October 16, 2010 by nemoestudio Share this post Link to post Share on other sites
nemoestudio Report post Posted October 16, 2010 It Was easier than I thoght $FC->addChartData("120","name=week 1;color=003399"); Everithing goes inside "name= " Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted October 19, 2010 Hi, Thanks for sharing your view. We are glad that your is resolved. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites