• Content count

  • Joined

  • Last visited

About Duke_Quakem

  • Rank
    Forum Newbie
  1. So far I've been working with the swf, dll and the .js files inside the website folder. Now I'm trying to move all the files to a unique folder at root level ( wwwroot folder), just as the documentation recommends for an easy administration of the files and to avoid redundacy of having the same .swf chart many times. The folder tree is something like this: InetPub - - wwwroot - - - - FusionCharts <- the folder with all the charts, .js and dll - - - - website1 - - - - website2 What i'm trying to do is to redirect all the return FusionCharts.RenderChart("chart.swf",etc,etc.) to the FusionCharts folder wich is outside the website folder. So far I've tried with "../FusionCharts/Chart.swf" , "../../FusionCharts/Chart.swf", "~/FusionCharts/Chart.swf" "C:/Inetpub/wwwroot/FusionCharts/Chart.swf" with no success, I still get the white DIV. But if I place the .swf on the web folder it plots perfectly, so it must be I'm setting the route wrong. How will be the correct way to do that? Do I need to make the FusionCharts Folder a virtual directory in order to work what I'm trying to do? Can I do the same with the .dll ? so far I need to place the .dll inside the Bin folder of the website to be able to add the Using InfoSoftGlobal; line into the code. Can I call the .dll from the outside (the FusionCharts folder) and still be able to use add that line intto my code?
  2. Multiple Pie3D charts

    I forced the size of the pie charts and that fixed the issue, thanks!
  3. Multiple Pie3D charts

    Here are the ss for the chars. 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. 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).
  4. Multiple Pie3D charts

    I made the change on the DIV's IDs and voila! the charts worked wonderfully! I can't believe something that simple kept me stucked this long... better go hit some books 'bout javascript thanks for your help, you guys really rock ! 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...
  5. Multiple Pie3D charts

    Sorry about the delay. Here's the asp and the cs code.
  6. Multiple Pie3D charts

    Hi 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.
  7. Multiple Pie3D charts

    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. 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. Here's the code on the aspx page < div style="z-index: 106; left: 56px; width: 250px; position: absolute; top: 88px; height: 250px" id="P1-P2"> < % = imprimeChart("P1-P2") %> < /div> < div style="z-index: 107; left: 320px; width: 250px; position: absolute; top: 88px; height: 250px" id="P2-P3"> < % = imprimeChart("P2-P3") %> < /div> < div id="P3-P4" style="z-index: 108; left: 56px; width: 250px; position: absolute; top: 352px; height: 250px"> < % = imprimeChart("P3-P4") %> < /div> < div id="P2-P5" style="z-index: 109; left: 320px; width: 250px; position: absolute; top: 352px; height: 250px"> < % = imprimeChart("P2-P5") %> < /div> and the CS code public string imprimeChart(string Div) { string dataXML = "< chart caption='" + Div + "' formatNumberScale='0'>"; int columna = 0,criterio = 0, buenos = 0, malos = 0; switch (Div) { case "P1-P2": columna = 2; criterio = 5; break; case "P2-P3": columna = 3; criterio = 17; break; case "P2-P4": columna = 4; criterio = 20; break; case "P2-P5": columna = 5; criterio = 25; break; } //ve cada fila de la columna elegida para el gr
  8. Can't make it run

    I made the changes and it works, THX
  9. Can't make it run

    Hi, i'm kinda new and i'm tryin' to use a chart in a website made in C# (VS.NET 2005 Professional). I read the docs and searched the net but i can't get FusionCharts movin'. I upload the .dll, .swf and the .js to the project, I modified the .aspx just like the first basic example and upgraded the Flash Player but I still get a white page. Here's a pic of the solution tree: and the code of the Default.aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Import Namespace="InfoSoftGlobal" %> !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> html xmlns="http://www.w3.org/1999/xhtml" > head runat="server"> title>Ejemplo FusionCharts/title> /head> body> <% //Create the chart - Column 3D Chart with data from Data/Data.xml Response.Write(FusionCharts.RenderChartHTML("../FusionCharts/Column3D.swf", "../Data/Data.xml", "", "myFirst", "600", "300", false)); %> /body> /html> I haven't added any other code since I'm still tryin' to make the first basic example. Hope you can help me to find out what I'm missin' PS: I erased some of the < symbols cause the [ code ] [ /code] IFCode didn't work...