I call the method in C # as follows:
return Chart.RenderChartHTML("../../Charts/MSLine.swf");
The fact is that the path may be different depending on which folder I call RenderChartHTML from.
I tried the following to find the absolute path, but it does not work:
string mslinepath = HttpContext.Current.Server.MapPath("~/Charts/MSLine.swf"); return Chart.RenderChartHTML(mslinepath);
source share