﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts Free / FusionCharts Free and PHP  / Product Forums </title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Sun, 21 Mar 2010 16:25:29 GMT</lastBuildDate><ttl>20</ttl><item><title>combination and mysql don´t work</title><link>http://www.fusioncharts.com/forum/Topic25643-43-1.aspx</link><description>hello&lt;br&gt;i want two Area2D in one chart&lt;br&gt;i get the data from a mysql database&lt;br&gt;but it combinate the two statistic to one&lt;br&gt;&lt;br&gt;[code]	$link = connectToDB();&lt;br&gt;&lt;br&gt;	# Create pie 3d chart object using FusionCharts PHP Class&lt;br&gt; 	$FC = new FusionCharts("Area2D","650","450"); &lt;br&gt;&lt;br&gt;	# Set Relative Path of swf file.&lt;br&gt; 	$FC-&gt;setSwfPath("../../FusionCharts/");&lt;br&gt;	&lt;br&gt;	//Store chart attributes in a variable for ease of use&lt;br&gt;	$strParam="caption=Factory Output report;subCaption=By Quantity;pieSliceDepth=30; showBorder=1;showNames=1;formatNumberScale=0;numberSuffix= tweets;decimalPrecision=0";&lt;br&gt;&lt;br&gt; 	#  Set chart attributes&lt;br&gt; 	$FC-&gt;setChartParams($strParam);&lt;br&gt;	&lt;br&gt;&lt;br&gt;	// Fetch all factory records usins SQL Query&lt;br&gt;	//Store chart data values in 'total' column/field and category names in 'FactoryName'&lt;br&gt;	$strQuery = "select count, date from twitter_tweet_day";&lt;br&gt;	$result = mysql_query($strQuery) or die(mysql_error());&lt;br&gt;&lt;br&gt;	$strQuery2 = "select count, date from twitter_follower_day";&lt;br&gt;	$result2 = mysql_query($strQuery2) or die(mysql_error());&lt;br&gt;	//Pass the SQL Query result to the FusionCharts PHP Class function &lt;br&gt;	//along with field/column names that are storing chart values and corresponding category names&lt;br&gt;	//to set chart data from database&lt;br&gt;	if ($result &amp;&amp; $result2) {&lt;br&gt;		$FC-&gt;addDataFromDatabase($result, "count", "date");&lt;br&gt;		$FC-&gt;addDataFromDatabase($result2, "count", "date");&lt;br&gt;	}&lt;br&gt;&lt;br&gt;	mysql_close($link);&lt;br&gt;&lt;br&gt;	# Render the chart&lt;br&gt; 	$FC-&gt;renderChart();[/code]</description><pubDate>Sat, 20 Mar 2010 11:58:35 GMT</pubDate><dc:creator>handyaner</dc:creator></item><item><title>just a word 'chart'..</title><link>http://www.fusioncharts.com/forum/Topic25617-43-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;I have just tried fusion chart for the first time. And after rendering it in my php page i can just see a word 'chart'.&lt;br&gt;I have searched through some forums and link to my js file is okey.&lt;br&gt;&lt;br&gt;Here s and xml that is generated at the page.&lt;br&gt;&lt;chart caption='Fusion chart' inThousandSeparator='.' inDecimalSeparator=','  formatNumberScale='0' rotateValues='1' numberPrefix=''&gt;&lt;categories&gt;&lt;category name='Ener' /&gt;&lt;category name='Feb' /&gt;&lt;category name='Mar' /&gt;&lt;category name='Abr' /&gt;&lt;category name='May' /&gt;&lt;category name='Juni' /&gt;&lt;category name='Jul' /&gt;&lt;category name='Agos' /&gt;&lt;category name='Sep' /&gt;&lt;category name='Oct' /&gt;&lt;category name='Nov' /&gt;&lt;category name='Dic' /&gt;&lt;/categories&gt;&lt;dataset seriesName='Ingresos'&gt;&lt;set value='1' /&gt;&lt;set value='2' /&gt;&lt;set value='3' /&gt;&lt;set value='4' /&gt;&lt;set value='5' /&gt;&lt;set value='6' /&gt;&lt;set value='7' /&gt;&lt;set value='8' /&gt;&lt;set value='9' /&gt;&lt;set value='10' /&gt;&lt;set value='11' /&gt;&lt;set value='12' /&gt;&lt;/dataset&gt;&lt;dataset seriesName='Gastos'&gt;&lt;set value='12' /&gt;&lt;set value='11' /&gt;&lt;set value='10' /&gt;&lt;set value='9' /&gt;&lt;set value='8' /&gt;&lt;set value='7' /&gt;&lt;set value='6' /&gt;&lt;set value='5' /&gt;&lt;set value='4' /&gt;&lt;set value='3' /&gt;&lt;set value='2' /&gt;&lt;set value='1' /&gt;&lt;/dataset&gt;&lt;/chart&gt;&lt;br&gt;&lt;br&gt;If anyone can help... plzzz...&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 19 Mar 2010 06:39:13 GMT</pubDate><dc:creator>urmil</dc:creator></item><item><title>Problem saving chart (after capturing)</title><link>http://www.fusioncharts.com/forum/Topic25581-43-1.aspx</link><description>Hi, I'm having problem saving my chart when exporting it as a jpeg/png/pdf.&lt;br&gt;&lt;br&gt;I have followed the Server-side export &gt; Returning the exported output as download -tutorial under the Exporting as Image/PDF folder in http://www.fusioncharts.com/docs/&lt;br&gt;&lt;br&gt;The problem occurs after capturing the chart, the download-dialog persists NOT to appear. I hope somebody could tell me what I'm doing wrong...&lt;br&gt;&lt;br&gt;ps. my webbpage reloads after the capture. I noticed that the demopage doesn't reload when exporting the chart to a file. Mayby some relevance...&lt;br&gt;&lt;br&gt;//David</description><pubDate>Thu, 18 Mar 2010 10:29:43 GMT</pubDate><dc:creator>gemejenbrejk</dc:creator></item><item><title>Invalid XML data for large amount of data</title><link>http://www.fusioncharts.com/forum/Topic25337-43-1.aspx</link><description>Hello everyone,&lt;/P&gt;&lt;P&gt;I am having problem creating a Bar2D chart when my query pulls a large amount of data in X Axis. The messge is Invalid XML data. I am using DataXML method.&lt;/P&gt;&lt;P&gt;Would you please let me know what I can do to plot large amount of data.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Mojgan Nemati&lt;/P&gt;&lt;P&gt;Web Application/Database developer </description><pubDate>Fri, 12 Mar 2010 14:41:58 GMT</pubDate><dc:creator>mojgan.nemati</dc:creator></item><item><title>AJAX call from addChartData link:JavaScript</title><link>http://www.fusioncharts.com/forum/Topic21266-43-1.aspx</link><description>Hi there,&lt;br&gt;I am pretty new with FusionCharts. I managed to get basic functionality working and I must say I like it a lot (thanks FusionCharts)!!!&lt;br&gt;&lt;br&gt;So to the problem...&lt;br&gt;When I try to add a drill through to link for my chart for each section via JS like this&lt;br&gt;&lt;br&gt;$FC-&gt;addChartData($data,'link=JavaScript:myAjaxCall(param,param);return false;');&lt;br&gt;&lt;br&gt;I am getting a JS error 'return not in function'. If I remove the return false; at the end of the JS the page gets redirected.&lt;br&gt;What is the solution to my pain?&lt;br&gt;Thanks and Regards!</description><pubDate>Tue, 08 Dec 2009 06:53:54 GMT</pubDate><dc:creator>ivolator</dc:creator></item><item><title>chart with oracle...</title><link>http://www.fusioncharts.com/forum/Topic24959-43-1.aspx</link><description>hi all,&lt;br&gt;&lt;br&gt;i am new in Fusioncharts and i am use oracle database to get data to charts, when i render chart i face this error &lt;br&gt;&lt;br&gt;Warning: ocifetchinto() [function.ocifetchinto]: ORA-01002: fetch out of sequence in C:\wamp\www\test\Class\FusionCharts_Gen.php on line 717&lt;br&gt;&lt;br&gt;and here the code: &lt;br&gt;&lt;br&gt;                        $conn = connectToOracle();&lt;br&gt;                        $FC = new FusionCharts("MSColumn3D","400","220");&lt;br&gt;                        $FC-&gt;setSWFPath("../FusionCharts/");&lt;br&gt;                        $strParam="caption=Separated/Joined Employees;;pieSliceDepth=100;showBorder=1;           formatNumberScale=0;numberSuffix= ";&lt;br&gt;                        $FC-&gt;setChartParams($strParam);&lt;br&gt;                        $FC-&gt;setDataBaseType("Oracle");&lt;br&gt;                      $stid = oci_parse($conn,"select year.year YEAR,&lt;br&gt;                        (select count(employee_number) from  DASHBOARD_EMP_DETAILS where year_of_hire=year.year )JOINED,&lt;br&gt;                        (select count(employee_number) from DASHBOARD_TERMINATION_DTL where termination_year=year.year)SEPARATED&lt;br&gt;                        from&lt;br&gt;                        (select emp.year_of_hire year from DASHBOARD_EMP_DETAILS emp&lt;br&gt;                         union&lt;br&gt;                         select term.TERMINATION_YEAR year from DASHBOARD_TERMINATION_DTL term&lt;br&gt;                         )year&lt;br&gt;                         where year is not null&lt;br&gt;                         order by 1");&lt;br&gt;                        oci_execute($stid);&lt;br&gt;                        $FC-&gt;addCategoryFromDatabase($stid, "YEAR");&lt;br&gt;                        $p[0]="parentYAxis=P";&lt;br&gt;                        $FC-&gt;addDatasetsFromDatabase($stid, "YEAR","JOINED");&lt;br&gt;                        $FC-&gt;addDatasetsFromDatabase($stid, "YEAR","SEPARATED");&lt;br&gt;                        $FC-&gt;renderChart();&lt;br&gt;                        oci_free_statement($stid);&lt;br&gt;                        oci_close($conn);&lt;br&gt;</description><pubDate>Mon, 08 Mar 2010 02:04:59 GMT</pubDate><dc:creator>Mohammad Salah</dc:creator></item><item><title>Problem positioning rendered charts</title><link>http://www.fusioncharts.com/forum/Topic24794-43-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;Im from Brasil, so sorry for my english...&lt;br&gt;&lt;br&gt;Well....&lt;br&gt;&lt;br&gt;Im trying to positioning my div's that will receive the swf chart, but dont matter what kind os style propertie I set up because dont work.&lt;br&gt;&lt;br&gt;Part of my source code:&lt;br&gt;[code]                echo renderChart("corefiles/FCF_Funnel.swf", "", $strXML_general_1, "GENERAL_1", 300,250);&lt;br&gt;		echo renderChart("corefiles/FCF_Doughnut2D.swf", "", $strXML_general_2, "GENERAL_2", 300, 250);&lt;br&gt;                            ?&gt;&lt;br&gt;							&lt;br&gt;                            [table border="1" width="100%"]&lt;br&gt;                            	[tr]&lt;br&gt;                                	[td]&lt;br&gt;                                    	[div id="GENERAL_1" style="position:relative; top:100px; background-color:#666; width:500px; border:1px solid  #333;"]&lt;br&gt;                                        [/div]&lt;br&gt;                                    [/td]&lt;br&gt;                                    [td]&lt;br&gt;                                    	[div id="GENERAL_2" style="position:relative;"]&lt;br&gt;                                        [/div]&lt;br&gt;                                    [/td]&lt;br&gt;                                [/tr]&lt;br&gt;			[/table][/code]&lt;br&gt;How can I set my div position and border, and this kind of configs?&lt;br&gt;&lt;br&gt;PS: I replace &lt;&gt; for []  tags because the forum reads html commands and all of us will get problem to read my topic. lol&lt;br&gt;&lt;br&gt;How the charts looks like in my app:&lt;br&gt;&lt;br&gt;[URL=http://img199.imageshack.us/i/screenshot20100304at808.png/][IMG]http://img199.imageshack.us/img199/9175/screenshot20100304at808.png[/IMG][/URL]&lt;br&gt;&lt;br&gt;Thanks in advance,&lt;br&gt;Tfacchini</description><pubDate>Thu, 04 Mar 2010 17:09:57 GMT</pubDate><dc:creator>tfacchini</dc:creator></item><item><title>get chart from database</title><link>http://www.fusioncharts.com/forum/Topic24862-43-1.aspx</link><description>dear&lt;br&gt;&lt;br&gt;i want to create database with the help of database&lt;br&gt;&lt;br&gt;i have 2 field&lt;br&gt;date                                     user&lt;br&gt;10-may-2009                         ankit&lt;br&gt;10-may-2009                         amit&lt;br&gt;11-may-2009                         anit&lt;br&gt;&lt;br&gt;i want to display records in graph by date&lt;br&gt;but i m geeting problem to show data by while loop tell me pls&lt;br&gt;&lt;br&gt;SELECT date,count(user) FROM Orders&lt;br&gt;GROUP BY date&lt;br&gt;&lt;br&gt;pls help me how we can show date with Count(User) in graph</description><pubDate>Fri, 05 Mar 2010 04:23:00 GMT</pubDate><dc:creator>ankit</dc:creator></item><item><title>how add 2 chart on one page</title><link>http://www.fusioncharts.com/forum/Topic24826-43-1.aspx</link><description>i want to add two chart in one page&lt;br&gt;&lt;br&gt;but only one chart is working pls help me</description><pubDate>Fri, 05 Mar 2010 00:28:49 GMT</pubDate><dc:creator>ankit</dc:creator></item><item><title>FusionCharts y Mysql</title><link>http://www.fusioncharts.com/forum/Topic24790-43-1.aspx</link><description>Alguin podria darme una manito please.&lt;/P&gt;&lt;P&gt;Necesito alguna base para generar una grafica de usuarios y sus avances en porcentaje que los tengo en una base de datos, entiendo que deben estar ocupados o algo asi :P pero porfa pido un poco de su tiempo que necesito huvicarme que debo configurar para graficar.&lt;/P&gt;&lt;P&gt;Agradeciendo de antemano su ayuda me despido.</description><pubDate>Thu, 04 Mar 2010 13:03:55 GMT</pubDate><dc:creator>locuas0130</dc:creator></item><item><title>how to add zero ( or how to show zero) in bar chart when there is no data present</title><link>http://www.fusioncharts.com/forum/Topic5962-43-1.aspx</link><description>&lt;SPAN id=_ctl1_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl1_lblFullMessage&gt;&lt;P&gt;&lt;SPAN id=_ctl1_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl1_lblFullMessage&gt;&lt;/P&gt;&lt;/SPAN&gt;Below I have given picture of bar chart. I want to display zero for bar which don't have data.Means consider following case where Febuary month contains one category while others don't have data. I want zero (0) there. Also If there is not any data present in database for particular month, in that case I want to display zero there. In following case &lt;P&gt;march, april ,may etc. where there is not any data. I want to display there labels along with &lt;/P&gt;&lt;P&gt;zero (0) on top .&lt;/P&gt;&lt;P&gt;&lt;IMG style="WIDTH: 864px; HEIGHT: 358px" height=284 src="http://www.fusioncharts.com/forum/Uploads/Images/7c20fd56-2a79-4100-98e6-7687.bmp" width=864&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id=_ctl1_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl1_lblFullMessage&gt; &lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 28 Apr 2008 00:18:23 GMT</pubDate><dc:creator>maheshshinde9</dc:creator></item><item><title>Using $FC-&amp;gt;addDatasetsFromDatabase Method want to control category font and size</title><link>http://www.fusioncharts.com/forum/Topic24228-43-1.aspx</link><description>I am using the "addDatasetsFromDatabase" method. It works perfectly. I just want to change the category font and size.&lt;br&gt;Currently the outCnvBaseFont and outCnvBaseFontSize attributes in the "$FC-&gt;setChartParams($strParam)" control the category font. How do I change the category font?&lt;br&gt;&lt;br&gt;$ctrlField = "category";&lt;br&gt;$valueField = "Receipts;Outlays;SurplusDeficit;GDP";&lt;br&gt;$datasetParamArray = array('Color=008800', 'Color=880000', 'Color=CC0033', 'Color=0000CC');&lt;br&gt;&lt;br&gt;	&lt;br&gt;$FC-&gt;addDatasetsFromDatabase($data_result, $ctrlField, $valueField, $datasetParamArray);&lt;br&gt;&lt;br&gt;I tried hard coding the font and size in FusionCharts_Gen.php file on or about line 408.&lt;br&gt;$strCatXML ="&amp;lt;category name='" . $label . "' " . $strParam . " /&amp;gt;";&lt;br&gt;change to&lt;br&gt;$strCatXML ="&amp;lt;category name='" . $label . "' font='arial' fontSize='6' /&amp;gt;";&lt;br&gt;&lt;br&gt;In the chart XML for category element this produced the following:&lt;br&gt;&amp;lt;category name='1961' font='arial' fontSize='6' /&amp;gt;&lt;br&gt;In the documentation font and fontSize are listed as viable attributes for the category element.&lt;br&gt;&lt;br&gt;I know that hard coding the attributes is not a viable option. I was just trying to find a way to get the attributes into the category element to see if there was a change in the font for the category element. But the category font did not change.&lt;br&gt;&lt;br&gt;Thanks in advance for your help,&lt;br&gt;Chris</description><pubDate>Sat, 20 Feb 2010 13:37:57 GMT</pubDate><dc:creator>car2roll</dc:creator></item><item><title>StackedColumn3DLineDY Emergency...</title><link>http://www.fusioncharts.com/forum/Topic24390-43-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;Please can anybody help to get data in StackedColumn3DLineDY chart from database(sql)&lt;br&gt;i face problem in addDatasetsFromDatabase .&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks to all</description><pubDate>Wed, 24 Feb 2010 07:57:31 GMT</pubDate><dc:creator>Mohammad Salah</dc:creator></item><item><title>renderChart(); $debugMode=false</title><link>http://www.fusioncharts.com/forum/Topic24299-43-1.aspx</link><description>Hey guys&lt;br&gt;&lt;br&gt;Why my renderChart() function cant pass value to $debugMode? &lt;br&gt;&lt;br&gt;The thing is my renderChart() function does not work, so I try to echo every variable in the function. &lt;br&gt;Before the code:   $ndebugMode = boolToNum($debugMode); I try to echo $debugMode, but I could not echo it. &lt;br&gt;Anyone help me here?</description><pubDate>Mon, 22 Feb 2010 22:14:14 GMT</pubDate><dc:creator>juggeraunt</dc:creator></item><item><title>renderChart don't work, emergency</title><link>http://www.fusioncharts.com/forum/Topic24293-43-1.aspx</link><description>Hi guys&lt;br&gt;&lt;br&gt;I am doing a project using FusionCharts in PHP. My code can successfully generate a correct $strXML string, but when I tried to use the renderChart function, I failed. &lt;br&gt;&lt;br&gt;Can anybody here tell me what is the nature of renderChart function? How does it work? Anything need to be taken care of?&lt;br&gt;&lt;br&gt;God bless you. &lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 22 Feb 2010 17:38:48 GMT</pubDate><dc:creator>juggeraunt</dc:creator></item><item><title>Chart data based from form based on dropdown list</title><link>http://www.fusioncharts.com/forum/Topic24214-43-1.aspx</link><description>Hi folks,&lt;br&gt;Is there a way to display chart data based on dropdown list choice?&lt;br&gt;&lt;br&gt;Much like the form example, I'd like to be able to chart data based on month choice from a dropdown list.&lt;br&gt;&lt;br&gt;To clarify:&lt;br&gt;&lt;br&gt;I have a seperate php form for users where they enter their data;&lt;br&gt;&lt;br&gt;Fields to mysql dbase: data1, data2, month, name. &lt;br&gt;I currently have charts preconfigured to display data1, data2 based on month.&lt;br&gt;&lt;br&gt;I'd like for them to view the chart display based on whichever month they choose from a dropdown list (Jan, Feb, etc etc)&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 19 Feb 2010 10:10:40 GMT</pubDate><dc:creator>twhit67</dc:creator></item><item><title>JQuery Date Picker not working with fusion chart</title><link>http://www.fusioncharts.com/forum/Topic9510-43-1.aspx</link><description>Helloo...&lt;br&gt;&lt;br&gt;&lt;br&gt;Am using JQuery Date picker and Fusion Chart in the same JSP&lt;br&gt;in this case the JQuery Date Picker is not working but when ii&lt;br&gt;remove the Fusion chart code it works, anybody knows why and is there&lt;br&gt;any alternative solution ..please help me...&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;</description><pubDate>Sat, 01 Nov 2008 08:23:24 GMT</pubDate><dc:creator>java_80</dc:creator></item><item><title>Max size of a chart</title><link>http://www.fusioncharts.com/forum/Topic24064-43-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;    Currently i am working in a fleet management system project, where i need to render a chart for various countries, affiliates, drivers etc.. It is working fine if i keep the height of the y-axis to&lt;br&gt;4000, but in a particular case, i need to have large number of details in y-axis, say for ex 84 countries and 7 affiliates in combination so the number of data rose upto (84 x 7), In such condition the size of the chart is ok till 4000 but after which it turns blank. Please provide solution for this problem.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;satdev</description><pubDate>Tue, 16 Feb 2010 07:39:11 GMT</pubDate><dc:creator>satdev</dc:creator></item><item><title>How to make candle chart using database in php?</title><link>http://www.fusioncharts.com/forum/Topic23685-43-1.aspx</link><description>Hi all,&lt;br&gt;&lt;br&gt;Help me with this problem, I want make candle stick chart with dynamic data, so candle stick chart can update anytime. Data using database and show candle chart in page php. &lt;br&gt;&lt;br&gt;I can make building the PHP Page for dataXML Method.&lt;br&gt;The PHP page for dataXML method example is named as BasicDBExample.php (in DBExample folder) I can sukses to build this.&lt;br&gt;I try it for candle chart but alwas not success. Please help me to understand it.&lt;br&gt;&lt;br&gt;Nb. Please with the listing program. ;)&lt;br&gt;&lt;br&gt;Thanks in advance!&lt;br&gt;</description><pubDate>Fri, 05 Feb 2010 01:34:05 GMT</pubDate><dc:creator>dyas</dc:creator></item><item><title>Charting all columns</title><link>http://www.fusioncharts.com/forum/Topic23332-43-1.aspx</link><description>Can chart the sum of 1 column per example given; $strQuery = "select sum(Quantity) as TotOutput from Factory_Output where FactoryId=" . $ors['FactoryId'];&lt;br&gt;&lt;br&gt;However, looking for syntax to chart sum(column1) sum(column2) etc etc in one chart by group.&lt;br&gt;&lt;br&gt;Data is in a MySQL dbase - pulling data via PHP&lt;br&gt;&lt;br&gt;I've tried the following in various formats; &lt;br&gt;&lt;br&gt;$strQuery = "select sum(column1) as TotOutput, sum(column2) as TotOutput2 from data where TeamID='1'" . $ors['TeamID'];&lt;br&gt;	 $result2 = mysql_query($strQuery) or die(mysql_error());&lt;br&gt;         $ors2 = mysql_fetch_array($result2);&lt;br&gt;	 &lt;br&gt;         $strXML .= "&lt;set name='" . $ors['TEAM'] . "' value='" . $ors2['TotOutput'] ['TotOutput2]. "' /&gt;";&lt;br&gt;         &lt;br&gt;         mysql_free_result($result2);&lt;br&gt;&lt;br&gt;Any help or insight would be appreciated.</description><pubDate>Fri, 29 Jan 2010 10:30:48 GMT</pubDate><dc:creator>twhit67</dc:creator></item><item><title>Possible bug in renderChartHTML() function</title><link>http://www.fusioncharts.com/forum/Topic21191-43-1.aspx</link><description>I have been using the FusionCharts_Gen.php class to generate my charts (renderChart() function call with html mode set to true) and everything has been working great...in IE.&lt;br&gt;&lt;br&gt;Today I switched to Firefox and for some reason the only thing that the renderChart() function would spit out for me was 'bgcolor=""'. At first I suspected it might be an isolated case due to wonky data in my environment (which I suppose is still possible), but after looking into it further that may not entirely be the case.&lt;br&gt;&lt;br&gt;I traced through the code a bit and found that the issue was with a line in the renderChartHTML() method that is only executed for non-MSIE browsers. I believe it is line 944, it starts with:&lt;br&gt;[code]$strHTML .= "&amp;lt;embed src=....[/code]&lt;br&gt;Midway through the line there is a conditional used to add the bgcolor property. Unfortunately, it appears that this conditional is not being isolated properly and the concatenation is not producing the expected results.&lt;br&gt;&lt;br&gt;I added some extra brackets around the following segment of code:&lt;br&gt;[code]( ($this-&gt;JSC["bgcolor"]!="")? " bgcolor=\"" . $this-&gt;JSC["bgcolor"] . "\"":"" ) [/code]&lt;br&gt;&lt;br&gt;Once I added these brackets, everything came to life.&lt;br&gt;&lt;br&gt;Likely not applicable, but as an FYI anyway, I am using php 5.2.11&lt;br&gt;</description><pubDate>Sun, 06 Dec 2009 21:16:41 GMT</pubDate><dc:creator>atetrack</dc:creator></item><item><title>$_GET and javascript</title><link>http://www.fusioncharts.com/forum/Topic22797-43-1.aspx</link><description>Hello People!&lt;br&gt;I need some help to do a function in Javascript pass GET parameters to a PHP page.&lt;br&gt;&lt;br&gt;[quote]&lt;br&gt;function plotChart(getParameters){&lt;br&gt;							var chartReport = new FusionCharts("fusioncharts/charts/FCF_Column3D.swf", "My Chart", "1000", "360");&lt;br&gt;							var dataUrl= "chart.php?"+getParameters;&lt;br&gt;							//var dataUrlEscape= escape(dataUrl);&lt;br&gt;							alert(dataUrl);&lt;br&gt;							chartReport.setDataURL(dataUrl);&lt;br&gt;							chartReport.render("chart");&lt;br&gt;						}&lt;br&gt;						&lt;br&gt;						function getFormData(){&lt;br&gt;							var customersObj = document.getElementById('customers');&lt;br&gt;							&lt;br&gt;							var url= "";&lt;br&gt;							&lt;br&gt;							var i; getCustomer="";&lt;br&gt;							var arrCustomer;&lt;br&gt;							&lt;br&gt;							for (i=0; i&lt;customerObj.options.length; i++) {&lt;br&gt;								arrCustomer = customerObj.options[i].value;&lt;br&gt;									if((i+1)==customerObj.options.length){&lt;br&gt;										getCustomer= getCustomer + "arrCustomer[]=" + arrCustomer;&lt;br&gt;									}else{&lt;br&gt;										getCustomer= getCustomer + "arrCustomer[]=" + arrCustomer + "&amp;";&lt;br&gt;									}&lt;br&gt;							}&lt;br&gt;							//alert(getPredio);&lt;br&gt;							//alert(getCliente);&lt;br&gt;							if(getCustomer != ""){var url = url +"&amp;"+ getCustomer;}&lt;br&gt;							//-------------------------------------------------------------------------------&lt;br&gt;							//alert(url);&lt;br&gt;							&lt;br&gt;							plotChart(url);&lt;br&gt;						}&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;When I print my url I have the result above:&lt;br&gt;&lt;br&gt;chart.php?arrCustomer[]=A&amp;arrCustomer[]=B&amp;arrCustomer[]=C&amp;flag=1 :w00t:&lt;br&gt;&lt;br&gt;This URL is correct! But in my PHP page I try take this array with this code:&lt;br&gt;[quote]&lt;br&gt;$arrCustomer= $_GET["arrCustomer"];	&lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;The Chart in this case stay always same.. I am pass a variable too, and It's perfect! &lt;br&gt;&lt;br&gt;I read in doc I have to add urlencode in php and escape to javascript but I try do this and nothing yet..&lt;br&gt;Sorry for my english :P&lt;br&gt;Anyone can help me?</description><pubDate>Tue, 19 Jan 2010 13:37:43 GMT</pubDate><dc:creator>drunk</dc:creator></item><item><title>Generate Img ServerSide -&amp;gt; Return Path Img</title><link>http://www.fusioncharts.com/forum/Topic22602-43-1.aspx</link><description>Hello, I groom all documentation regarding the section server side, but I could not come to grips with my problem.&lt;br&gt;I have a script in PHP that generates a PDF, within this pdf I want to see the chart achieved by FusionCharts. To do that I need to save the image of the graph created on the file system and retrieve the path of the image.&lt;br&gt;I could not find any example in PHP that makes saving the image on the filesystem graph dela!&lt;br&gt;This thing is possible with FusionCharts?&lt;br&gt;If so, how?&lt;br&gt;Thank you.&lt;br&gt;Regards</description><pubDate>Fri, 15 Jan 2010 09:28:10 GMT</pubDate><dc:creator>JellyBelly</dc:creator></item><item><title>dynamic labelStep</title><link>http://www.fusioncharts.com/forum/Topic22556-43-1.aspx</link><description>&lt;IMG src="http://www.fusioncharts.com/forum/Uploads/Images/3e08ec8d-3e37-4ee6-88b4-3821.jpg"&gt;&lt;P&gt;I have read through some posts where you suggested using labelStep.  This does not work for me. How should i do this?&lt;/P&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;P&gt;$strXML = "&amp;lt;graph caption='Test' xAxisName='Dato - Tid' yAxisName='Verdi' decimalPrecision='0' formatNumberScale='0' showValues='0' rotateNames='1' labelStep='24'&amp;gt;";&lt;BR&gt;$strXML .= "&amp;lt;set name='$d / $k' value='$val' color='ffffff' shadowAlpha='5'/&amp;gt;"; //generated from a while loop.&lt;BR&gt;........&lt;BR&gt;$strXML .= "&amp;lt;graph&amp;gt;"; &lt;/P&gt;&lt;P&gt;How do i also get rid of the line running through the dots, I would onlu like to show the dots?</description><pubDate>Thu, 14 Jan 2010 07:25:49 GMT</pubDate><dc:creator>mbjorge</dc:creator></item><item><title>Not plotting (0;0) data</title><link>http://www.fusioncharts.com/forum/Topic22515-43-1.aspx</link><description>Hey there&lt;br&gt;&lt;br&gt;I'm trying to plot a "flat" graph, meaning that all the y values will be equal to 0. Look at the strange rendering I get:&lt;br&gt;[b]edit: please notice, at the top of the pic, the blue bar of points loads correctly, but not on the right place :S[/b]&lt;br&gt;[IMG]http://i45.tinypic.com/10f0wmp.jpg[/IMG]&lt;br&gt;I'm using $FC-&gt;addChartDataFromArray($arrData);, just as the example. &lt;br&gt;&lt;br&gt;When I use print_r($arrData); i get this code:&lt;br&gt;[quote]Array ( [0] =&gt; Array ( [0] =&gt; 15 December [1] =&gt; 0 ) [1] =&gt; Array ( [0] =&gt; 16 December [1] =&gt; 0 ) [2] =&gt; Array ( [0] =&gt; 17 December [1] =&gt; 0 ) [3] =&gt; Array ( [0] =&gt; 18 December [1] =&gt; 0 ) [4] =&gt; Array ( [0] =&gt; 19 December [1] =&gt; 0 ) [5] =&gt; Array ( [0] =&gt; 20 December [1] =&gt; 0 ) [6] =&gt; Array ( [0] =&gt; 21 December [1] =&gt; 0 ) [7] =&gt; Array ( [0] =&gt; 22 December [1] =&gt; 0 ) [8] =&gt; Array ( [0] =&gt; 23 December [1] =&gt; 0 ) [9] =&gt; Array ( [0] =&gt; 24 December [1] =&gt; 0 ) [10] =&gt; Array ( [0] =&gt; 25 December [1] =&gt; 0 ) [11] =&gt; Array ( [0] =&gt; 26 December [1] =&gt; 0 ) [12] =&gt; Array ( [0] =&gt; 27 December [1] =&gt; 0 ) [13] =&gt; Array ( [0] =&gt; 28 December [1] =&gt; 0 ) [14] =&gt; Array ( [0] =&gt; 29 December [1] =&gt; 0 ) [15] =&gt; Array ( [0] =&gt; 30 December [1] =&gt; 0 ) [16] =&gt; Array ( [0] =&gt; 31 December [1] =&gt; 0 ) [17] =&gt; Array ( [0] =&gt; 1 January [1] =&gt; 0 ) [18] =&gt; Array ( [0] =&gt; 2 January [1] =&gt; 0 ) [19] =&gt; Array ( [0] =&gt; 3 January [1] =&gt; 0 ) [20] =&gt; Array ( [0] =&gt; 4 January [1] =&gt; 0 ) [21] =&gt; Array ( [0] =&gt; 5 January [1] =&gt; 0 ) [22] =&gt; Array ( [0] =&gt; 6 January [1] =&gt; 0 ) [23] =&gt; Array ( [0] =&gt; 7 January [1] =&gt; 0 ) [24] =&gt; Array ( [0] =&gt; 8 January [1] =&gt; 0 ) [25] =&gt; Array ( [0] =&gt; 9 January [1] =&gt; 0 ) [26] =&gt; Array ( [0] =&gt; 10 January [1] =&gt; 0 ) [27] =&gt; Array ( [0] =&gt; 11 January [1] =&gt; 0 ) [28] =&gt; Array ( [0] =&gt; 12 January [1] =&gt; 0 ) [29] =&gt; Array ( [0] =&gt; 13 January [1] =&gt; ) ) [/quote]&lt;br&gt;&lt;br&gt;Strangely, when I change ANY of the values to a nonzero value, the graph will plot correctly. Any ideas?&lt;br&gt;&lt;br&gt;Thanks</description><pubDate>Wed, 13 Jan 2010 14:24:18 GMT</pubDate><dc:creator>FreedomOverdose</dc:creator></item><item><title>Gantt Chart (PHP + MySQL) Need Help! Urgent for my graduation.</title><link>http://www.fusioncharts.com/forum/Topic20758-43-1.aspx</link><description>Hellow,&lt;br&gt;&lt;br&gt;i already try and try again, but still fail. i need this code for my college graduation.&lt;br&gt;please..need help..really.&lt;br&gt;&lt;br&gt;need help, i don't understand how to:&lt;br&gt;1.making (gantt chart XML code) into (gantt chart PHP code).&lt;br&gt;2.receive data to generate gantt chart.swf from data in database MySQL.&lt;br&gt;&lt;br&gt;here's my files:&lt;br&gt;1.database (database name, table, query).&lt;br&gt;2.gantt chart (XML code).&lt;br&gt;&lt;br&gt;I will really appreciate any help to solve this!&lt;br&gt;&lt;br&gt;thanks,&lt;br&gt;regard jerri jonathan r.f.</description><pubDate>Sun, 22 Nov 2009 20:24:13 GMT</pubDate><dc:creator>krebowz</dc:creator></item><item><title>Php with Swedish Characters</title><link>http://www.fusioncharts.com/forum/Topic22074-43-1.aspx</link><description>Hello,&lt;br&gt;I have problem with displaying Swedish characters in charts. I am using PHP. Does FusionCharts Free supports Swedish language?&lt;br&gt;If so, how can I solve this problem?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Sat, 02 Jan 2010 21:47:36 GMT</pubDate><dc:creator>ramsesiitr</dc:creator></item><item><title>Array Problem</title><link>http://www.fusioncharts.com/forum/Topic21821-43-1.aspx</link><description>I have an xml file that is generated and put into a folder on my web server. Now I would like to pull that information from that XML file and plot it on a graph. Now I got it to plot on the graph but it shows the same thing, which is the last element in the XML file. Below is my php code and if you would like to see my XMLfile I will post a link! I thank you all for your help and time on my problem. I also really love the charts! Thank you again!!!!!!&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR&gt;include("FusionCharts_Evaluation/FusionCharts.php");&lt;BR&gt;?&amp;gt;&lt;BR&gt;&amp;lt;HTML&amp;gt;&lt;BR&gt;&amp;lt;HEAD&amp;gt;&lt;BR&gt; &amp;lt;TITLE&amp;gt;&lt;BR&gt; FusionCharts - Array Example using Single Series Column 3D Chart&lt;BR&gt; &amp;lt;/TITLE&amp;gt;&lt;BR&gt; &amp;lt;?php&lt;BR&gt; //You need to include the following JS file, if you intend to embed the chart using JavaScript.&lt;BR&gt; //Embedding using JavaScripts avoids the "Click to Activate..." issue in Internet Explorer&lt;BR&gt; //When you make your own charts, make sure that the path to this JS file is correct. Else, you would get JavaScript errors.&lt;BR&gt; ?&amp;gt; &lt;BR&gt; &amp;lt;SCRIPT LANGUAGE="Javascript" SRC="FusionCharts_Evaluation/Code/FusionCharts/FusionCharts.js"&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;BR&gt; &amp;lt;style type="text/css"&amp;gt;&lt;BR&gt; &amp;lt;!--&lt;BR&gt; body {&lt;BR&gt;  font-family: Arial, Helvetica, sans-serif;&lt;BR&gt;  font-size: 12px;&lt;BR&gt; }&lt;BR&gt; --&amp;gt;&lt;BR&gt; &amp;lt;/style&amp;gt;&lt;BR&gt;&amp;lt;/HEAD&amp;gt;&lt;BR&gt;&amp;lt;BODY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CENTER&amp;gt;&lt;BR&gt;&amp;lt;?php&lt;BR&gt; //In this example, we plot a single series chart from data contained&lt;BR&gt; //in an array. The array will have two columns - first one for data label&lt;BR&gt; //and the next one for data values.&lt;BR&gt; &lt;BR&gt; //Let's store the sales data for 6 products in our array). We also store&lt;BR&gt; //the name of products. &lt;BR&gt; //Store Name of Products&lt;/P&gt;&lt;P&gt;$file = 'report_16.xml';&lt;BR&gt;$xml = simplexml_load_file($file);&lt;BR&gt;$flight = $xml-&amp;gt;Flight_Data;&lt;/P&gt;&lt;P&gt;foreach($flight as $time){&lt;BR&gt;$results = $time-&amp;gt;attributes()-&amp;gt;time;&lt;/P&gt;&lt;P&gt;for ($i=0; $i&amp;lt;=2; $i++){&lt;BR&gt;   $arrData[$i][1] =  $results;&lt;BR&gt;}}&lt;/P&gt;&lt;P&gt;foreach($flight as $alt){&lt;BR&gt;$result = $alt-&amp;gt;attributes()-&amp;gt;alt;&lt;/P&gt;&lt;P&gt;for ($i=0; $i&amp;lt;=2; $i++){&lt;BR&gt;   $arrData[$i][2] = $result;&lt;BR&gt;}}&lt;/P&gt;&lt;P&gt;&lt;BR&gt; //Now, we need to convert this data into XML. We convert using string concatenation.&lt;BR&gt; //Initialize &amp;lt;chart&amp;gt; element&lt;BR&gt; $strXML = "&amp;lt;chart caption='Acars Altitude Tracker' numberPrefix='' formatNumberScale='0'&amp;gt;";&lt;BR&gt; //Convert data to XML and append&lt;BR&gt; foreach ($arrData as $arSubData)&lt;BR&gt;  $strXML .= "&amp;lt;set label='" . $arSubData[1] . "' value='" . $arSubData[2] . "' /&amp;gt;";&lt;/P&gt;&lt;P&gt; //Close &amp;lt;chart&amp;gt; element&lt;BR&gt; $strXML .= "&amp;lt;/chart&amp;gt;";&lt;BR&gt; &lt;BR&gt; //Create the chart - Column 3D Chart with data contained in strXML&lt;BR&gt; echo renderChart("FusionCharts_Evaluation/Code/FusionCharts/Line.swf", "", $strXML, "productSales", 600, 300, false, false);&lt;BR&gt;?&amp;gt;&lt;BR&gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;BR&gt;&amp;lt;/CENTER&amp;gt;&lt;BR&gt;&amp;lt;/BODY&amp;gt;&lt;BR&gt;&amp;lt;/HTML&amp;gt;</description><pubDate>Tue, 22 Dec 2009 14:15:12 GMT</pubDate><dc:creator>Nicholas Cooper</dc:creator></item><item><title>Strange problem with big charts</title><link>http://www.fusioncharts.com/forum/Topic21593-43-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;I've been experiencing some problems with the single line chart but I didn't find a solution yet. Check below:&lt;br&gt;&lt;br&gt;[img]http://img94.imageshack.us/img94/9634/bug2fw.png[/img]&lt;br&gt;That's what happens on the free version.&lt;br&gt;&lt;br&gt;&lt;br&gt;[img]http://img37.imageshack.us/img37/3186/bughj.png[/img]&lt;br&gt;That's what happens on the paid version (I was using trial since I tought the free was bugish).&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The 2 charts above are huge, like 14,000px. They both show a whole year day-by-day.  With minor widths (like 500px~2000px) I didn't have any problems.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance and sry for my bad english,&lt;br&gt;&lt;br&gt;Felipe R.</description><pubDate>Wed, 16 Dec 2009 12:03:03 GMT</pubDate><dc:creator>Felipe</dc:creator></item><item><title>No data to display</title><link>http://www.fusioncharts.com/forum/Topic21005-43-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I am using a database query to assemble my XML statement but when I render the chart, I get a "No data to Display".&lt;br&gt;&lt;br&gt;&lt;br&gt;This does not work&lt;br&gt;&lt;br&gt;[code]echo renderChart("cbw/swf/FCF_Line.swf", "", $strXML, "Satisfaction", 650, 450);[/code]&lt;br&gt;&lt;br&gt;The strange thing is that if I add a print $strXML just before the renderChart and capture the output from the screen and substitute $strXML in the statement with this, it works.&lt;br&gt;&lt;br&gt;&lt;br&gt;Works -&lt;br&gt;&lt;br&gt;[size=7]echo renderChart("cbw/swf/FCF_Line.swf", "", "&amp;lt;graph caption='Factory Output report' subCaption='By Quantity' pieSliceDepth='30' showBorder='1' showNames='1' formatNumberScale='0' numberSuffix=' Reviews' formatNumber='1' formatNumberScale='1' thousandSeparator=',' decimalPrecision='0' anchorBorderColor='0033CC' showAlternateHGridColor='1' AlternateHGridColor='ff5904' divLineColor='ff5904' divLineAlpha='20' alternateHGridAlpha='5'&amp;gt;&amp;lt;set name='2008-11' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2008-11'/&amp;gt;&amp;lt;set name='2008-12' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2008-12'/&amp;gt;&amp;lt;set name='2009-01' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-01'/&amp;gt;&amp;lt;set name='2009-02' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-02'/&amp;gt;&amp;lt;set name='2009-03' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-03'/&amp;gt;&amp;lt;set name='2009-04' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-04'/&amp;gt;&amp;lt;set name='2009-05' value='0' color='FFE500' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-05'/&amp;gt;&amp;lt;set name='2009-06' value='0' color='00CC00' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-06'/&amp;gt;&amp;lt;set name='2009-07' value='9' color='FF0000' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-07'/&amp;gt;&amp;lt;set name='2009-08' value='5' color='00CC00' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-08'/&amp;gt;&amp;lt;set name='2009-09' value='20' color='FF0000' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-09'/&amp;gt;&amp;lt;set name='2009-10' value='18' color='FF0000' link='histoDetail.php%3FbusinessId%3D8%26startDate%3D2009-10'/&amp;gt;&amp;lt;/graph&amp;gt;", "Satisfaction", 650, 450);[/size]&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 30 Nov 2009 18:17:17 GMT</pubDate><dc:creator>siric</dc:creator></item><item><title>Is 3D scroll chart available with Free version</title><link>http://www.fusioncharts.com/forum/Topic20666-43-1.aspx</link><description>Is 3D scroll chart available with Free version</description><pubDate>Thu, 19 Nov 2009 23:15:46 GMT</pubDate><dc:creator>kavitha</dc:creator></item><item><title>Data not accurate</title><link>http://www.fusioncharts.com/forum/Topic20295-43-1.aspx</link><description>Hi, &lt;/P&gt;&lt;P&gt;Firstly thank you fot the FREE product... Hopefully I can get it to work!!&lt;/P&gt;&lt;P&gt;I am passing an array to a php page(iframe), say chart.php?value1=1&amp;amp;value2=2 and so on.   Then I create the xml file with this data. After that I call the graph using this xml file just created.  I have checked the data &amp;amp; check the xml file and both are correct each time. &lt;/P&gt;&lt;P&gt;Sometimes it works, sometimes the data on the chart is incorrect showing previous results, sometimes the bars on the chart are full and in the shape of a triangle.  if i keep submitting the data it may be correct the 6th time around with all these errors happening in no particular order before that and after that.&lt;/P&gt;&lt;P&gt;code of&lt;/P&gt;&lt;P&gt;&amp;lt;!--this is the inline frame--&amp;gt;&lt;BR&gt;&amp;lt;!--URL looks like:chart.php?choicecount0=0&amp;amp;choicecount1=0&amp;amp;choicecount2=0&amp;amp;choicecount3=0&amp;amp;choicecount4=0&amp;amp;choicecount5=0&amp;amp;choicecount6=0&amp;amp;choicecount7=0&amp;amp;choicecount8=10&amp;amp;choicecount9=30&amp;amp;choicecount10=10&amp;amp;choicecount11=0&amp;amp; --&amp;gt;&lt;BR&gt;&amp;lt;?php&lt;BR&gt;//We've included ../Includes/FusionCharts.php, which contains functions&lt;BR&gt;//to help us easily embed the charts.&lt;BR&gt;include("FusionChartsFree/Code/PHP/Includes/FusionCharts.php");&lt;BR&gt;?&amp;gt;&lt;BR&gt;&amp;lt;HTML&amp;gt;&lt;BR&gt;   &amp;lt;HEAD&amp;gt;&lt;BR&gt;      &amp;lt;TITLE&amp;gt;FusionCharts Free - Simple Column 3D Chart&amp;lt;/TITLE&amp;gt; &lt;BR&gt;   &amp;lt;/HEAD&amp;gt;&lt;BR&gt;   &amp;lt;BODY&amp;gt;&lt;BR&gt;   &amp;lt;?php&lt;/P&gt;&lt;P&gt;&lt;BR&gt;   $data[0] = $_GET['choicecount0'];&lt;BR&gt;   $data[1] = $_GET['choicecount1'];&lt;BR&gt;   $data[2] = $_GET['choicecount2'];&lt;BR&gt;   $data[3] = $_GET['choicecount3'];&lt;BR&gt;   $data[4] = $_GET['choicecount4'];&lt;BR&gt;   $data[5] = $_GET['choicecount5'];&lt;BR&gt;   $data[6] = $_GET['choicecount6'];&lt;BR&gt;   $data[7] = $_GET['choicecount7'];&lt;BR&gt;   $data[8] = $_GET['choicecount8'];&lt;BR&gt;   $data[9] = $_GET['choicecount9'];&lt;BR&gt;   $data[10] = $_GET['choicecount10'];&lt;BR&gt;   $data[11] = $_GET['choicecount11'];&lt;BR&gt;   &lt;BR&gt;   $month[0] = "Jan";&lt;BR&gt;   $month[1] = "Feb";&lt;BR&gt;   $month[2] = "Mar";&lt;BR&gt;   $month[3] = "Apr";&lt;BR&gt;   $month[4] = "May";&lt;BR&gt;   $month[5] = "Jun";&lt;BR&gt;   $month[6] = "Jul";&lt;BR&gt;   $month[7] = "Aug";&lt;BR&gt;   $month[8] = "Sep";&lt;BR&gt;   $month[9] = "Oct";&lt;BR&gt;   $month[10] = "Nov";&lt;BR&gt;   $month[11] = "Dec";&lt;BR&gt;   &lt;BR&gt;   &lt;BR&gt;   //testing array data - correct each time&lt;BR&gt;   for($i = 0; $i &amp;lt;= 11; $i++)&lt;BR&gt;   {&lt;BR&gt;      echo $data[$i];&lt;BR&gt;      echo "&amp;lt;br&amp;gt;";&lt;BR&gt;   }&lt;BR&gt;   &lt;BR&gt;   &lt;BR&gt;   //create xml file - tried with &amp;amp; without the line break "" no success&lt;BR&gt;   $file = "data1.xml";&lt;BR&gt;   $fh = fopen($file, "w");&lt;BR&gt;   fputs($fh, "&amp;lt;graph caption='Errors' xAxisName='Month' yAxisName='Units' decimalPrecision='0' formatNumberScale='0' &amp;gt;");&lt;/P&gt;&lt;P&gt;   for($i = 0; $i &amp;lt;= 11; $i++)&lt;BR&gt;      {&lt;BR&gt;      $line = "&amp;lt;set name='".$month[$i]."' value='".$data[$i]."' color='002255' /&amp;gt;";&lt;BR&gt;      fwrite($fh, $line);&lt;BR&gt;      }&lt;/P&gt;&lt;P&gt;   fputs($fh, "&amp;lt;/graph&amp;gt;");&lt;/P&gt;&lt;P&gt;   fclose($fh); &lt;/P&gt;&lt;P&gt;&lt;BR&gt;      //Create the chart - Column 3D Chart with data from data1.xml&lt;BR&gt;      echo renderChartHTML("FusionChartsFree/Charts/FCF_Column3D.swf", "data1.xml", "", "myFirst", 600, 300); &lt;BR&gt;   ?&amp;gt;&lt;BR&gt;   &amp;lt;/BODY&amp;gt;&lt;BR&gt;&amp;lt;/HTML&amp;gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.  Thanks in advance.&lt;/P&gt;&lt;P&gt;Daithi</description><pubDate>Wed, 11 Nov 2009 05:05:39 GMT</pubDate><dc:creator>1qTour</dc:creator></item><item><title>How can i print charts free with all the content of the page in firefox</title><link>http://www.fusioncharts.com/forum/Topic9451-43-1.aspx</link><description>Hello&lt;br&gt;im using the free version with php 5.1.x&lt;br&gt;and i can't print the charts using javascript:window.print() on firefox 2.x because it prints everything&lt;br&gt;in the page except the chart. &lt;br&gt;in IE 6, 7 there is not any problem doing the same but i need to use firefox for this&lt;br&gt;what can i do?&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 30 Oct 2008 11:50:14 GMT</pubDate><dc:creator>peteraeon</dc:creator></item><item><title>No Data to Display - error when creating a dynamic querystring</title><link>http://www.fusioncharts.com/forum/Topic19406-43-1.aspx</link><description>Setup &lt;STRONG&gt;detail&lt;/STRONG&gt; phpfile&lt;BR&gt;$strDataURL = "includes/Graph.php?keyissueId=".$keyissueId."&amp;amp;departmentId=".$departmentId;&lt;BR&gt;echo renderChart("includes/fusionCharts/FCF_Column3D.swf", $strDataURL, "", "Measurements", 400, 300);&lt;/P&gt;&lt;P&gt;Setup &lt;STRONG&gt;Graph&lt;/STRONG&gt; phpfile&lt;/P&gt;&lt;P&gt;$keyissueId = $_REQUEST['keyissueId'];&lt;BR&gt;$departmentId = $_REQUEST['departmentId'];&lt;/P&gt;&lt;P&gt;getGraphS1K1($departmentId);&lt;/P&gt;&lt;P&gt;function getGraphS1K1($departmentId) {&lt;BR&gt; &lt;BR&gt; include("DBConn.php");&lt;BR&gt; $link = connectToDB();&lt;/P&gt;&lt;P&gt;$strXML = "&amp;lt;graph&amp;gt;";&lt;/P&gt;&lt;P&gt;$strQuery = "select * FROM csrform_s1_k1 where companyId=1"; // this works!!!!&lt;BR&gt;// $strQuery = "select * FROM csrform_s1_k1 where companyId=".$departmentId; // this doesn't works!!!!&lt;BR&gt;&lt;BR&gt;$result = mysql_query($strQuery) or die(mysql_error());&lt;/P&gt;&lt;P&gt; if ($result) {&lt;BR&gt;  while($ors = mysql_fetch_array($result)) {&lt;BR&gt;       $strXML .= "&amp;lt;set name='".$nYearFrom."-".$nYearTill."' value='".$total."' color='AFD8F8' link='?keyissueId=".$ors['keyissueId']."&amp;amp;formId=".$ors['formId']."' /&amp;gt;";&lt;BR&gt;  }&lt;BR&gt; }   &lt;/P&gt;&lt;P&gt; mysql_free_result($result);&lt;BR&gt; mysql_close($link); &lt;BR&gt; &lt;BR&gt; $strXML .= "&amp;lt;/graph&amp;gt;";&lt;BR&gt; &lt;BR&gt; header('Content-type: text/xml');&lt;BR&gt; echo $strXML;&lt;BR&gt;  &lt;BR&gt;}&lt;/P&gt;&lt;P&gt;The big issue is that both querystrings do write the &lt;STRONG&gt;correct&lt;/STRONG&gt; (and same) syntax (XMLString), but the first querystring show a graph in the detail page and the second querystring shows the error 'no data to display'.&lt;/P&gt;&lt;P&gt;I am getting pretty frustrated here! Please help me. If you have the answer, please contact me via mail: marcel.jansens [at] businessbrains.nl</description><pubDate>Wed, 21 Oct 2009 08:01:34 GMT</pubDate><dc:creator>MarcelJansens</dc:creator></item><item><title>no display trying the charting data from a DB example in php class</title><link>http://www.fusioncharts.com/forum/Topic19415-43-1.aspx</link><description>I can not get the chart to display it simply just gives a page that says chart. Please someone help.  I am trying to learn this so I can implement on my pages. &lt;P&gt;[code]&amp;lt;?php&lt;BR&gt;  //We've included ../Includes/FusionCharts_Gen.php, which contains&lt;BR&gt;  //FusionCharts PHP Class to help us easily embed charts &lt;BR&gt;  //We've also used ../Includes/DBConn.php to easily connect to a database.&lt;BR&gt;  include("../class/FusionCharts_Gen.php");&lt;BR&gt;  include("../class/DBConn.php");&lt;BR&gt;  //include 'dbc.php';&lt;BR&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;HTML&amp;gt;&lt;BR&gt;&amp;lt;HEAD&amp;gt;&lt;BR&gt;  &amp;lt;TITLE&amp;gt;&lt;BR&gt;    FusionCharts Free - Database Example&lt;BR&gt;  &amp;lt;/TITLE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR&gt;  //You need to include the following JS file, if you intend to embed the chart using JavaScript.&lt;BR&gt;  //Embedding using JavaScripts avoids the "Click to Activate..." issue in Internet Explorer&lt;BR&gt;  //When you make your own charts, make sure that the path to this JS file is correct. &lt;BR&gt;  //Else, you would JavaScript errors.&lt;BR&gt;?&amp;gt; &lt;BR&gt;&amp;lt;SCRIPT LANGUAGE="Javascript" SRC="../../FusionCharts/FusionCharts.js"&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/HEAD&amp;gt;&lt;BR&gt;&amp;lt;BODY&amp;gt;&lt;BR&gt;&amp;lt;CENTER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR&gt;  //In this example, we show how to connect FusionCharts to a database.&lt;BR&gt;  //For the sake of ease, we've used an MySQL databases containing two&lt;BR&gt;  //tables.&lt;/P&gt;&lt;P&gt;  // Connect to the Database&lt;BR&gt;  $link = connectToDB();&lt;/P&gt;&lt;P&gt;  # Create pie 3d chart object using FusionCharts PHP Class&lt;BR&gt;  $FC = new FusionCharts("Pie3D","650","450"); &lt;/P&gt;&lt;P&gt;  # Set Relative Path of chart swf file.&lt;BR&gt;  $FC-&amp;gt;setSwfPath("../FusionCharts/FCF_Pie2D.swf");&lt;/P&gt;&lt;P&gt;  //Store chart attributes in a variable for ease of use&lt;BR&gt;  $strParam="caption=Factory Output report;subCaption=By Quantity;pieSliceDepth=30; showBorder=1;showNames=1;formatNumberScale=0;numberSuffix= Units;decimalPrecision=0";&lt;/P&gt;&lt;P&gt;  # Set chart attributes&lt;BR&gt;  $FC-&amp;gt;setChartParams($strParam);&lt;/P&gt;&lt;P&gt;&lt;BR&gt;  // Fetch all factory records using SQL Query&lt;BR&gt;  // Store chart data values in 'total' column/field &lt;BR&gt;  // and category names in 'FactoryName'&lt;BR&gt;  $strQuery = "select record_category, sum(record_amount) as total from record  group by record_category";&lt;BR&gt;  &lt;BR&gt;  $result = mysql_query($strQuery) or die(mysql_error());&lt;/P&gt;&lt;P&gt;  //Pass the SQL Query result to the FusionCharts PHP Class function&lt;BR&gt;  //along with field/column names that are storing chart values and corresponding category names &lt;BR&gt;  //to set chart data from database&lt;BR&gt;  if ($result) &lt;BR&gt;  {&lt;BR&gt;    $FC-&amp;gt;addDataFromDatabase($result, "total", "Category");&lt;BR&gt;  }&lt;BR&gt;  &lt;BR&gt;  mysql_close($link);&lt;/P&gt;&lt;P&gt;  # Render the chart&lt;BR&gt;  $FC-&amp;gt;renderChart();&lt;BR&gt;  &lt;BR&gt; &lt;BR&gt;&amp;lt;/CENTER&amp;gt;&lt;BR&gt;&amp;lt;/BODY&amp;gt;&lt;BR&gt;&amp;lt;/HTML&amp;gt;[/code]</description><pubDate>Wed, 21 Oct 2009 17:06:18 GMT</pubDate><dc:creator>lmhart</dc:creator></item><item><title>How create gantt chart with php Class?''</title><link>http://www.fusioncharts.com/forum/Topic11922-43-1.aspx</link><description>&lt;br&gt;Hi, I am using FusionCharts Free version and PHPClass. I am constructing a Gantt Chart, I would like to create this chart using the class but i don't know how!!!! please i need help . i don't know what params give to class, something example o what else???''''</description><pubDate>Thu, 19 Feb 2009 12:54:50 GMT</pubDate><dc:creator>galansex</dc:creator></item><item><title>Problem export pdf using PHP - $strXML</title><link>http://www.fusioncharts.com/forum/Topic18870-43-1.aspx</link><description>Hello,&lt;br&gt;&lt;br&gt;I can not export to pdf. Clicking right on the chart the process starts, but does not open the box to save the file.&lt;br&gt;I've tried many ways ... help me please&lt;br&gt;[b]Examples ??[/b]&lt;br&gt;&lt;br&gt;Source **********************************&lt;br&gt;[quote]&lt;br&gt;[code]&lt;br&gt;&lt;?php&lt;br&gt;include("Code/PHP/Includes/FusionCharts.php");&lt;br&gt;include("comandos.php");&lt;br&gt;&lt;br&gt;	$conectar = conecta();&lt;br&gt;&lt;br&gt;	$strXML  = "";&lt;br&gt;	$strXML .= "&lt;chart caption='aa' borderColor='F3F4F5' showBorder='0' [b]exportEnabled='1' exportAction='download' exportAtClient='1' exportFileName='myChart' exportFormat='PDF' exportHandler='myChart' [/b]&gt;";&lt;br&gt;&lt;br&gt;	$query = selecionar("empresa","id_empresa, fantasia nome","1=1","id_empresa",$conectar);&lt;br&gt;   	if (mysql_num_rows($query) &gt; 0) {&lt;br&gt;		while ($result = mysql_fetch_assoc($query)) {&lt;br&gt;			$query2 = selecionar("colaborador a, colaborador_empresa b","count(b.id_colaborador) colab, a.nome", "a.id_colaborador=b.id_colaborador and b.id_empresa='".$result['id_empresa']."' group by b.id_empresa","nome",$conectar);&lt;br&gt;			$result2 = mysql_fetch_assoc($query2);&lt;br&gt;			&lt;br&gt;			$strXML .= "&lt;set label='" . $result['nome'] . "' value='" . $result2['colab'] . "' link='" . urlencode("st5011.php?id_empresa=" . $result['id_empresa'] . "&amp;nome=" . $result['nome'] ."&amp;dtini=" .$dtIni. "&amp;dtfim=" .$dtFim. "") ."'/&gt;";&lt;br&gt;		}&lt;br&gt;   	}&lt;br&gt;    &lt;br&gt;   $strXML .= "&lt;/chart&gt;";&lt;br&gt;   &lt;br&gt;   echo renderChartHTML("Charts/Pie3D.swf", "", $strXML, "myChart", '50%', '50%', true, true);&lt;br&gt;&lt;br&gt;?&gt;&lt;br&gt;&lt;html&gt;&lt;br&gt;&lt;head&gt;&lt;br&gt;   &lt;SCRIPT LANGUAGE="Javascript" SRC="FusionCharts.js"&gt;&lt;/SCRIPT&gt;&lt;br&gt;   &lt;SCRIPT LANGUAGE="Javascript" SRC="FusionChartsExportComponent.js"&gt;&lt;/SCRIPT&gt;&lt;br&gt;	&lt;script type="text/javascript"&gt;&lt;br&gt;               function ExportMyChart() {&lt;br&gt;      	       var chartObject = getChartFromId('myChart');&lt;br&gt;      	       if( chartObject.hasRendered() ) chartObject.exportChart();&lt;br&gt;	        }&lt;br&gt;   &lt;/script&gt;&lt;br&gt;&lt;/head&gt;&lt;br&gt;&lt;body&gt;&lt;br&gt;&lt;br&gt;   &lt;div id="fcexpDiv" align="center"&gt;FusionCharts Export Handler Component&lt;/div&gt;&lt;br&gt;   &lt;script type="text/javascript"&gt;&lt;br&gt;          var myExportComponent = new FusionChartsExportObject("myChart", "Charts/FCExporter.swf");&lt;br&gt;	  myExportComponent.debugMode = true;&lt;br&gt;          myExportComponent.Render("fcexpDiv");&lt;br&gt;   &lt;/script&gt;&lt;br&gt;&lt;br&gt;   &lt;input type="button" value="Export My Chart" onclick="ExportMyChart()" /&gt;&lt;br&gt;   &lt;br&gt;&lt;/body&gt;&lt;br&gt;&lt;/html&gt;&lt;br&gt;[/code]&lt;br&gt;[/quote]&lt;br&gt;[email]thiago_ccomp@hotmail.com[/email]:blink:</description><pubDate>Wed, 07 Oct 2009 09:03:58 GMT</pubDate><dc:creator>comiz</dc:creator></item><item><title>to have mean value in charts using database and php</title><link>http://www.fusioncharts.com/forum/Topic18691-43-1.aspx</link><description>Hello&lt;br&gt;&lt;br&gt;I have made a chart uisng database php example. Here is the code:&lt;br&gt;&lt;br&gt;&lt;?php&lt;br&gt;include("Includes/FusionCharts.php");&lt;br&gt;include("Includes/DBConn.php");&lt;br&gt;$dateformat = 'mdy';&lt;br&gt;?&gt;&lt;br&gt;&lt;div&gt;&lt;br&gt;	&lt;?php&lt;br&gt;	// Connect to the DB&lt;br&gt;	$link = connectToDB();&lt;br&gt;&lt;br&gt;		//$strXML will be used to store the entire XML document generated&lt;br&gt;		//Generate the chart element&lt;br&gt;		$strXML = "&lt;chart caption='Feed items o/p' subCaption=' by count and date' pieSliceDepth='30' showBorder='1' formatNumberScale='0' numberSuffix=''&gt;";&lt;br&gt;&lt;br&gt;		// Fetch all factory records&lt;br&gt;		$strQuery = "SELECT  date, count(*) AS numrows FROM items GROUP BY date";&lt;br&gt;		$result = mysql_query($strQuery) or die(mysql_error());&lt;br&gt;			while($row=mysql_fetch_array($result)){&lt;br&gt;				$date = $row['date'];&lt;br&gt;				$numrows = $row['numrows'];&lt;br&gt;				&lt;br&gt;				//Now create a second query to get details for this factory&lt;br&gt;				$strQuery1 = "SELECT date,count(*) AS numrows FROM items where date='$date' GROUP BY date";			&lt;br&gt;&lt;br&gt;				$result2 = mysql_query($strQuery1) or die(mysql_error()); &lt;br&gt;&lt;br&gt;				$ors2 = mysql_fetch_array($result2);&lt;br&gt;				//Generate &lt;set label='..' value='..' /&gt; &lt;br&gt;&lt;br&gt;				$strXML .= "&lt;set label='" . $date . "' value='" . $ors2['numrows'] . "' /&gt;";&lt;br&gt;&lt;br&gt;				//free the resultset&lt;br&gt;				mysql_free_result($result2);&lt;br&gt;			}&lt;br&gt;			&lt;br&gt;		mysql_free_result($result);&lt;br&gt;		mysql_close($link);&lt;br&gt;&lt;br&gt;		//Finally, close &lt;chart&gt; element&lt;br&gt;		$strXML .= "&lt;/chart&gt;";&lt;br&gt;&lt;br&gt;	//Create the chart - Pie 3D Chart with data from $strXML&lt;br&gt;	echo renderChart("FusionCharts/Column3D.swf", "", $strXML, "chart", 600, 300, false, false);&lt;br&gt;	?&gt;&lt;br&gt;&lt;br&gt;Now I need that from the items table where I am pulling all values and showing the chart, I need to calculate the mean value also and show. Can anyone tell me how to do it for fetching values from the database?</description><pubDate>Thu, 01 Oct 2009 06:16:02 GMT</pubDate><dc:creator>honeydukes_22</dc:creator></item><item><title>FusionCharts_Gen outputs garbage after update</title><link>http://www.fusioncharts.com/forum/Topic18310-43-1.aspx</link><description>Hi all,&lt;br&gt;since I updated to the latest code (Version: 1.0.1 (11 December 2008), AFAIK), I'm experiencing a disrupting problem.&lt;br&gt;&lt;br&gt;FusionCharts_Gen.php outputs some byte of garbage&lt;br&gt;&lt;br&gt;[img]http://img10.imageshack.us/img10/389/fusioncgarbage.jpg[/img]&lt;br&gt;&lt;br&gt;Any hints? Thankyou</description><pubDate>Fri, 18 Sep 2009 02:35:58 GMT</pubDate><dc:creator>Zane</dc:creator></item><item><title>Graph does not render precisely on Y axis</title><link>http://www.fusioncharts.com/forum/Topic18392-43-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;When I generate a 2D area graph the chart sometimes does not render precisely.  In the image I include the line should extend from 0 to 1 but it appears to terminate below.  Can you tell me what I am doing wrong ?&lt;/P&gt;&lt;P&gt;Here is the image:&lt;BR&gt;&lt;IMG src="http://www.fusioncharts.com/forum/Uploads/Images/86bd77d0-723a-4c22-bb19-5b85.jpg"&gt;&lt;/P&gt;&lt;P&gt;Here is the code: &lt;/P&gt;&lt;SPAN id=profile_name&gt;&lt;B&gt;&lt;SPAN class=comment&gt;&lt;PRE id=line138&gt;		//Instantiate the Chart			var chart_redemptions = new FusionCharts("FCF_Area2D.swf", "redemptions", "800", "500", "0", "0");      chart_redemptions.setTransparent("false");    		//Provide entire XML data using dataXML method		chart_redemptions.setDataXML("&amp;lt;graph caption='' xAxisName='Time' yAxisName='# of Redemptions' numberPrefix='' formatNumberScale='0' decimalPrecision='0' numHDivLines='0' numDivLines='0' &amp;gt;&amp;lt;set name='2009-08-25' value='0' color='AFD8F8' /&amp;gt;&amp;lt;set name='2009-08-27' value='1' color='AFD8F8' /&amp;gt;&amp;lt;/graph&amp;gt;")		//Finally, render the chart.		chart_redemptions.render("redemptionsDiv");&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&lt;B&gt;&lt;SPAN class=comment&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt; </description><pubDate>Mon, 21 Sep 2009 20:56:19 GMT</pubDate><dc:creator>brianohit</dc:creator></item></channel></rss>