Skip to main content

DonutChart


Example

Props

NameTypeDefault ValueRequiredDescription
dataColors("brandPrimary" | "brandSecondary" | "brandTertiary" | "backgroundPrimary" | "backgroundSecondary" | "backgroundOverlay" | "backgroundPrimaryInverse" | "backgroundSecondaryInverse" | ... 136 more ... | "darkPink")[]No
disableAnimationbooleanNo
hideLegendbooleanNo
hideTooltipbooleanNo
dataRecord<D | C, unknown>[]Yes
categorystringYes
dataKeystringYes
tooltipFormatterValueFormatterNo

Related components