Lumagrid
    Preparing search index...

    Interface TreeViewProps

    Props for TreeView.

    interface TreeViewProps {
        ariaLabel?: string;
        colorField?: string;
        data: TransformedData;
        height: number;
        idField?: string;
        labelField?: string;
        onSelect?: (node: HierarchyNode) => void;
        theme: ThemeDefinition;
        valueField?: string;
        width: number;
        xField?: string;
        yField?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index
    ariaLabel?: string
    colorField?: string

    Groups rows into colored series (LineChart).

    height: number
    idField?: string

    Identifies a node (ForceGraph).

    labelField?: string

    Category or display label: bar label, line x category, pie slice label, force-graph node label.

    onSelect?: (node: HierarchyNode) => void

    Called with the node when a tree row is selected.

    valueField?: string

    Numeric measure: bar length, line y value, pie slice size, choropleth color value.

    width: number
    xField?: string

    Use valueField, labelField or idField (the mapping depends on the chart, see CHANGELOG.md). Removed in 2.0.

    yField?: string

    Use valueField, labelField or idField (the mapping depends on the chart, see CHANGELOG.md). Removed in 2.0.