www.Chart4.NET | Samples

The HierarchyWin type exposes the following members.

Constructors

  NameDescription
HierarchyWin
Initializes a new instance of the HierarchyWin class. WinForm Only.

Methods

  NameDescription
hmGetClickedNodeDetails
Returns details of the clicked node (Line Number, Node Data, Node Area, Mouse Event Arguments).
hmGetGraphics
Returns the drawing surface of the chart for custom drawing.
hmGetNodeByName
Returns a node's details, given its name.
hmGetNodeOnMouse
Returns details of the node under mouse (Line Number, Node Data, Node Area, Mouse Event Arguments).
hmGetNodeRectangleByName
Returns the position (rectangular coordinates) of a chart node within the chart.
hmGetPreview
Returns the preview control.
hmGetPreviewGraphics
Returns the drawing surface of the chart preview for custom drawing.
hmIsPreviewVisible
Returns whether the chart preview is currently shown or not.
hmToggleFullScreen
Toggle between fullscreen and normal view of the chart.
Refresh
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Overrides Control..::.Refresh()()().)

Properties

  NameDescription
hpcData
Methods collection to load data into the chart. Methods are accessible in the code window only. See HierarchyData members.
hpcSettings
Property collection of chart and node settings. See HierarchySettings members.
hpcTools
Property collection and methods for the chart, for exporting and individual node-customization. Methods are accessible in the code window only. See HierarchyTools members.
hpcToolTip
Property collection of Settings for node's tooltip. See ToolTipSettings members.
hpDataNodeCollection
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.
hpDataTree
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.
hpDataXml
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.
hpDragDropEnabled
Whether to enable users to drag and drop nodes within the chart. Default is false.
hpDragDropToChild
Whether to enable users to drag and drop nodes to its successors. Default is false.
hpEventNode
Details of the clicked node (Line Number, Node Data, Node Area, Mouse Event Arguments).
hpFullScreenVisible
Whether to show fullscreen button on right-top corner of the chart. Default is true.
hpHyperlinkBrush
Brush for hyperlink hover in hierarchy nodes. See also hpcSettings.Node_HyperlinkEnabled, hpcSettings.Node_HyperlinkEnabledList and hpcSettings.Node_HyperlinkUnderline.
hpHyperlinkCursor
Mouse-over cursor for hyperlinks in hierarchy nodes. See also hpcSettings.Node_HyperlinkEnabled, hpcSettings.Node_HyperlinkEnabledList and hpcSettings.Node_HyperlinkUnderline.
hpMenu4Chart
Context menu containing chart options to display on the chart on a user action. See Remarks section.
hpMenu4Context
Default context menu containing chart options to display on chart and a node on a user action. See Remarks section.
hpMenu4Node
Context menu containing chart options to display on a node on a user action. See Remarks section.
hpMenu4ToolStrip
Toolstrip containing chart options menu to display on top of the chart. Use ToolStrip members or designer to add/remove items in the toolstrip.
hpPreviewSize
The default extent of preview compared to chart size on a scale of 10-50. See also hpPreviewVisible. Default is 40.
hpPreviewVisible
Whether to show preview of the chart (and preview button) on right-bottom corner of the chart. See also hpPreviewSize. Default is true.
hpResizeBrush
Brush for resize borders and rectangle, on a chart resize. See also hpcSettings.Chart_Movable and hpcSettings.Chart_Resizable.
hpStatusStrip
Custom statustrip to display on bottom of the chart. Use StatusStrip members or designer to add items to the statustrip.
hpToolStrip4Left
Custom toolstrip to display on left of the chart. Use ToolStrip members or designer to add items to the toolstrip.
hpToolStrip4Top
Custom toolstrip to display on top of the chart. Use ToolStrip members or designer to add items to the toolstrip.
hpZoomByMouse
Whether to zoom-in and zoom-out the chart on mouse wheel movement. Default is true.
hpZoomMaximum
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.
hpZoomValue
Current zoom of the chart. Default is 1 (100%).
hpZoomVisible
Whether to show chart-zoom control button on right-bottom of the chart. Default is true.

Events

  NameDescription
heAfterRefresh
Occurs after the chart or preview is refreshed.
heChartClick
Occurs when the chart is clicked or right-clicked by mouse.
heChartMouseDown
Occurs when the chart is on mouse down event. Use hmGetNodeOnMouse() to get node details.
heChartMouseUp
Occurs when the chart is on mouse up event. Use hmGetNodeOnMouse() to get node details.
heNodeClick
Occurs when a node is clicked or right-clicked by mouse.
heNodeDragDropCompleted
Occurs after a node is 'drag and drop' ed on another node.
heNodeDragDropStart
Occurs before a node is 'drag and drop' ed on another node.
heNodeExpandCollapse
Occurs when a node is expanded or collapsed.
heNodeItemMouseEnter
Occurs when a node item is on mouse enter.
heNodeItemMouseLeave
Occurs when a node item is on mouse leave.
heNodeMouseEnter
Occurs when a node is on mouse enter.
heNodeMouseLeave
Occurs when a node is on mouse leave.

See Also