Saves chart data and properties with non-default values to the given object that is derived from the XMLWriter class.
Saves all properties of the chart into the XML writer. By setting Content or SerializableContent/NonSerializableContent properties specific set of properties can be saved.
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- writer
-
An object derived from XMLWriter used to save Chart properties.
XML writer to save the data.
The following example serializes all appearance data to disk (only properties with non-default values are ever serialized).
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WebControlImports System.XmlImports System.Text |
By default all chart properties with non-default values (this includes data points) will be serialized when this method is called. To control what chart characteristics are serialized use the Content, SerializableContent and NonSerializableContent properties.
When using this definition the format (set by the Format property) must be XML.
When working with XML format text files for simplicity use the Save definition that takes a fileName string parameter instead.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family