﻿<?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 / General Usage  / Mutiple Charts on a single page / 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>Tue, 02 Dec 2008 05:51:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Mutiple Charts on a single page</title><link>http://www.fusioncharts.com/forum/Topic2860-40-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;Can you switch the debug mode of both charts to on - that'll give you insights into what might be going wrong.</description><pubDate>Tue, 30 Oct 2007 06:33:39 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Mutiple Charts on a single page</title><link>http://www.fusioncharts.com/forum/Topic2860-40-1.aspx</link><description>Trying to build a single page with mutiple charts on the page. I can get the first one to post but receive an invalid XML message with chart #2&lt;P&gt;The charts work fine individaully so I'm fairly confident it's how I'm calling out the second chart. &lt;/P&gt;&lt;P&gt;The code is as follows:&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;BR&gt; &lt;BR&gt;  &lt;BR&gt; &lt;BR&gt; Dim oRs, oRs2, strQuery&lt;BR&gt; Dim strXML&lt;BR&gt; &lt;BR&gt; &lt;BR&gt; Set oRs = Server.CreateObject("ADODB.Recordset")&lt;/P&gt;&lt;P&gt; &lt;BR&gt; &lt;BR&gt; &lt;BR&gt; strXML = "&amp;lt;chart caption='Telephone Service Factor In Percentage' pieSliceDepth='30' showBorder='1' formatNumberScale='0'&amp;gt;"&lt;BR&gt; &lt;/P&gt;&lt;P&gt; strQuery = "select * from Queue_Master_TSF"&lt;BR&gt; Set oRs = oConn.Execute(strQuery)&lt;BR&gt; &lt;BR&gt; While Not oRs.Eof&lt;BR&gt;  &lt;BR&gt;  Set oRs2 = Server.CreateObject("ADODB.Recordset")&lt;BR&gt;  strQuery = "select sum(Quantity) as TotOutput from Queue_Output_TSF where GraphlabelID=" &amp;amp; ors("GraphlabelID")&lt;BR&gt;  Set oRs2 = oConn.Execute(strQuery)    &lt;BR&gt;   &lt;BR&gt;  strXML = strXML &amp;amp; "&amp;lt;set label='" &amp;amp; ors("QueueName") &amp;amp; "' value='" &amp;amp; ors2("TotOutput") &amp;amp; "' /&amp;gt;"&lt;BR&gt;  &lt;BR&gt;  Set oRs2 = Nothing&lt;BR&gt;  oRs.MoveNext&lt;BR&gt; Wend&lt;BR&gt; &lt;BR&gt; strXML = strXML &amp;amp; "&amp;lt;/chart&amp;gt;"&lt;BR&gt; Set oRs = nothing&lt;BR&gt; &lt;/P&gt;&lt;P&gt; Call renderChart("../../FusionCharts/column3D.swf", "", strXML, "FactorySum", 850, 170, false, false)&lt;BR&gt; &lt;BR&gt;  strQuery = "select * from Queue_Master_ABDN"&lt;BR&gt; Set oRs = oConn.Execute(strQuery)&lt;BR&gt; &lt;BR&gt; While Not oRs.Eof&lt;BR&gt;  &lt;BR&gt;  Set oRs2 = Server.CreateObject("ADODB.Recordset")&lt;BR&gt;  strQuery = "select sum(Quantity) as TotOutput from Queue_Output_ABDN where GraphlabelID=" &amp;amp; ors("GraphlabelID")&lt;BR&gt;  Set oRs2 = oConn.Execute(strQuery)    &lt;BR&gt;   &lt;BR&gt;  strXML = strXML &amp;amp; "&amp;lt;set label='" &amp;amp; ors("QueueName") &amp;amp; "' value='" &amp;amp; ors2("TotOutput") &amp;amp; "' /&amp;gt;"&lt;BR&gt;  &lt;BR&gt;  Set oRs2 = Nothing&lt;BR&gt;  oRs.MoveNext&lt;BR&gt; Wend&lt;BR&gt; &lt;BR&gt; strXML = strXML &amp;amp; "&amp;lt;/chart&amp;gt;"&lt;BR&gt; Set oRs = nothing&lt;BR&gt; &lt;BR&gt; Call renderChart("../../FusionCharts/column3D.swf", "", strXML, "FactorySum1", 850, 170, false, false)&lt;BR&gt; &lt;BR&gt; &lt;BR&gt; &lt;BR&gt;%&amp;gt;&lt;BR&gt;</description><pubDate>Thu, 25 Oct 2007 15:13:00 GMT</pubDate><dc:creator>tstreeter</dc:creator></item></channel></rss>