CHART_WORD_CLOUD_ROTATION

enum
Chart

Word rotation strategy for the word cloud chart — none (horizontal only), random (any angle), or orthogonal (0° and 90° only).

TypeScript

Definition

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

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

CHART_WORD_CLOUD_ROTATION.NONE
All words are rendered horizontally (0°).
CHART_WORD_CLOUD_ROTATION.RANDOM
Words are rotated at random angles.
CHART_WORD_CLOUD_ROTATION.ORTHOGONAL
Words are rendered at either 0° or 90°.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript