# Interface: BarOptions

# Hierarchy

# Properties

# backgroundColor

backgroundColor: Color

# Inherited from

Omit.backgroundColor

# Defined in

types/index.d.ts:1807


# base

base: number

The base value for the bar in data units along the value axis.

# Defined in

types/index.d.ts:2080


# borderColor

borderColor: Color

# Inherited from

Omit.borderColor

# Defined in

types/index.d.ts:1806


# borderRadius

borderRadius: number | BorderRadius

Border radius

Default

0

# Defined in

types/index.d.ts:2092


# borderSkipped

borderSkipped: boolean | "end" | "start" | "left" | "top" | "bottom" | "right" | "middle"

Skipped (excluded) border: 'start', 'end', 'left', 'right', 'bottom', 'top', 'middle', false (none) or true (all).

Default

'start'

# Defined in

types/index.d.ts:2086


# borderWidth

borderWidth: number | { bottom?: number ; left?: number ; right?: number ; top?: number }

Width of the border, number for all sides, object to specify width for each side specifically

Default

0

# Defined in

types/index.d.ts:2105


# 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'

# Defined in

types/index.d.ts:2099