Search Results for

    Show / Hide Table of Contents

    Class HierarchicalNodes

    Hierarchical Nodes.

    Inheritance
    System.Object
    System.Collections.Generic.List<HierarchicalNode>
    HierarchicalNodes
    BubbleNodes
    IcicleNodes
    SunburstNodes
    TreeMapNodes
    Namespace: FastReport.BG.Common
    Assembly: FastReport.BG.dll
    Syntax
    public class HierarchicalNodes : List<HierarchicalNode>, IList<HierarchicalNode>, ICollection<HierarchicalNode>, IList, ICollection, IReadOnlyList<HierarchicalNode>, IReadOnlyCollection<HierarchicalNode>, IEnumerable<HierarchicalNode>, IEnumerable

    Methods

    FindByRecord(HierarchicalRecord)

    Find node by record name

    Declaration
    public HierarchicalNode FindByRecord(HierarchicalRecord record)
    Parameters
    Type Name Description
    HierarchicalRecord record

    Name of record

    Returns
    Type Description
    HierarchicalNode

    If you entire correctly name of record return node

    FindByText(String)

    Find node by text

    Declaration
    public HierarchicalNode FindByText(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type Description
    HierarchicalNode

    Node

    ForChildrenBranch(Action<HierarchicalNode>)

    For Children Branch.

    Declaration
    public void ForChildrenBranch(Action<HierarchicalNode> action)
    Parameters
    Type Name Description
    System.Action<HierarchicalNode> action

    GetDepth()

    Get depth from node

    Declaration
    public int GetDepth()
    Returns
    Type Description
    System.Int32

    Return node with depth which indicated

    Max()

    Gets max value from node`s record

    Declaration
    public double Max()
    Returns
    Type Description
    System.Double

    Max value

    Sort()

    Sorting nodes by value

    Declaration
    public void Sort()

    Sum()

    Gets the sum of the values ​​of the node's record

    Declaration
    public double Sum()
    Returns
    Type Description
    System.Double

    Return sum of HierarchicalRecord

    Back to top © 2021-2022 Copyright Fast Reports Inc.