HierarchyData MembersChart4.NET - Organization Charting Component (C#/VB.NET/ASP.NET) - Documentation
Onlinewww.Chart4.NET (Documentation) | OnlineSamples Download | Release Notes

The HierarchyData type exposes the following members.
Methods

  NameDescription
Public methodCollapseAll
Collapses all nodes in the hierarchy chart.
Public methodExpandAll
Expands all nodes in the hierarchy chart.
Public methodExpandChartUptoLevel
Expand all nodes, up to the specified level; and keep other levels collapsed.
Public methodLoadFromArray( String  )
Loads data from the given array. See example below for the desired array format.
Public methodLoadFromArray(  String   )
Loads data from the given array. See example below for the desired array format.
Public methodLoadFromCsvContent
Loads data from CSV (Comma Separated Values) content as a string.
Public methodLoadFromCsvFile
Loads data from a CSV (Comma Separated Values) file / flat file. See LoadFromCsvContent() for the desired CSV format and remarks.
Public methodLoadFromDatabase(DbConnection, String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(DbConnection, String,  String , String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(DbConnection, String, String, String, String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(String, DBMSType, String,  String , String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(String, DBMSType, String, String, String, String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(DbConnection, String, String, String, String, String, String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(String, DBMSType, String, String, String, String, String, String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDatabase(DbConnection, String, String, String, String, String, String, String, String)
Loads data from a database table. See HierarchyData class description for the table format.
Public methodLoadFromDataTable
Loads data from the given DataTable object. See example below for the desired DataTable format.
Public methodLoadFromTables
Load organization chart data from a hierarchy of linked tables. Use Table property and Add method to link tables and to add data.
Public methodLoadFromXmlContent
Loads data from XML content as a string. See LoadFromXmlFile() for the desired XML format and remarks.
Public methodLoadFromXmlFile
Loads data from an XML file. See example below for the desired Xml format.
Public methodNodeByName
Returns a node's details, given its name.
Back to Top
Properties

  NameDescription
Public propertyNodeList
Collection of all tree nodes in the chart. Accessible in the code window only.
Public propertyNodes
Collection of hierarchy nodes, for individual node access and customization. You can access individual nodes with indexer like Nodes["name"]. Methods are accessible through the code window only (not in a designer).
Public propertyNodesAll
Collection of all nodes in the chart. Accessible in the code window only.
Public propertyPhotoPath
Folder path (relative or absolute) of where the photo files are there in the system. Required, if you set PhotoSpecification as ByFileName and photo files are not in the application's root folder.
Public propertyPhotoSpecification
How the photos for chart nodes are specified in the XML/table/array format. If it is set as ByFileName, then you may want to set PhotoPath too. Default is UsePhoto_ImageList4Levels.
Public propertyTable
Collection of data tables. You can access child tables with indexer like Table["name"]. Methods are accessible through the code window only (not in a designer). See also LoadFromTables 
Public propertyTags
Collection of hierarchy nodes grouped with specified tag string, for individual node access and customization. Methods are accessible through the code window only (not in a designer).
Back to Top
See Also