Skip to main content

BarChart


Example

Props

NameTypeDefault ValueRequiredDescription
dataColors("brandPrimary" | "brandSecondary" | "brandTertiary" | "backgroundPrimary" | "backgroundSecondary" | "backgroundOverlay" | "backgroundPrimaryInverse" | "backgroundSecondaryInverse" | ... 88 more ... | "brightPink")[]No
disableAnimationbooleanNo
hideLegendbooleanNo
hideTooltipbooleanNo
dataRecord<D | C, unknown>[]Yes
categoriesC[]Yes
dataKeystringYes
hideXAxisbooleanNo
hideYAxisbooleanNo
stackedbooleanNo
xAxisValueFormatterValueFormatterNo
yAxisValueFormatterValueFormatterNo

Related components