MAIDR JavaScript API
    Preparing search index...

    Interface EChartsTreeNode

    One node of a hierarchy series' tree.

    Measured: getValue() answers the rolled-up sum for an interior node, so a declared value and a derived one are indistinguishable from the value alone -- see hierarchy.ts for what is done about that.

    interface EChartsTreeNode {
        name: string;
        children?: EChartsTreeNode[];
        getValue: () => number | null | undefined;
    }
    Index

    Properties

    name: string

    The node's name. The synthetic root's is the empty string.

    children?: EChartsTreeNode[]

    Its children, absent on a leaf.

    getValue: () => number | null | undefined

    Its magnitude, rolled up from the children where it has them.