ChartSerializer.Save Method (XmlWriter)

.NET Framework (current version)

Saves chart data and properties with non-default values to the given object that is derived from the XmlWriter class.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void Save(
	XmlWriter writer


Type: System.Xml.XmlWriter

An object derived from XmlWriter used to save Chart properties.

By default, all chart properties with non-default values, which includes data points, will be serialized when this method is called. To control which chart characteristics are serialized, use the Content, SerializableContent and NonSerializableContent properties.

When you use this definition, the format must be XML; the format can be changed with the Format property.

When you work with XML format text files, for simplicity use the Save method instead.

.NET Framework
Available since 4.0
Return to top