When a chart is rendered using binary streaming, two web pages are used: one
page that creates the Chart control and another that makes reference to the page
with the Chart control.
The page that that creates the Chart control is a simple ASPX page, and the Chart control's rendering method is set to BinaryStreaming. On this page, all HTML tags are removed, leaving only the Chart definition in XML. You can still use code-behind.
The second page that makes reference contains an Image element with its ImageUrl attribute set to the name of the first page. This rendering method is fast because it does not require any disk space or security rights for writing data to the temporary image files.
This sample is made of two web forms:
#1 - BinaryStreamingImage.aspx - contains the Chart control.
#2 - BinaryStreaming.aspx - contains the image tag.