AllocationDonut
stablePortfolio allocation donut chart with segment labels and center total
import { AllocationDonut } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
allocationsreq | Allocation[] | — | Allocation segments |
totalValue | number | — | Total portfolio value |
currency | string | — | Currency code |
locale | string | — | BCP 47 locale override |
label | string | — | Chart title |
allocationsrequiredType
Allocation[]Default —Allocation segments
totalValueType
numberDefault —Total portfolio value
currencyType
stringDefault —Currency code
localeType
stringDefault —BCP 47 locale override
labelType
stringDefault —Chart title
MobileWorks As-Is
Donut chart scales with container width. Legend below the chart. Works at any viewport.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?