aspx page & javascript, Fusion Charts
-
Hi Im using Fusion Charts. My problem is that i have a page that generates a chart BUT the page itself does not seem to be able to store the value of a variable. Cos I want to print out the objects values in a panel next to the chart. It looks like the Fusion Chart uses Javascript, i dont know if this is the problem here. What i think could solve my problem was if i could create a page within a page. So ie. my panel could be in one page and the chart in another.Kind of like Outlook. If this will help, will someone please help me out with how to go about doing this?? here is my code,in case problem is with the code:
string username; username = Request.QueryString["Username"]; lblUsername.Text = username; //following gets the specific users dailycount for the last week PCUserDetails[] userArray = dbComponent.GetWeeksUsage(username); //xmlData will be used to store the entire XML document generated string xmlData; xmlData = ""; //loop running through each object result in array of users, and creating rest of xml foreach (PCUserDetails user in userArray) { //Convert data to XML and append xmlData += ""; } //Close element xmlData += ""; //Create the chart - Column 3D Chart with data contained in xmlData return InfoSoftGlobal.FusionCharts.RenderChart("FusionCharts/Column3D.swf", "", xmlData, "CountMp3Week", "400", "300", false, false); }
Thanks