Sign in to follow this  

Chart Not Displaing After Published In Iis

Recommended Posts

I have given different path but it is showing empty page. see my code below. I have put swf files in fusionchart folder but it's not work so I put it in webform page folder itself.




StringBuilder strXml = new StringBuilder();


strXml.Append("<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' decimalPrecision='0' formatNumberScale='0'>");

strXml.Append(" ");

for (int cnt = 0; dtData.Rows.Count > cnt;cnt++)



strXml.AppendFormat("<set name='{0}' value='{1}'/>", dtData.Rows[cnt][0].ToString(), dtData.Rows[cnt][1].ToString());



strXml.Append(" ");


// FCLiteral.Text = FusionCharts.RenderChartHTML("C:\\Dell_Pojects\\ExcelToChart\\ExcelToChart\\FusionCharts\\FCF_Column3D.swf", "",Xml.ToString(), "myFirst", "700", "350", false);

// FCLiteral.Text = FusionCharts.RenderChart("../FusionCharts/FCF_Column3D.swf", "", strXml.ToString(), "myFirst", "700", "350", false,false);

// FCLiteral.Text = FusionCharts.RenderChart("FCF_Column3D.swf", "", strXml.ToString(), "myFirst", "700", "350",true, false);


FCLiteral.Text = FusionCharts.RenderChartHTML("FCF_Column3D.swf", "", strXml.ToString(), "myFirst", "700", "350", true);

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this