macleodjb
-
Content count
2 -
Joined
-
Last visited
Posts posted by macleodjb
-
-
Hi Guys,
I've just downloaded and installed the package on my web server. I'm just trying to run a sample script to make sure I've got everything right, and my chart is not showing. I've read the help menus and everything seems fine. My paths and locations to all the files are correct, and I do have Flash player 11 installed on my browser. My code is below. If there is anything else i can validate please let me know. I was hoping this install would be a snap. I get the placeholder for the chart but its blank.
require_once(LP_THEME_INCLUDES_DIR . '/FusionCharts/FusionCharts.php'); //Create an XML data document in a string variable $strXML = ""; $strXML .= "<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' decimalPrecision='0' formatNumberScale='0'>"; $strXML .= "<set name='Jan' value='462' color='AFD8F8' />"; $strXML .= "<set name='Feb' value='857' color='F6BD0F' />"; $strXML .= "<set name='Mar' value='671' color='8BBA00' />"; $strXML .= "<set name='Apr' value='494' color='FF8E46' />"; $strXML .= "<set name='May' value='761' color='008E8E' />"; $strXML .= "<set name='Jun' value='960' color='D64646' />"; $strXML .= "<set name='Jul' value='629' color='8E468E' />"; $strXML .= "<set name='Aug' value='622' color='588526' />"; $strXML .= "<set name='Sep' value='376' color='B3AA00' />"; $strXML .= "<set name='Oct' value='494' color='008ED6' />"; $strXML .= "<set name='Nov' value='761' color='9D080D' />"; $strXML .= "<set name='Dec' value='960' color='A186BE' />"; $strXML .= "</graph>"; //Create the chart - Column 3D Chart with data from strXML variable using dataXML method echo renderChartHTML( LP_THEME_INCLUDES_DIR ."/FusionCharts/Charts/FCF_Column3D.swf", "", $strXML, "myNext", 600, 300);
Sorry, I know this is a newb question. Thanks in advance.
Problem With Heat Map Chart
in Using PowerCharts XT
Posted · Report reply
Hi,
I'm trying to use the heat map swf on my site. However it keeps telling me the XML is invalid. Not sure what is wrong. I took the syntax directly off the demo and just added my own code. Hope someone can tell me what is wrong. Thanks in advance below is the code i am outputting prior to rendering the chart.