Im trying to creat a Column 2D chart where the data comes from database.
If the query only get 1 row the chart appears good, but if is more than 1 row the chart desapear and the place of the chart appear a message "Chart." what the problem?
im going to insert here the code(i dont think its here the problem...)
Quote
//Here is the database connection code
$strXML = "
$result = mysql_query($sql_contador);
if ($result) {
while($ors = mysql_fetch_array($result)) {
$strXML .= "< set name='".$ors['Alcunha']."' value='1' color='AFD8F8'" >; }
}
$strXML .= "
echo renderChart("FusionCharts/FCF_Column2D.swf", "", $strXML, "FactorySum", 1400, 450);
?>

Back to top
MultiQuote