Barchart Stacked

The first chart type


barchartStacked

Breakdown of parameter options & usage, mostly the same as barchart except for the data parameter.

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