|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/13/2007 2:21:44 PM
Posts: 1,
Visits: 2
|
|
| Hi to all, How come I dont see the chart, I only see the word `Chart` when I render my chart? This is my code: $strXML .= "<graph formatNumberScale='0' decimalPrecision='0' showvalues='0' animation='1' numdivlines='3' numVdivlines='0' yaxisminvalue='1000' yaxismaxvalue='1800' lineThickness='3'>"; $strXML .= "<categories>"; $i=0; foreach($statuses as $status){ $strXML .= "<category name='" .$status[$i] . "'/>"; $i++; } $strXML .= "</categories>"; $i=0; while($i < count($users)){ $strXML .= "<dataset seriesname='" . $users[$i] . "'>"; $a=0; while($a < count($count[0])) { $strXML .= "<set name='" . $count[$i][a] . "' value='" . $count[$i][a] ."' color='". getFCColor() ."'/>"; $a++; } $strXML .= "</dataset>"; $i++; } $strXML .= "</graph>"; echo renderChart("FusionCharts/FCF_Line.swf", "", $strXML, "agentbenchmark",1000, 600); Can you help me with this? Good day
Rey Philip Regis
Intermediate PHP Programmer
Cebu City, Philippines
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: 10/11/2008 2:58:00 AM
Posts: 811,
Visits: 1,289
|
|
Hi, YOu need to include FusionCharts.js file in the HTML HEAD part usin say... <SCRIPT type="text/javascript" LANGUAGE="Javascript" SRC="../JSClass/FusionCharts.js"></SCRIPT> NOTE : I find that you are using $strXML .="<graph....
it may be $strXML ="<graph... Since you are building XML for multiseries chart you need to load
FCF_MSLine.swf file
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|