CHART_STACKING
enum
Chart
Stacking strategy for bar, column, and area charts — normal (absolute values) or percent (normalized to 100%).
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_STACKING.NORMAL
- Series are stacked using their raw absolute values; the Y-axis spans 0 to max(stack total).
- CHART_STACKING.PERCENT
- Each stack is normalised to 100%. The Y-axis is fixed at 0–100 and the tooltip shows both the raw value and its share.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup