﻿<?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 ASP.NET  / Multiple Pie3D charts / 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:35:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>I forced the size of the pie charts and that fixed the issue, thanks! ;)</description><pubDate>Thu, 31 Jan 2008 08:28:30 GMT</pubDate><dc:creator>Duke_Quakem</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;For the pie and doughnut charts, the size is determined by the empty space on chart (left after rendering labels). If you want to force your own size of the pie/doughnut, you can set:&lt;br&gt;[ chart ... pieRadius='xx' ...]  (xx in pixels)</description><pubDate>Wed, 30 Jan 2008 14:54:14 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>Here are the ss for the chars.&lt;P&gt;[IMG]http://i247.photobucket.com/albums/gg143/DukeQuakem/Pie3D.jpg[/IMG]&lt;BR&gt;[IMG]http://i247.photobucket.com/albums/gg143/DukeQuakem/Pie2D.jpg[/IMG]&lt;BR&gt;[IMG]http://i247.photobucket.com/albums/gg143/DukeQuakem/Column2D.jpg[/IMG]&lt;/P&gt;&lt;P&gt;As you can see, the problem appears on the 2D and 3D pie charts, while in the 2D Column (I haven't tested with the 3D column) you can't see a major size difference. &lt;/P&gt;&lt;P&gt;Also, if you pay attention, the Pie charts seems to become smaller in the order they are plotted (it's more visible on the 2D pie rather than the 3D).</description><pubDate>Wed, 30 Jan 2008 12:54:42 GMT</pubDate><dc:creator>Duke_Quakem</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>hi,&lt;/P&gt;&lt;P&gt;can you just send us a screenshot of the page?</description><pubDate>Wed, 30 Jan 2008 00:38:50 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>I made the change on the DIV's  IDs and voila! the charts worked wonderfully!&lt;br&gt;&lt;br&gt;I can't believe something that simple kept me stucked this long... better go hit some books 'bout javascript :P&lt;br&gt;&lt;br&gt;thanks for your help, you guys really rock !&lt;br&gt;&lt;br&gt;Just a lttle concern. I don't know why the first chart loks normal while the others 3 the pie is a lot smaller than the first one... but they're visible...</description><pubDate>Tue, 29 Jan 2008 12:56:35 GMT</pubDate><dc:creator>Duke_Quakem</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>hi,&lt;/P&gt;&lt;P&gt;I have a quick view of your code and i trapped some javascript errors. The div ids that you have defined are having '-' character which is not permissible in JavaScript. can you please replace the character with say, '_' and things will work.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&amp;lt;div style="z-index: 106; left: 56px; width: 250px; position: absolute; top: 88px;&lt;BR&gt;            height: 250px" id="&lt;STRONG&gt;P1_P2&lt;/STRONG&gt;"&amp;gt;&lt;BR&gt;            &amp;lt;% = imprimeChart("&lt;STRONG&gt;P1_P2&lt;/STRONG&gt;") %&amp;gt;            &lt;BR&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;Moreover, the size of the chart are bigger (600x300) than the container (250x250). Please set the size of the charts too:&lt;/P&gt;&lt;P&gt;       return FusionCharts.RenderChart("FusionCharts/Pie3D.swf", "", dataXML, Div, "250", "250", false, false);</description><pubDate>Mon, 28 Jan 2008 23:21:37 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>Sorry about the delay. Here's the asp and the cs code.</description><pubDate>Mon, 28 Jan 2008 12:55:35 GMT</pubDate><dc:creator>Duke_Quakem</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt;Can you please send the complete HTML output as attachment?</description><pubDate>Fri, 25 Jan 2008 13:02:51 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt;I checked the code but I do have the 'script language="JavaScript" src="FusionCharts/FusionCharts.js" /script' in the Head tag of the page. Also I checked with sample data to see if the problem could be the XML was sending charts with no data inside, but still I get the 'Chart' text on each Div... not even the 'no data to display' message.&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 25 Jan 2008 07:05:25 GMT</pubDate><dc:creator>Duke_Quakem</dc:creator></item><item><title>RE: Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>hi,&lt;/P&gt;&lt;P&gt;It might be that you have not added/included FusionCharts.js script in &amp;lt;script&amp;gt; tag in the HTML - HEAD part of your aspx file.</description><pubDate>Tue, 22 Jan 2008 23:24:12 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>Multiple Pie3D charts</title><link>http://www.fusioncharts.com/forum/Topic4008-32-1.aspx</link><description>I want to show 4 charts on a same page, eah one in a different DIV. I have the Query running, and as far i can see, the XML is beign properly made using concatenation.&lt;br&gt;&lt;br&gt;The thing is I am using one method (imprimechart) to populate each chart (I use a string to see witch chart I am building). I think the code generating the XML is correct, but i still get the "chart" text on all DIVs. &lt;br&gt;&lt;br&gt;Here's the code on the aspx page&lt;br&gt;&lt;br&gt;[code]&lt; div style="z-index: 106; left: 56px; width: 250px; position: absolute; top: 88px;&lt;br&gt;            height: 250px" id="P1-P2"&gt;&lt;br&gt;            &lt; % = imprimeChart("P1-P2") %&gt;            &lt;br&gt;        &lt; /div&gt;&lt;br&gt;        &lt; div style="z-index: 107; left: 320px; width: 250px; position: absolute; top: 88px;&lt;br&gt;            height: 250px" id="P2-P3"&gt;&lt;br&gt;            &lt; % = imprimeChart("P2-P3") %&gt;&lt;br&gt;        &lt; /div&gt;&lt;br&gt;        &lt; div id="P3-P4" style="z-index: 108; left: 56px; width: 250px; position: absolute;&lt;br&gt;            top: 352px; height: 250px"&gt;&lt;br&gt;            &lt; % = imprimeChart("P3-P4") %&gt;&lt;br&gt;        &lt; /div&gt;&lt;br&gt;        &lt; div id="P2-P5" style="z-index: 109; left: 320px; width: 250px; position: absolute;&lt;br&gt;            top: 352px; height: 250px"&gt;&lt;br&gt;            &lt; % = imprimeChart("P2-P5") %&gt;&lt;br&gt;        &lt; /div&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;and the CS code&lt;br&gt;&lt;br&gt;[code]public string imprimeChart(string Div)&lt;br&gt;    {&lt;br&gt;        string dataXML = "&lt; chart caption='" + Div + "' formatNumberScale='0'&gt;";&lt;br&gt;        int columna = 0,criterio = 0, buenos = 0, malos = 0;&lt;br&gt;&lt;br&gt;        switch (Div)&lt;br&gt;        {&lt;br&gt;            case "P1-P2":&lt;br&gt;                columna = 2;&lt;br&gt;                criterio = 5;&lt;br&gt;                break;&lt;br&gt;            case "P2-P3":&lt;br&gt;                columna = 3;&lt;br&gt;                criterio = 17;&lt;br&gt;                break;&lt;br&gt;            case "P2-P4":&lt;br&gt;                columna = 4;&lt;br&gt;                criterio = 20;&lt;br&gt;                break;&lt;br&gt;            case "P2-P5":&lt;br&gt;                columna = 5;&lt;br&gt;                criterio = 25;&lt;br&gt;                break;&lt;br&gt;        }&lt;br&gt;        &lt;br&gt;        //ve cada fila de la columna elegida para el gráfico en proceso&lt;br&gt;        foreach (DataRow fila in tablaGP.Rows)&lt;br&gt;        {&lt;br&gt;            if (Convert.ToInt32(fila[columna]) &gt; criterio)&lt;br&gt;                malos = malos + 1;&lt;br&gt;            else&lt;br&gt;                buenos = buenos + 1;&lt;br&gt;        }&lt;br&gt;&lt;br&gt;        dataXML = dataXML + " &lt; set label='Buenos' value='" + buenos.ToString() + "'/ &gt; &lt; set label='Malos' value='" + malos.ToString() + "'/ &gt; &lt; /chart&gt;";&lt;br&gt;        return FusionCharts.RenderChart("FusionCharts/Pie3D.swf", "", dataXML, Div, "600", "300", false, false);&lt;br&gt;    }[/code]&lt;br&gt;&lt;br&gt;I think the problem is on the aspx page or in the return of the method. Maybe i'm not stating properly the DIV's ID to separate each chart.</description><pubDate>Tue, 22 Jan 2008 10:17:28 GMT</pubDate><dc:creator>Duke_Quakem</dc:creator></item></channel></rss>