www.Chart4.NET (Documentation) | Samples Download | Release Notes
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Loads data from XML content as a string. See LoadFromXmlFile() for the desired XML format and remarks.
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax
Parameters
- FileContent
- Type: System String
Valid XML content.
Return Value
Returns blank if succeeded, XML validation message otherwise.Examples
string sXml = @"<chart> <settings PhotoPath='' PhotoSpecification='UsePhoto_ImageList4Levels' /> <data> <item text='Everything is Hierarchical'> <item text='How to describe?'> <item text='Table of Contents'/> </item> <item text='What to do?'/> </item> </data> </chart>";
string sResult = hierarchyWin1.hpcData.LoadFromXmlContent( sXml );
hierarchyWin1.hpcData.ExpandAll();
hierarchyWin1.Refresh();
See Also