TChartLegendPosition
type
Data Display
Anchor position of the legend block inside a chart — the plotting area shrinks or grows to accommodate the legend on the chosen side.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- top
- Legend rendered above the plotting area, items arranged in a horizontal row.
- bottom
- Legend rendered below the plotting area (default for most chart families), items in a horizontal row.
- left
- Legend rendered to the left of the plotting area, items stacked in a vertical column.
- right
- Legend rendered to the right of the plotting area, items stacked in a vertical column.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Chart with legend on the right side