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

The HierarchyWin type exposes the following members.
Constructors

  NameDescription
Public methodHierarchyWin
Initializes a new instance of the HierarchyWin class. WinForm Only.
Back to Top
Methods

  NameDescription
Public methodhmGetClickedNodeDetails
Returns details of the clicked node (Line Number, Node Data, Node Area, Mouse Event Arguments).
Public methodhmGetGraphics
Returns the drawing surface of the chart for custom drawing.
Public methodhmGetNodeByName
Returns a node's details, given its name.
Public methodhmGetNodeOnMouse
Returns details of the node under mouse (Line Number, Node Data, Node Area, Mouse Event Arguments).
Public methodhmGetNodeRectangleByName
Returns the position (rectangular coordinates) of a chart node within the chart.
Public methodhmGetPreview
Returns the preview control.
Public methodhmGetPreviewGraphics
Returns the drawing surface of the chart preview for custom drawing.
Public methodhmIsPreviewVisible
Returns whether the chart preview is currently shown or not.
Public methodhmToggleFullScreen
Toggle between fullscreen and normal view of the chart.
Public methodRefresh
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Overrides OnlineControl Refresh .)
Back to Top
Properties

  NameDescription
Public propertyhpcData
Methods collection to load data into the chart. Methods are accessible in the code window only. See HierarchyData members.
Public propertyhpcLargeOrganization
Property collection of settings for large trees. See LargeOrganizationSettings members.
Public propertyhpcSettings
Property collection of chart and node settings. See HierarchySettings members.
Public propertyhpcSubChartForm
Property collection of Settings for chart's subchart forms. See HierarchySubChartForm members.
Public propertyhpcTools
Property collection and methods for the chart, for exporting and individual node-customization. Methods are accessible in the code window only. See HierarchyTools members.
Public propertyhpcToolTip
Property collection of Settings for node's tooltip. See ToolTipSettings members.
Public propertyhpcZoom
Property collection of Settings for chart's zoom slider. See HierarchyZoom members.
Public propertyhpDataNodeCollection
The tree-node collection that contains data items (nodes) together with text, title, tooltip, imageindex etc. Each line of text (the first one being the node-title) should be separated by \n in the tree-node's text property.
Public propertyhpDataTree
TreeView control or object that contains data items (nodes) together with text, title, tooltip, imageindex etc. Each line of text (the first one being the node-title) should be separated by \n in the tree-node's text property.
Public propertyhpDataXml
XML content that contains data items (nodes) together with text, title, tooltip, imageindex etc. Each line of text (the first one being the node-title) should be separated by \n in the tree-node's text property. See LoadFromXmlFile() for the desired XML format and remarks.
Public propertyhpDragDropEnabled
Whether to enable users to drag and drop nodes within the chart. Default is false.
Public propertyhpDragDropToChild
Whether to enable users to drag and drop nodes to its successors. Default is false.
Public propertyhpEventNode
Details of the clicked node (Line Number, Node Data, Node Area, Mouse Event Arguments).
Public propertyhpFullScreenVisible
Whether to show fullscreen button on right-top corner of the chart. Default is true.
Public propertyhpHyperlinkBrush
Brush for hyperlink hover in hierarchy nodes. See also hpcSettings.Node_HyperlinkEnabled, hpcSettings.Node_HyperlinkEnabledList and hpcSettings.Node_HyperlinkUnderline.
Public propertyhpHyperlinkCursor
Mouse-over cursor for hyperlinks in hierarchy nodes. See also hpcSettings.Node_HyperlinkEnabled, hpcSettings.Node_HyperlinkEnabledList and hpcSettings.Node_HyperlinkUnderline.
Public propertyhpMenu4Chart
Context menu containing chart options to display on the chart on a user action. See Remarks section.
Public propertyhpMenu4Context
Default context menu containing chart options to display on chart and a node on a user action. See Remarks section.
Public propertyhpMenu4Node
Context menu containing chart options to display on a node on a user action. See Remarks section.
Public propertyhpMenu4ToolStrip
Toolstrip containing chart options menu to display on top of the chart. Use OnlineToolStrip members or designer to add/remove items in the toolstrip.
Public propertyhpPreviewSize
The default extent of preview compared to chart size on a scale of 10-50. See also hpPreviewVisible. Default is 40.
Public propertyhpPreviewVisible
Whether to show preview of the chart (and preview button) on right-bottom corner of the chart. See also hpPreviewSize. Default is true.
Public propertyhpResizeBrush
Brush for resize borders and rectangle, on a chart resize. See also hpcSettings.Chart_Movable and hpcSettings.Chart_Resizable.
Public propertyhpStatusStrip
Custom statustrip to display on bottom of the chart. Use OnlineStatusStrip members or designer to add items to the statustrip.
Public propertyhpToolStrip4Left
Custom toolstrip to display on left of the chart. Use OnlineToolStrip members or designer to add items to the toolstrip.
Public propertyhpToolStrip4Top
Custom toolstrip to display on top of the chart. Use OnlineToolStrip members or designer to add items to the toolstrip.
Public propertyhpZoomByMouse
Whether to zoom-in and zoom-out the chart on mouse wheel movement. Default is true.
Public propertyhpZoomMaximum
Maximum extent upto which chart can be zoomed, either using zoom control or using mouse-wheel, on a scale of 10-50. Default is 30.
Public propertyhpZoomValue
Current zoom of the chart. Default is 1 (100%).
Public propertyhpZoomVisible
Whether to show chart-zoom control button on right-bottom of the chart. Default is true.
Back to Top
Events

  NameDescription
Public eventheAfterRefresh
Occurs after the chart or preview is refreshed.
Public eventheChartClick
Occurs when the chart is clicked or right-clicked by mouse.
Public eventheChartMouseDown
Occurs when the chart is on mouse down event. Use hmGetNodeOnMouse() to get node details.
Public eventheChartMouseUp
Occurs when the chart is on mouse up event. Use hmGetNodeOnMouse() to get node details.
Public eventheNodeClick
Occurs when a node is clicked or right-clicked by mouse.
Public eventheNodeDragDropCompleted
Occurs after a node is 'drag and drop' ed on another node.
Public eventheNodeDragDropStart
Occurs before a node is 'drag and drop' ed on another node.
Public eventheNodeExpandCollapse
Occurs when a node is expanded or collapsed.
Public eventheNodeItemMouseEnter
Occurs when a node item is on mouse enter.
Public eventheNodeItemMouseLeave
Occurs when a node item is on mouse leave.
Public eventheNodeMouseEnter
Occurs when a node is on mouse enter.
Public eventheNodeMouseLeave
Occurs when a node is on mouse leave.
Back to Top
See Also