Barchart

The first chart type


barchart

Breakdown of parameter options & usage.

Important

Please click the small "ℹ️" for more information about parameters, as some defaults are based on the presence or absence of other parameters.

PropTypeDefault
placement?
"top" | "right" | "bottom" | "left"
-
responsive?
boolean
-
barWidth?
number
-
max?
number
-
gap?
number
-
colors?
string[]
-
labelColors?
string[]
-
gradientColors?
string[]
-
gradientMode?
LinearGradientType
-
gradientDirection?
LinearGradientDirection
-
groupClass?
string
-
parentClass?
string
-
barClass?
string
-
labelClass?
string
-
barGroupClass?
string
-
labelGroupClass?
string
-
height?
number
-
width?
number
-
data
number[]
-
labels?
BarChartLabels
-

On this page