TColorModes

type
Data Display

Colour encoding mode for the OrigamChartHoneycomb component — selects whether cells are painted by category or by a continuous heatmap scale.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

rgb
categorical
Each hexagonal cell is painted with the intent/series colour of its category. Default mode.
heatmap
Cells are colour-interpolated along a two-stop gradient driven by the numeric value — from cold (low) to hot (high).
rgba
hsl
hsla
hex
hexa

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Honeycomb chart in heatmap colour mode

html