# Interface: BarOptions
# Hierarchy
-
↳
BarOptions
# Properties
# backgroundColor
• backgroundColor: Color
# Inherited from
CommonElementOptions.backgroundColor
# Defined in
index.esm.d.ts:1643 (opens new window)
# base
• base: number
The base value for the bar in data units along the value axis.
# Defined in
index.esm.d.ts:1915 (opens new window)
# borderColor
• borderColor: Color
# Inherited from
CommonElementOptions.borderColor
# Defined in
index.esm.d.ts:1642 (opens new window)
# borderRadius
• borderRadius: number
| BorderRadius
Border radius
default
0
# Defined in
index.esm.d.ts:1927 (opens new window)
# borderSkipped
• borderSkipped: false
| "start"
| "end"
| "left"
| "right"
| "bottom"
| "top"
Skipped (excluded) border: 'start', 'end', 'left', 'right', 'bottom', 'top' or false (none).
default
'start'
# Defined in
index.esm.d.ts:1921 (opens new window)
# borderWidth
• borderWidth: number
# Inherited from
CommonElementOptions.borderWidth
# Defined in
index.esm.d.ts:1641 (opens new window)
# inflateAmount
• inflateAmount: number
| "auto"
Amount to inflate the rectangle(s). This can be used to hide artifacts between bars. Unit is pixels. 'auto' translates to 0.33 pixels when barPercentage * categoryPercentage is 1, else 0.
default
'auto'