public void RenderChart(int examID) { Pie chart = new Pie((string)Session["id"], examID); Context.Response.Write(js.Serialize(chart.RenderReport())); }