Charts
Chart Legend
A static, wrapping legend that shares chart series colors.
idle
Usage
Examples
Team activity
Team activity
January–April 2026
Active teams in April
58
16 more than January
- Active teams
- New teams
Recommendations
| Guidance | Practice |
|---|---|
| Do | Match series names and colors to the plot. Keep legend ordering consistent across related charts. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | This legend is static. Do not imply filtering or toggling unless the application provides those controls. |
| Scope | The legend describes series; it does not toggle their visibility. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Native list | Renders a static native list with an accessible name. |
| | Required | Names the list of series. |
| | Required | Provides stable item ids, visible labels, and semantic series tones. |
| | "inline" | tiles shows each item in a surface tile with its value below the label. |
| | None | A total or current value shown with the item. |