Skip to main content

BarChart


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
categoriesC[]Yes
dataKeystringYes
hideXAxisbooleanNo
hideYAxisbooleanNo
stackedbooleanNo
xAxisValueFormatterValueFormatterNo
yAxisValueFormatterValueFormatterNo

Related components