ChartSerializer.Save Method (Stream)
Saves chart data and properties with non-default values to an object that derives from the Stream class.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
By default, all chart properties with non-default values, which includes data points, will be serialized when this method is called. To control chart characteristics to be serialized, use the Content, SerializableContent and NonSerializableContent properties.
Serialization of a chart as a template occurs differently from non-template serialization; template serialization concentrates on Appearance properties.
When a template is serialized, the LoadTemplate method can be used to load the template, to provide the Appearance properties for a chart.
Templates can be used to simulate custom palettes.