/// <summary> /// Handles the Load event of the Page control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> protected void Page_Load(object sender, EventArgs e) { XmlDocument xmlInput = new XmlDocument(); xmlInput.Load(Request.InputStream); ChartConfigProvider ccp = new ChartConfigProvider(xmlInput); ChartBuilder cb = new ChartBuilder(ccp, Page, true); Response.ContentType = "text/html"; Response.Write(cb.GetChartHtml()+cb.GetHtmlImageMap()); }