View as Markdown

API reference: @salmonui/charts/tree-map

TreeMapColorStopinterface

import type { TreeMapColorStop } from '@salmonui/charts/tree-map';
interface TreeMapColorStop {
    readonly value: number | string;
    readonly color: string;
}
TreeMapColorStop members (2)
NameSignatureDescription
valuereadonly value: number | string;

Range start (range), the exact value (value) or the opacity end (opacity).

colorreadonly color: string;