public TempChartStyle TempChart {get; set;}
Example
private void Page_Load(object sender, System.EventArgs e)
{
// Code to return stream saved Charts to a WebForm
string chartName=Request.QueryString["Chart"];
if (Session[chartName]!=null)
{
System.IO.MemoryStream chartStream = new System.IO.MemoryStream();
chartStream=((System.IO.MemoryStream)Session[chartName]);
Response.OutputStream.Write(chartStream.ToArray(),0,(int)chartStream.Length);
chartStream.Close();
Session.Remove(chartName);
}
}
Remarks
When set to 'Session' TeeChart streams the Chart to a Session variable for direct us in the WebForm (no temporary file). When the 'Session' option is selected add a script file to return the TeeChart.See Also
WebChart Class | WebChart Members | Steema.TeeChart.Web Namespace