﻿<?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 v3 / Using FusionCharts / FusionCharts and PHP  / Please, help me debugging this one / Latest Posts</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>Wed, 03 Dec 2008 02:40:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Please, help me debugging this one</title><link>http://www.fusioncharts.com/forum/Topic5667-31-1.aspx</link><description>Hi gbiondo,&lt;BR&gt;   In multiple FusionCharts, Render Charts need different &amp;lt;div&amp;gt; and different chart id. Please modify your code as per given code.&lt;/P&gt;&lt;P&gt;&amp;lt;?  &lt;BR&gt;for($i=1;$i&amp;lt;11;$i++){&lt;BR&gt;?&amp;gt;&lt;BR&gt;  &amp;lt;div id="&amp;lt;?="chart$i"?&amp;gt;div"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR&gt;  &amp;lt;script type="text/javascript"&amp;gt;&lt;BR&gt;    var &amp;lt;?="chart$i"?&amp;gt; = new FusionCharts("Charts/FCF_MSLine.swf", "&amp;lt;?="chart$i"?&amp;gt;", "600", "350");&lt;BR&gt;    &amp;lt;?="chart$i"?&amp;gt;.setDataURL("&amp;lt;?=$f?&amp;gt;"); &lt;BR&gt;    &amp;lt;?="chart$i"?&amp;gt;.render("&amp;lt;?="chart$i"?&amp;gt;div");&lt;BR&gt;    &amp;lt;/script&amp;gt;&lt;BR&gt;&amp;lt;? } ?&amp;gt;</description><pubDate>Wed, 16 Apr 2008 07:44:54 GMT</pubDate><dc:creator>Arindam</dc:creator></item><item><title>Please, help me debugging this one</title><link>http://www.fusioncharts.com/forum/Topic5667-31-1.aspx</link><description>Hi all&lt;br&gt;&lt;br&gt;I have the need to render several XML files describing line charts in the same page.&lt;br&gt;&lt;br&gt;chiefly, I wrote this routine, that should - at some point - generate this HTML:&lt;br&gt;&lt;br&gt;[script type="text/javascript"]&lt;br&gt;var [?="chart$i"?] = new FusionCharts("Charts/FCF_MSLine.swf", "ChartId", "600", "350");&lt;br&gt;[?="chart$i"?].setDataURL("[?=$f?]");		   &lt;br&gt;[?="chart$i"?].render("chartdiv");&lt;br&gt;[/script] [/td]&lt;br&gt;&lt;br&gt;where [ must be read as the less-than symbol and ] as the greater-than.&lt;br&gt;&lt;br&gt;$i is a counter - used to serialize the javascript objects, and $f is the current XML file path.&lt;br&gt;&lt;br&gt;Unfortunately, only the last graph is shown. &lt;br&gt;&lt;br&gt;Can you please help me?&lt;br&gt;&lt;br&gt;Thanks in advance.</description><pubDate>Tue, 15 Apr 2008 09:42:30 GMT</pubDate><dc:creator>gbiondo</dc:creator></item></channel></rss>