[]
Reconstructs a SharpGraph object with a specified state from an XML encoding.
Use "strict" attribute of root element "SharpGraph" in xml files to control error handling behaviour. This attribute is false by default. If true xml import process will stop once it finds first error and throw an exception. If false it will mutually continue.
public static void FromXml(ISharpGraph sharpChartControl, XmlElement rootElement)
Type | Name | Description |
---|---|---|
ISharpGraph | sharpChartControl | |
XmlElement | rootElement | The XML encoding to use to reconstruct the SharpGraph object. |
public static void FromXml(ISharpGraph sharpChartControl, XmlElement rootElement, bool includeData)
Type | Name | Description |
---|---|---|
ISharpGraph | sharpChartControl | |
XmlElement | rootElement | |
bool | includeData |
Reconstructs a SharpGraph object with a specified state from an XML encoding.
public static void FromXml(ISharpGraph sharpChartControl, string fileName)
Type | Name | Description |
---|---|---|
ISharpGraph | sharpChartControl | |
string | fileName | The XML file name to use to reconstruct the SharpGraph object. |
public static void FromXml(ISharpGraph sharpChartControl, string fileName, bool includeData)
Type | Name | Description |
---|---|---|
ISharpGraph | sharpChartControl | |
string | fileName | |
bool | includeData |