charturbo - v0.1.0
    Preparing search index...

    Interface TreemapChartOptions

    interface TreemapChartOptions {
        animation?: ChartAnimationInput;
        colorBy?: "value" | "group" | "auto";
        colormap?: "sequential" | "viridis" | "magma";
        colors?: ColorInput[];
        decal?: ChartDecalInput;
        description?: string;
        format?: ChartValueFormat;
        headerHeight?: number;
        innerPadding?: number;
        label?: RichLabelOptions<HierarchyLabelContext>;
        labels?: boolean;
        legend?: boolean | ChartLegendOptions;
        maxDepth?: number;
        padding?: ChartPaddingOptions;
        rootLabel?: string;
        title?: string;
        valueLabel?: string;
    }

    Hierarchy (View Summary)

    Index

    Enter / update animation of this chart (default: the SDK setting, setAnimation); { transition: true } morphs treemap <-> sunburst by node path

    colorBy?: "value" | "group" | "auto"

    'group': palette by top-level group, groups beyond the palette fold into a neutral "Other" color; 'value': sequential colormap of the value per depth; 'auto' (default): group when the top-level groups fit the palette, else value

    colormap?: "sequential" | "viridis" | "magma"

    Colormap of colorBy: 'value' (default 'sequential')

    colors?: ColorInput[]

    Categorical palette in fixed order (default: the theme palette)

    Pattern fills over the marks (accessibility, ECharts aria.decal): true gives each top-level group its own automatic pattern; options apply over the automatic patterns (default off). Nodes override with their own decal; treemap parent headers and the sunburst center stay plain

    description?: string

    Accessible name of the canvas

    Value text of labels, tooltip, center and a11y (spec like '$,.0f', Intl options, or a function)

    headerHeight?: number

    Header strip height of parents (CSS px, default 20; 0 = none)

    innerPadding?: number

    Inner padding of parents around their children (CSS px, default 2)

    Text of the labels the engine places (rich text {style|text} runs, see chart-rich-text.ts; treemap labels clip to their cell; header strips show the first line). Default: the name (treemap: + value when it fits)

    labels?: boolean

    DOM labels where they fit (default: true)

    legend?: boolean | ChartLegendOptions

    Top-level group legend (default: shown in group color mode with 2+ groups); hover emphasizes a group

    maxDepth?: number

    Levels shown below the current root (default: all)

    Plot margins (CSS px)

    rootLabel?: string

    Name of the synthetic root above several roots (default: 'All' in the chart language)

    title?: string
    valueLabel?: string

    Tooltip / table name of the values (default: 'Value' in the chart language)