CHART_TREEMAP_ALGORITHM
enum
Chart
Layout algorithm for the treemap chart — squarified (aspect-ratio optimized) or slice-dice (alternating horizontal/vertical splits).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- CHART_TREEMAP_ALGORITHM.SQUARIFIED
- Recursively partitions space to produce rectangles with aspect ratios as close to 1 as possible.
- CHART_TREEMAP_ALGORITHM.SLICE_DICE
- Alternates horizontal and vertical splits at each depth level.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup